- Posts: 1122
- Thank you received: 163
Modules disappear on search results page.
- andrea_4g
- Offline
- Administrator
Less
More
12 years 10 months ago #444
by andrea_4g
It can be made dynamic. The "our-resources/" part you are adding is derived from Itemid. There are several parameters in Custom Properties that effects Itemid:
- Component configuration:
- Use Itemid: None: do not append Itemid to URL. Current Page: append current page's Itemid.
- mod_cpsearch, mod_cpcloud, mod_cpmenu
- Itemid: force the use of a specific Itemid, thus controlling the landing page of the results
- CPtags plugin:
- Itemid: force the use of a specific Itemid on tags displayed in content element
I suggest you to try configuring your site - in respect of this subject - with SEF turned off, as to see the actual Itemid being appended to the urls.
Replied by andrea_4g on topic Re: Modules disappear on search results page.
The real solution would be to make this info dynamic according the URL of the page where the CP search module resides.
It can be made dynamic. The "our-resources/" part you are adding is derived from Itemid. There are several parameters in Custom Properties that effects Itemid:
- Component configuration:
- Use Itemid: None: do not append Itemid to URL. Current Page: append current page's Itemid.
- mod_cpsearch, mod_cpcloud, mod_cpmenu
- Itemid: force the use of a specific Itemid, thus controlling the landing page of the results
- CPtags plugin:
- Itemid: force the use of a specific Itemid on tags displayed in content element
I suggest you to try configuring your site - in respect of this subject - with SEF turned off, as to see the actual Itemid being appended to the urls.
The problem is that there can be *many* CP search modules.the URL of the page where the CP search module resides.
We believe is not responsibility of this component to control module placement. Others migth find such a behaviour too intrusive and limiting. We purposedly used the API's ContentHelperRoute::getArticleRoute to let Joomla return the proper link for an article.This component should be written in such a way that the results pages have the same modules as the search page.
Please Log in or Create an account to join the conversation.
- andrea_4g
- Offline
- Administrator
Less
More
- Posts: 1122
- Thank you received: 163
12 years 10 months ago #445
by andrea_4g
I realize that with SEF turned off the site works fine (see first post).
This further proves my point that the problem is not CP per se, but it's the way Joomla translates Itemid when SEF is turned on. And we only have so much control on that.
Replied by andrea_4g on topic Re: Modules disappear on search results page.
I suggest you to try configuring your site - in respect of this subject - with SEF turned off, as to see the actual Itemid being appended to the urls.
I realize that with SEF turned off the site works fine (see first post).
This further proves my point that the problem is not CP per se, but it's the way Joomla translates Itemid when SEF is turned on. And we only have so much control on that.
Please Log in or Create an account to join the conversation.
Time to create page: 0.155 seconds