[solved] using a specific template for an article

More
12 years 2 months ago - 12 years 2 months ago #35517 by rottenberg
Hello,

Sometime I need to use another template than the item default one.

As you told me in a older post I'm using the 'ilayout' parameter in the url of the page I want to use.

Today I have created a new template. I get the following message at the top of the page when I call the page :

Current Item Layout Template is 'auteur_liste_livres':
- This is neither the Content Type Default Template, nor does it belong to the Content Type allowed templates.
- Please correct this in the URL or in Content Type configuration.
- Using Content Type Default Template Layout: 'auteurs'


It's the 1st time I see this message. What do I need to do to use the specific template

thank you for help

best regards

Michel
Last edit: 12 years 2 months ago by rottenberg.

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

More
12 years 2 months ago #35519 by ggppdk
For minor/medium security reasons your users must be prevented from displaying items with non-authorized template layout (by using the URL)

To add the template layout to the allowed templates,
1. Edit (in backend) the Content Type of you items
2. at the top right there is a parameter "Allowed Template Layouts" , there you can select allowed templates, or select none to allow ALL

Regards


-- 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
12 years 2 months ago #35525 by rottenberg
thank you very much !

I didn't remind to activate the template for the corresponding type

best regards

Michel

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

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.333 seconds
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