[Must enable override param] Template override problem

More
11 years 8 months ago #35125 by jackdaniels
Hey there,

Using 2.0.1, I have some problem with template layout override. I'm trying to test different category layout from a menu using the same category/articles but it always seem to take the category template layout and not the menus. From the Category form, I expected the rules to be:

Full overriding order for category view is:
Global
Menu (1)
Category
Author (2)


My setup :
Categories:
MyRoot [template = default]
- article 1 [type = article]
- article 2 [type = article]
- article 3 [type = article]

Menus
. Category - Blog view [Category = MyRoot, selected layout override = blog]
. Category - default view [Category = MyRoot, layout override = default]

Article type
. the "Allow item layouts" list is blank, so it should apply to all templates
. "Default item layout" is set to "::default::"

The problem is that the "Category - Blog view" menu item display the default layout even if I set the override to "Blog". It only change to Blog if I change the layout into the category and then, it change it also for the other "Category default view" menu.

Am I doing something wrong?

Thanks.

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

More
11 years 8 months ago #35159 by ggppdk
In order to use to override the template layout via the parameter in menu,

you need to

1. "Enable Category Parameters" override near the top of menu parameters
2. Leave all other settings to "Use Global" , thus category view configuration will be used
3. Set the layout that you need

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
11 years 8 months ago #35219 by jackdaniels
Ahhh, got it! I saw the two "Experimental" parameters and my eyes just skipped this section:
[attachment=0:5klaree1]<!-- ia0 -->category-override.JPG<!-- ia0 -->[/attachment:5klaree1]

Working as expected, thanks again for your quick support.
Attachments:

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

More
11 years 8 months ago #35259 by micker
Think to post a review on jed

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

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

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