[solved] value separators for text fields

More
11 years 2 months ago - 11 years 2 months ago #33708 by kath
hi there,

[Question]
unless i got something wrong here - is it possible to implement into text fields with multiple values one more
FLEXI_VALUE_SEPARATOR_FRONTEND with the value ''?

[Details]
i simply want to create a list-output like so:
opentag = '<ul>'
closetag = '</ul>'
pretext = '<li>'
posttext = '</li>'
which works fine so far, except that FC renders a 'nbsp;' or a '<br>' or whatever i chose as value separator between the li's. What i need is merely ''.

thank you for your work!!
kath
Last edit: 11 years 2 months ago by kath.

Please Log in or Create an account to join the conversation.

More
11 years 2 months ago #33724 by ggppdk
I guess it make sense to have this, since it is not possible with current configuration options
i will commit this:

Search for all 'case 4:' in text.php
Code:
case 4: $separatorf = $closetag . $opentag; break;
and add after the above:
Code:
case 5: $separatorf = ''; break;

and in XML file after:
Code:
<option value="4">FLEXI_CONVERT_OPEN_CLOSE_TEXTS_TO_SEPARATOR</option>
add:
Code:
<option value="5">FLEXI_NOCHAR_EMPTY_SEPARATOR</option>


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

More
11 years 2 months ago #33726 by kath
great, thanks! :)

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.661 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline