[com_flexicontent - template] remove fieldgroups

More
8 years 4 months ago - 8 years 4 months ago #70174 by exstreme
Removing fieldgroups in item.xml give a lot of errors by editing template:

Warning: Spoiler!


Why so?
Last edit: 8 years 4 months ago by exstreme.

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

More
8 years 4 months ago #70175 by ggppdk
Hello

why remove ?


-- 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
8 years 4 months ago #70184 by exstreme
Hello!
I create my own template - easy and with minimal functionality. I do not need so many field positions, 1-2 will suffice for me. Therefore, I do not want to overload the template with extra fields, it's more inconvenient to edit, especially in the past versions there were 4-5 positions, and now as many as 32!

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

More
8 years 4 months ago - 8 years 4 months ago #70185 by ggppdk
Hello

you can remove all positions

simply keep position 'renderonly'
Code:
<group>renderonly</group>


-- 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!
Last edit: 8 years 4 months ago by ggppdk.

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

More
8 years 4 months ago #70186 by exstreme
I kept positions:

<fieldgroups>
<group posrow="img_top">image</group>
<group posrow="img_top">top</group>
<group>description</group>
<group>renderonly</group>
</fieldgroups>

or

<fieldgroups>
<group>description</group>
<group>renderonly</group>
</fieldgroups>

or only renderonly, but becomes a lot of errors anyway:

Warning: Spoiler!

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

More
8 years 4 months ago #70187 by ggppdk
Hello

you have broken the file

restore the original file

and then only remove the groups

do not remove the less files entries , etc


-- 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
8 years 4 months ago #70189 by exstreme
Which file? I don't delete or modify any system file. I only copy files in template folder, rename as my template and edit item.xml
What I do wrong?

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

More
8 years 4 months ago #70190 by ggppdk

What I do wrong?


You should remove only the rows

<group>... </group>


and set it like this:

<fieldgroups>
<group>description</group>
<group>renderonly</group>
</fieldgroups>


if you message for less files missing probably you deleted more rows

1. so copy the content of the original
item.xml
and
category.xml

2. check that it is now working

3. remove the group rows

if you have delete the less files restore them !
and if you do not need something in them make the empty
note if you have syntax error in the less file then you will see warnings


-- 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
8 years 4 months ago #70192 by exstreme
I removed only <group>... </group> rows and became warnings and notices.
Trying remove fields in attribs - don't help too:
Code:
<field name="subtitle_tabs_grp" type="separator" default="SubTitle Tabs" description="" level="level2" /> <field name="subtitle_tab1_label" type="text" default="" label="Label for Tab 1" description="The text for this label is filter via JText (you can add to your ini language files)" /> <field name="subtitle_tab2_label" type="text" default="" label="Label for Tab 2" description="The text for this label is filter via JText (you can add to your ini language files)" /> <field name="subtitle_tab3_label" type="text" default="" label="Label for Tab 3" description="The text for this label is filter via JText (you can add to your ini language files)" /> <field name="subtitle_tab4_label" type="text" default="" label="Label for Tab 4" description="The text for this label is filter via JText (you can add to your ini language files)" /> <field name="subtitle_tab5_label" type="text" default="" label="Label for Tab 5" description="The text for this label is filter via JText (you can add to your ini language files)" /> <field name="subtitle_tab6_label" type="text" default="" label="Label for Tab 6" description="The text for this label is filter via JText (you can add to your ini language files)" /> <field name="subtitle_tab7_label" type="text" default="" label="Label for Tab 7" description="The text for this label is filter via JText (you can add to your ini language files)" /> <field name="subtitle_tab8_label" type="text" default="" label="Label for Tab 8" description="The text for this label is filter via JText (you can add to your ini language files)" /> <field name="subtitle_tab9_label" type="text" default="" label="Label for Tab 9" description="The text for this label is filter via JText (you can add to your ini language files)" /> <field name="subtitle_tab10_label" type="text" default="" label="Label for Tab 10" description="The text for this label is filter via JText (you can add to your ini language files)" /> <field name="subtitle_tab11_label" type="text" default="" label="Label for Tab 11" description="The text for this label is filter via JText (you can add to your ini language files)" /> <field name="subtitle_tab12_label" type="text" default="" label="Label for Tab 12" description="The text for this label is filter via JText (you can add to your ini language files)" /> <field name="bottom_tabs_grp" type="separator" default="Bottom Tabs" description="" level="level2" /> <field name="bottom_tab1_label" type="text" default="" label="Label for Tab 1" description="The text for this label is filter via JText (you can add to your ini language files)" /> <field name="bottom_tab2_label" type="text" default="" label="Label for Tab 2" description="The text for this label is filter via JText (you can add to your ini language files)" /> <field name="bottom_tab3_label" type="text" default="" label="Label for Tab 3" description="The text for this label is filter via JText (you can add to your ini language files)" /> <field name="bottom_tab4_label" type="text" default="" label="Label for Tab 4" description="The text for this label is filter via JText (you can add to your ini language files)" /> <field name="bottom_tab5_label" type="text" default="" label="Label for Tab 5" description="The text for this label is filter via JText (you can add to your ini language files)" /> <field name="bottom_tab6_label" type="text" default="" label="Label for Tab 6" description="The text for this label is filter via JText (you can add to your ini language files)" /> <field name="bottom_tab7_label" type="text" default="" label="Label for Tab 7" description="The text for this label is filter via JText (you can add to your ini language files)" /> <field name="bottom_tab8_label" type="text" default="" label="Label for Tab 8" description="The text for this label is filter via JText (you can add to your ini language files)" /> <field name="bottom_tab9_label" type="text" default="" label="Label for Tab 9" description="The text for this label is filter via JText (you can add to your ini language files)" /> <field name="bottom_tab10_label" type="text" default="" label="Label for Tab 10" description="The text for this label is filter via JText (you can add to your ini language files)" /> <field name="bottom_tab11_label" type="text" default="" label="Label for Tab 11" description="The text for this label is filter via JText (you can add to your ini language files)" /> <field name="bottom_tab12_label" type="text" default="" label="Label for Tab 12" description="The text for this label is filter via JText (you can add to your ini language files)" /> <field name="templatehtmlmode" type="separator" default="FLEXI_TEMPLATE_HTML_MODE" level="level2" />

Once again, I don't modified or deleted any files from template or core else item.php and item.xml
Don't think that problem in wrong syntax
Warnings are shown only after I deleted some positions.

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

More
8 years 4 months ago - 8 years 4 months ago #70193 by ggppdk
Hello

so you not only removed groups
you are also removing parameters

ok,
if you remove parameter that have:
Code:
cssprep="less"

then you also need to remove them from the less file

e.g. in category.xml removing
Code:
<field name="title_color" type="color" cssprep="less" default="inherit" label="Title color" description="Color of title" />

then must also remove all ocurrence of @FCC_title_color from the category.less file
e.g. remove
Code:
color:@FCC_title_color;


-- 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!
Last edit: 8 years 4 months ago by ggppdk.

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