- Posts: 49
- Thank you received: 0
cp menu search results to a certain template
- sa
- Topic Author
- Offline
- Senior Member
Less
More
9 years 3 months ago #2276
by sa
cp menu search results to a certain template was created 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.
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.
- andrea_4g
- Offline
- Administrator
Less
More
- Posts: 1122
- Thank you received: 163
9 years 3 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.
- 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.
- sa
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 49
- Thank you received: 0
9 years 3 months ago #2279
by sa
Replied by sa on topic cp menu search results to a certain template
awesome. you're the man!
Please Log in or Create an account to join the conversation.
Time to create page: 0.155 seconds