[com_flexicontent - template] remove fieldgroups

More
7 years 1 month 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
7 years 1 month 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...

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

More
7 years 1 month 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
7 years 1 month ago - 7 years 1 month 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...
Last edit: 7 years 1 month ago by ggppdk.

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

More
7 years 1 month ago #70199 by exstreme

ggppdk wrote: so you not only removed groups
you are also removing parameters

No, I removed only groups and becomes errors => only after I removed parametres.
Also, removed all params and clear less file - it's was helpful and hide most errors.
Remained only:
Code:
Warning: array_map() expects parameter 1 to be a valid callback, class 'lessc' does not have a method 'preg_quote' in /components/com_flexicontent/librairies/lessphp/lessc.inc.php on line 2333 Warning: implode(): Invalid arguments passed in /components/com_flexicontent/librairies/lessphp/lessc.inc.php on line 2333

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

More
7 years 1 month ago #70200 by ggppdk
Hello

you may send a PM with super admin login
and with the template name


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