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

info bubble: www not displayed


Author Message
Written on: 02/11/2010
Josef Spitzlberger
Topic creator
registered since: 02/11/2010
Posts: 4
Hi,

the stored www from tt_address is not displayed in the info bubble. Here is the TS Code:

# Strasse etc. entfernen aus Bubble
plugin.tx_wecmap_pi3.defaultdescription.10.10 >
plugin.tx_wecmap_pi3.defaultdescription.10.20 >
plugin.tx_wecmap_pi3.defaultdescription.10.30 >
plugin.tx_wecmap_pi3.defaultdescription.10.40 >

plugin.tx_wecmap_pi3.defaultdescription.10 {
10 = TEXT
10.field = www
10.typolink.parameter.field = www
10.typolink.wrap = Website:  | <br/>
10.typolink.extTarget = _blank
}


What's wrong?

Thanks a lot for any help

Regards

Josef
Written on: 02/11/2010
Christoph Koehler
registered since: 10/24/2005
Posts: 383
Josef,

Try changing the description, not the defaultdescription. See this thread here: webempoweredchurch.com/support/community/forum/single_thread/ministry-tools/map-extension/info-bubble-phone-number/

Just change phone to www. That should point you in the right direction!

Christoph
Written on: 02/15/2010
Josef Spitzlberger
Topic creator
registered since: 02/11/2010
Posts: 4
Hi Christoph,

thanks for your answer. But it doesn't work as expected.

My TS is now:
####################################
# Googlemaps (WEC_MAP)
####################################
plugin.tx_wecmap_pi3.marker {
title = COA
title {
10 = TEXT
10.field = name
10.wrap = <h1>|</h1>
}

description >
description = COA
description {
10 = COA
10 {
10 = TEXT
10.field = www
10.typolink.parameter.field = www
10.typolink.wrap = Panorama:  | <br/>
10.typolink.extTarget = _blank
20 = TEXT
20.field = city
20.wrap = | <br/>
30 = TEXT
30.field = zip
30.wrap = | <br/>
}
}
}


if all is working, I will delete the sections 20 an 30 because I only need the Weblink.

I've included the static templates WEC Map API and WEC Table Map.

The result is the following:
http://www.spitzlberger.de/fileadmin/extern/img/wec_map.jpg

I don't understand why there is listed the address field. The field www in tt_address is filled with a correct content.

Thanks in advance for any help ..

Regards
Josef
Written on: 02/15/2010
Christoph Koehler
registered since: 10/24/2005
Posts: 383
Josef,

Unlike pi2, pi3 doesn't have the "marker" part. So try:
[code]plugin.tx_wecmap_pi3 {[/code]

instead of:
[code]plugin.tx_wecmap_pi3.marker {[/code]
in your code above.

Christoph
Written on: 02/16/2010
Josef Spitzlberger
Topic creator
registered since: 02/11/2010
Posts: 4
Thanks a lot, Christoph!
It is working now!

Now I've two further questions: icon_lol.gif

1. My URL is very long. I get only a part of it in the link:

my URL:
http://www.schloesser-bayern.com/fileadmin/sites/schlbay/pano/obay/schl-sns/pano.html?pano=eg/R049/pano.xml

I only got:
http://www.schloesser-bayern.com/fileadmin/schlbay/pano/obay/schl-sns/pano.html?


Is there any possibility to change that behaviour?

2. Formating of the Link:

I got the following html-code:

<h1>Neues Schloss Schleißheim </h1>
Website: 
<a href="http://www.schloesser-bayern.com/fileadmin/schlbay/pano/obay/schl-sns/pano.html"
target="_blank">
http://www.schloesser-bayern.com/fileadmin/schlbay/pano/obay/schl-sns/pano.html
</a>
<br/>Oberschleißheim<br/>85764<br/>



How should the TS code be noted, if I want to get the following code

<h1>Neues Schloss Schleißheim </h1>

<a href="http://www.schloesser-bayern.com/fileadmin/schlbay/pano/obay/schl-sns/pano.html"
target="_blank">
Panorama starten
</a>
<br/>Oberschleißheim<br/>85764<br/>



Thanks a lot in advance

Regards

Josef
Written on: 02/16/2010
Josef Spitzlberger
Topic creator
registered since: 02/11/2010
Posts: 4
Hi,

Question 2 is now solved by my own :idea: icon_biggrin.gif

description >
description = COA
description {
10 = COA
10 {
10 = TEXT
10.field = www
10.wrap = <br/><a href='|' target='_blank'>virtuellen Rundgang starten</a> <br/>
}
}


Answers for my question 1 ??

Thanks
Josef
Written on: 03/26/2010
Christoph Koehler
registered since: 10/24/2005
Posts: 383
Josef,

You could try a redirect and link to that. All the link stuff is processed in TS, so that's a question for a TS expert. I'm afraid I don't know how to get that working. Try the TYPO3 mailing list or IRC channel.

Christoph