Template Override for "fieldgroup.php" System Plugin?

More
5 years 6 months ago #74714 by Dave LeDev
Good thing I made a backup. Something broke tremendously. 



A text compare shows it's happening here. New code on right.



Restoring the old code removes the warnings.

Not yet tested on a server that's likely better configured than my localhost.
I installed it as a normal component without further configuration.

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

More
5 years 6 months ago #74715 by Dave LeDev
Ah, that'd do it. /plugins/flexicontent_fields/fieldgroup/tmpl/value.php isn't included in the RC.

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

More
5 years 6 months ago #74716 by Dave LeDev
Found the file in GIT and manually created it, clearing the errors. Uncertain why the file didn't include on install.
github.com/FLEXIcontent/flexicontent-cck...pl/value_default.php

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

More
5 years 6 months ago #74717 by Dave LeDev
That took an embarrassingly long time to get working due to my apparent inability to comprehend tooltips, but it works! Possible bug, however: I wasn't able to get a second layout to be recognized in the tmpl directory with the proposed value_*.php. However, the template's override directory does in fact work with value_default.php. Trying to use value_*.php fails in that directory as well. Of course, replacing the wildcard with my own name. Single, under-case words were only tested.

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

More
5 years 6 months ago - 5 years 6 months ago #74721 by ggppdk
Hello

the layout folder /tmpl/
needs to be added to the fieldgroup.xml

i ll add it now
and test if the new layout files are listed in configuration


-- 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: 5 years 6 months ago by ggppdk.

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

More
5 years 6 months ago #74722 by ggppdk
Hello

about the layout files not recognized

inside fieldgroup.xml
this
plugins/flexicontent_fields/text/tmpl

should be changed to
plugins/flexicontent_fields/fieldgroup/tmpl

i ll add this fix too


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