problem with category

More
11 years 11 months ago #31659 by rottenberg
Replied by rottenberg on topic problem with category
before creating a mess I need some explanation or confirmation.

presently when I am in category management I get in the category template select field : all templates which are in the template management
and after I get the parameters for all templates which seem to be Flexicontent 2. (quizzcategories, blog, default, faq, item_tabbed, old__blog, old_default, old__faq, old__presentation, presentation)

Quizzcategorie is the template I have created from blog template yesterday and I have been obliged to copy the directory content of another site to get a valid image in the public access.

All my other templates which I think are default model don't appear in the parameters column.

If I change the XML category file for those templates
will I get only the chosen template parameters and not
all FC 2 templates parameters ?

___________________

I want also to be sure of what I need to do with XML FILES

A default type template for my FC 1.5 contains this :
Code:
<?xml version="1.0" encoding="utf-8"?> <metadata> <author>Emmanuel Danan</author> <website>www.flexicontent.org</website> <email>emmanuel@vistamedia.fr</email> <license>GPLv2</license> <version>1.1</version> <release>25 november 2009</release> <description>This layout presents category items in a table. Each field put in the table position will be rendered as a column</description> <params addpath="/administrator/components/com_flexicontent/elements"> </params> <fieldgroups> <group>table</group> </fieldgroups> <csscategory> <file>css/category.css</file> </csscategory> <jscategory> </jscategory> </metadata>

do I need to remplace the XML file by this :
Code:
<?xml version="1.0" encoding="utf-8"?> <form> <author>Emmanuel Danan</author> <website>www.flexicontent.org</website> <email>emmanuel@vistamedia.fr</email> <license>GPLv2</license> <version>1.1</version> <release>25 november 2009</release> <description>This HTML5 layout presents category items in a table. Each field put in the table position will be rendered as a column</description> <fields name="attribs"> <fieldset name="attribs" addfieldpath="/administrator/components/com_flexicontent/elements"> <field name="show_field_labels_row" type="list" default="1" label="FLEXI_SHOW_LABELS_ROW" description="FLEXI_SHOW_LABELS_ROW_DESC"> <option value="">FLEXI_USE_GLOBAL</option> <option value="0">FLEXI_NO</option> <option value="1">FLEXI_YES</option> </field> <field name="templatehtmlmode" type="separator" hr="false" default="FLEXI_TEMPALTE_HTML_MODE" level="level2" menu="hide" /> <field name="htmlmode" type="list" default="0" label="FLEXI_HTML_MODE" description="FLEXI_HTML_MODE_DESC" filter="int"> <option value="0">FLEXI_XHTML</option> <option value="1">FLEXI_HTML5</option> </field> </fieldset> </fields> <fieldgroups> <group>table</group> <group>renderonly</group> </fieldgroups> <csscategory> <file>css/category.css</file> </csscategory> <jscategory> </jscategory> </form>

thank you for explanation
best regards
Michel

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

More
11 years 11 months ago #31661 by ggppdk
Replied by ggppdk on topic problem with category


-- 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 11 months ago #31666 by rottenberg
Replied by rottenberg on topic problem with category
thank you

on an item xml
I have
Code:
<params>...</params>

How do I need to change it ?

tnank you for help
best regards
Michel

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

More
11 years 11 months ago #31668 by ggppdk
Replied by ggppdk on topic problem with category
It is what the FAQ article says,
same as for:
Code:
<params addpath="/administrator/components/com_flexicontent/elements"> ... </params>
with
Code:
<fields name="attribs"> <fieldset name="attribs" addfieldpath="/administrator/components/com_flexicontent/elements"> ... </fieldset> </fields>

just in your case you do not have parameter:
addpath="/administrator/components/com_flexicontent/elements"


-- 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 11 months ago #31670 by rottenberg
Replied by rottenberg on topic problem with category
so I do
Code:
<params> ... </params>

is to be replaced by
Code:
<fields name="attribs"> <fieldset name="attribs"> ... </fieldset> </fields>

Just to be sure the the parameters are to be suppressed from both sides

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

More
11 years 11 months ago #31672 by ggppdk
Replied by ggppdk on topic problem with category
The parameter :
addfieldpath="/administrator/components/com_flexicontent/elements"

if for defining a folder to use FLEXIcontent custom made form element parameters , e.g. "select flexi field"

currently your template does not use or need them


-- 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.

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