- Posts: 1
- Thank you received: 0
Setting Menu for Searches???
- Zimp
- Topic Author
- Offline
- New Member
Less
More
13 years 2 months ago #82
by Zimp
Setting Menu for Searches??? was created by Zimp
Great component and extensions! I will consider purchasing the paid version if I can get an explanation for this major problem I have with the free version. Essentially, all pages derived from searches (or by clicking a tag) are run under the "Home" menu and take all the extensions set only to be published on that menu option with it. Of course, this cannot work. How can I set the "Menu page" that Custom Properties is based on?
Let me know as soon as possible, thanks!
Let me know as soon as possible, thanks!
Please Log in or Create an account to join the conversation.
- andrea_4g
- Offline
- Administrator
Less
More
- Posts: 1122
- Thank you received: 163
13 years 2 months ago #84
by andrea_4g
Replied by andrea_4g on topic Re: Setting Menu for Searches???
Thanks for the compliments.
What you are reporting is a typical Itemid management issue. By default CP redirects all search results to the current page, so, what you are describing is basically a correct behavior.
Anyway search results can be directed to a different page (menu item is wold be a more appropriate term). The actual way to do that can differ slightly from installation to installation because of SEF / non-SEF / 3rd party SEF, mod_rewrite combination.
A procedure that works most of the time is:
- Create a menu item of Custom Properties type
- Take note of the numeric id of the menu item
- Edit module (cpsearch / cpcloud) parameters and set Itemid parameter to the previously noted meu item id
- Assign your set of modules to both the originating page (i.e. Home) and the destination page (newly created menu item)
- Done
Note1: Under some circumstance you my need to change parameter 'Use Itemid:' in Custom Properties configuration, from 'None' to 'Current Page' or vice-versa.
Note2: the newly created menu item could belong to an hidden menu
Note3: in some non-SEF environments you could do without creating a dedicated CP type menu item, and set Itemid parameter of your module to an existing menu item of other kind.
What you are reporting is a typical Itemid management issue. By default CP redirects all search results to the current page, so, what you are describing is basically a correct behavior.
Anyway search results can be directed to a different page (menu item is wold be a more appropriate term). The actual way to do that can differ slightly from installation to installation because of SEF / non-SEF / 3rd party SEF, mod_rewrite combination.
A procedure that works most of the time is:
- Create a menu item of Custom Properties type
- Take note of the numeric id of the menu item
- Edit module (cpsearch / cpcloud) parameters and set Itemid parameter to the previously noted meu item id
- Assign your set of modules to both the originating page (i.e. Home) and the destination page (newly created menu item)
- Done
Note1: Under some circumstance you my need to change parameter 'Use Itemid:' in Custom Properties configuration, from 'None' to 'Current Page' or vice-versa.
Note2: the newly created menu item could belong to an hidden menu
Note3: in some non-SEF environments you could do without creating a dedicated CP type menu item, and set Itemid parameter of your module to an existing menu item of other kind.
Please Log in or Create an account to join the conversation.
Time to create page: 0.440 seconds