[com_flexicontent - template] remove fieldgroups

More
8 years 5 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 5 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 5 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 5 months ago - 8 years 5 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 5 months ago by ggppdk.

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

More
8 years 5 months 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
8 years 5 months 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 review. Thanks!

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

More
8 years 5 months ago #70203 by exstreme
Hello!
I think problem is solved, I can hide this warnings by configuration.
If u want to check problem, I can send archive with template or akeeba backup archive.

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

More
8 years 5 months ago #70205 by ggppdk
Hello

probably
- you modified 2 templates and the warning comes from changes you have made to the other

better recreate all template that you have modified
clear cache once
and modify them in little steps


-- 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 5 months ago #70303 by exstreme
Oh, problem wasn't solved, there are errors displaying in front and back - it isn't good.
Why can't You do some little changes to reproduce the problem?
0) Max error displaying
1) Duplicate template
2) edit item.xml - remove some positions
3) Go to Templates - edit template ( /index.php?option=com_flexicontent&view=template&type=items&folder=%yourtemplatename%

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

More
8 years 5 months ago #70306 by ggppdk
You have made some changes that broke some XML files

there are users of FLEXIcontent that have 50 or 100 custom templates

Please understand that there is no bug to fix
and that some TAGs in the XML are required
and that the syntax needs to be proper

you may send me a PM to review this (if you believe that there is a bug)

please delete all custom templates that are broken and only provide a single template that shows the issue that you want to report


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

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