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

No rendering with breaks in name fields


Author Message
Written on: 05/17/2010
Deleted user Hi,
There is a problem with rendering of multi-row name fields if a break is therein. The map will not rendered then.

Background:
I use wec_map with cal and tt_address. Unfortunately only the field “name” of tt_address will rendered. This is too little in case of long or multi part names.
I know I can use additionally another fields as marker in cal (e.i. last_name or first_name), but they have not stdWrap-function. That means I must set a div around the marker hardcoded in template. And so this div will always rendered and produced an empty row even if I want only one field sometimes.

So I changed the TCA for the field last_name in tt_address to type “text” and I can very flexible input text with breaks. That works fine in cal but only wec_map makes problems in this case (but only in this case!).

I don’t understand this. The street, zip and city are enough to render the geo-data in the map. What have the name fields to do with this? However the breaks in the table fields of name cause a problem.
In TypoScript I would use stripHtml to remove the breaks. But I don’t know what I can do in the php code. Please help me.
(I use the actual versions of TYPO3 and all extensions.)
Written on: 06/11/2010
Christoph Koehler
registered since: 10/24/2005
Posts: 383
Not sure what the problem is there. Got a site I can look at?