Setting Menu for Searches???

  • Zimp
  • Autore della discussione
  • Offline
  • Nuovo Utente
  • Nuovo Utente
Di più
13 Anni 1 Mese fa #82 da Zimp
Setting Menu for Searches??? è stato creato da 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!

Si prega Accesso o Crea un account a partecipare alla conversazione.

Di più
13 Anni 1 Mese fa #84 da andrea_4g
Risposta da andrea_4g al 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.

Si prega Accesso o Crea un account a partecipare alla conversazione.

Tempo creazione pagina: 0.116 secondi