This forum is for churches and ministries using Web-Empowered Church tools or packages. If you are a WEC customer, please submit a ticket. If you are reporting a bug with one of our plugins, please email us. If you are a business entity and want help that you cannot find here, please look at our services.

Notice: we are using new forum software and most messages from last 2 years were transferred. If you had an account before, please login to post a message on the forum.

Topic with no new replies

Different Icons for each tt_address table or category


Author Message
Written on: 12/10/2009
Antje Koopmann
Topic creator
registered since: 12/10/2009
Posts: 1
Hello an thanks for the great typ3 extension!

This is my first wec-map and I´ve got a small problem with the table-map. I want to show different icons in a map depending on different tt_address tables or categories like schools, doctors etc. Is that possible? To realize this I created a few icons in different colors: mm_20_red, mm_20_green... But how can I match them to a specific table or category?
Here is the link to my website: http://www.immo-mell.de/index.php?id=8.

I´m sure the answer is easy. I just can´t see it.
Written on: 12/16/2009
Christoph Koehler
registered since: 10/24/2005
Posts: 383
Antje,

Yes, it's possible. Check out the WEC Table Map. You can define a lot of different queries, each with their own icon, using TS. Look at the WEC Map docs, around page 22, for the tables.* syntax.

TYPO3.org used WEC Map for the T3Con09-Dallas directions page: t3con09-dallas.typo3.org/directions.html

Christoph
Written on: 11/24/2010
B. D.
registered since: 11/24/2010
Posts: 1
Hey there!

I got a problem with the multiple icon stuff. I tried to use this TS to configure the table map:

[code]
plugin.tx_wecmap_pi3.tables.10 {

table = tt_adress
join = JOIN tt_address_group_mm AS tta_txagg_mm ON tt_address.uid = tta_txagg_mm.uid_local

where = uid_foreign = 1

icon {
iconID = meineID
imagepath = fileadmin/icons/Archiv.png
shadowpath = fileadmin/icons/Archiv_tran.png
width = 32
height = 32
shadowWidth = 22
shadowHeight = 20
anchorX = 6
anchorY = 20
infoAnchorX = 5
infoAnchorY = 1
}
}
[/code]

Now I get this error message in the FE:

NO entry in the $TCA-array for the table "tt_adress". This means that the function enableFields() is called with an invalid table name as argument.


Has someone any idea?

Thanks alot,
Benjamin