item parameter is not being saved [solved]

More
12 years 7 months ago #23908 by hede
In Templates I made a copy of the "default" template and added a new parameter in the item.xml like this:
Code:
<field name="item_colspread" type="list" default="one" label="Columns" description="How many columns ..."> <option value="">Use Global</option> <option value="one">FLEXI_1_COL</option> <option value="two">FLEXI_2_COLS</option> <option value="three">FLEXI_3_COLS</option> <option value="four">FLEXI_4_COLS</option> </field>
The parameter shows up fine when applying this new tempalte to an item. But on saving the item this new parameter always gets set back to its default value. What did I miss? Thanks.

Update: even in the core template "default" the Parameters: default values are set back to their default values upon saving.

FF on Win10, FLEXIcontent version 3.0.10 on Joomla 3.4

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

More
12 years 7 months ago #23990 by ggppdk
I fixed this issue with template parameters for both frontend and backend, and it was a real pain.

2 workaround had to be implemented for J1.6-J2.5 :

-- one for saving, (the J1.6+ form validation removed them when saving)
-- and one for load the values, into the form since again J1.6+ changed the way Parameters are rendered

... wait for next revision within weekend (also i deleted a duplicate thread of yours)


-- 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 7 months ago #23993 by hede
Thanks, sounds good. Maybe that solves the problems I face with retrieving my parameters from custom layouts as well.

FF on Win10, FLEXIcontent version 3.0.10 on Joomla 3.4

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

More
12 years 7 months ago #24037 by ggppdk
Get the latest fixed version here:
code.google.com/p/flexicontent/downloads/list


-- 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 7 months ago #24088 by hede
Thank you for the update. Now the parameters are in the best shape ever!

FF on Win10, FLEXIcontent version 3.0.10 on Joomla 3.4

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

More
12 years 7 months ago #24093 by micker
cool

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

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

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.596 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