About creating a new FLEXIcontent Template (item / category layouts)

More
5 years 11 months ago - 5 years 11 months ago #73002 by mauriciocgpereira@gmail.com
Followed the tutorial Micker recommended to do a template override.

So I created a new template, called biblioteca, and edited the xml file, to include positions, and also the item.php file to display them as I want. But I noticed that although I changed the item.php file it still loads the modular.php file ignoring the changes I made forcing me to do the changes in the modular.php file.

Is it like this, or something weird is happening?

Thanks
Last edit: 5 years 11 months ago by ggppdk.

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

More
5 years 11 months ago #73009 by ggppdk
Hello

please see the comment inside the file

you are supposed to copy the contents of the "modular.php" inside your item.php

- and then customize it to use the new position names inside the PHP code


-- 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
5 years 11 months ago #73014 by mauriciocgpereira@gmail.com
yes, that's what I do, but still it ignores them.
I can leave item.php only with a <p>Hello</p> that it still reads the modular.php file and ignores the changes made in item.php.

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

More
5 years 11 months ago #73025 by ggppdk
Hello

if you have enabled HTML5 mode in parameters
then
item_html5.php
is loadeded

modify both
item.php
item_html5.php


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