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

problem with typolink to tt_news article


Author Message
Written on: 02/17/2011
Dominic Garms
Topic creator
registered since: 02/17/2011
Posts: 2
Hello,
I just found out how perfect this extension is icon_eek.gif I connected easily tt_news with wec_map and all news with records shows up on the map. I wanna link the title of each Info Bubble but here I just got stuck. Here is my typoscript
[code]config {
#These settings are needed for proper rendering of map
xhtml_cleaning = 0
}
plugin.tx_wecmap_pi3{
tables.10{
table = tt_news
select = uid,title,short,image
where = uid_foreign=20
join = INNER JOIN tt_news_cat_mm ON uid_local = uid
title = COA
title{
10 = TEXT
10.field = title
10.insertData = true
10.typolink.parameter = 441
10.typolink.additionalParams = &tx_ttnews[tt_news] = {field:uid}
10.wrap = |
}
}
}[/code]
In the output it shows {field:uid} instead of the uid of the newsId. What did I miss? Hope for any hint
Regards,
Dominic

[This article was edited 1 times, at last 17.02.2011 at 01:42.]
Written on: 02/22/2011
Dominic Garms
Topic creator
registered since: 02/17/2011
Posts: 2
"Dominic Garms" wrote:

Hello,
I just found out how perfect this extension is icon_eek.gif I connected easily tt_news with wec_map and all news with records shows up on the map. I wanna link the title of each Info Bubble but here I just got stuck. Here is my typoscript
[code]config {
#These settings are needed for proper rendering of map
xhtml_cleaning = 0
}
plugin.tx_wecmap_pi3{
tables.10{
table = tt_news
select = uid,title,short,image
where = uid_foreign=20
join = INNER JOIN tt_news_cat_mm ON uid_local = uid
title = COA
title{
10 = TEXT
10.field = title
10.insertData = true
10.typolink.parameter = 441
10.typolink.additionalParams = &tx_ttnews[tt_news] = {field:uid}
10.wrap = |
}
}
}[/code]
In the output it shows {field:uid} instead of the uid of the newsId. What did I miss? Hope for any hint
Regards,
Dominic


title.10.typolink.additionalParams.insertData = true was missing...

Cheers