opening&closing text not working on date field

More
12 years 4 months ago #32908 by brandonking
Hello,

Opening&closing text are not working on date field.
I am using r1601.

Regards,
Brandon

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

More
12 years 4 months ago #32911 by ggppdk
This, was fixed after r1601, at r1629

PS: these are new parameters for the date that were added a couple of months ago, but forgot to use them inside the code.

To use fix now , at the end onDisplayFieldValue() {...}
after:
Code:
if ( !$field->{$prop} && $show_no_value ) $field->{$prop} = JText::_($no_value_msg);
add:
Code:
else $field->{$prop} = $opentag . $field->{$prop} . $closetag;


-- 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
12 years 4 months ago #32913 by brandonking
Thank you very much and I will try it right now. :D

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

More
12 years 4 months ago #32914 by brandonking
That works great.
One more question is that I can not use braces {} in opening&closing text.

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

More
12 years 4 months ago #32915 by ggppdk
Hello,
i have just tested and you can, if they do not appear then it must be the fault of some Joomla content or system plugin


-- 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
12 years 4 months ago #32918 by rottenberg
Hello,
I have also the same type of problem :

When in the 'Opening/Closing' text for Field I use some text with brace (ex:{loremipsum}) all options of the field are lost where registring the field edit. (mandatory, multivalue...)

If I use [] ([loremipsum]) no problem it's working normally.

In the Prefix/suffix text of every value I can use braces {} without any problem.

The field where I have got the problem is a text field.


the Flexicontent version is the RC9b 1601.


best regards

Michel

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

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.910 seconds
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
Save