opening&closing text not working on date field

More
13 years 2 weeks 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
13 years 2 weeks 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 review. Thanks!

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

More
13 years 2 weeks 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
13 years 2 weeks 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
13 years 2 weeks 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 review. Thanks!

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

More
13 years 2 weeks 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.

More
13 years 2 weeks ago #32921 by ggppdk
Hello,

-- Joomla is responsible for saving the parameter, (there some character that may have trouble being saved these are the slashes)

I tested with your text in both J1.5 and J2.5 and it is being saved

-- What you described, must be related to some 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 review. Thanks!

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

More
13 years 2 weeks ago #32922 by rottenberg
for me it's not a hard problem. As ling as I can use '[]' in the opening/closing text field...

Just strange I can use in 'prefix/suffix text field' and not in opening/closing text field.

best regards

Michel

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

More
13 years 2 weeks ago #32924 by brandonking
I have tested it by disabling all of nonumbers plugins but still can't use braces.
Regards
Brandon

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

More
13 years 2 weeks ago #32925 by brandonking
I could use braces in textarea field without any problem. :(

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

Moderators: vistamediajoomlacornerggppdk
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