cp menu search results to a certain template

More
8 years 8 months ago #2276 by sa
hi Andrea,

I'm using two templates on one website. on one page assigned to a non-default template, i've put a cp menu.
the problem is when i click on a menu link, the search results load with the default template.

do you know how to specify which template is used for cp menu results?

thanks a lot.

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

More
8 years 8 months ago #2277 by andrea_4g
Replied by andrea_4g on topic cp menu search results to a certain template
You can follow this procedure:

- Create a new menu.
- Let's call it "hidden"
- Add a menu item of type Custom Properties view = default.
- Name it with something meaningful, because it will show up in the URL (eg "advanced search")
- Save and take note of the Itemid of that menu item.
- Edit the cpmenu module (or the cpcloud module)
- Set the Itemid param to the previously noted Itemid
- Assign the module it to two pages : the one you want to search from, and the new "advanced search" page

Note: you need to assign the non-default template to the "hidden" menu item too.

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

More
8 years 8 months ago #2279 by sa
awesome. you're the man!

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

Time to create page: 0.159 seconds