- Posts: 5
- Thank you received: 1
Cloud Module problem with new jreviews SEF plugin
- tenaki
- Topic Author
- Offline
- New Member
Less
More
11 years 2 months ago #1481
by tenaki
Cloud Module problem with new jreviews SEF plugin was created by tenaki
Hi I think the 404 pages I am getting from the module are related to the new jreviews SEF so not sure where best to post it.
In short I think it is to do with the urls but not sure if there is anything I can do to correct the module and custom properties error.
The custom property menu items all work ok
www.touringtenting.co.uk/component/custo...category=content:156 etc etc s gives a 404 error now
where www.touringtenting.co.uk/campsite-types/...category=content:156 works ok
Any ideas on a fix?
In short I think it is to do with the urls but not sure if there is anything I can do to correct the module and custom properties error.
The custom property menu items all work ok
www.touringtenting.co.uk/component/custo...category=content:156 etc etc s gives a 404 error now
where www.touringtenting.co.uk/campsite-types/...category=content:156 works ok
Any ideas on a fix?
Please Log in or Create an account to join the conversation.
- andrea_4g
- Offline
- Administrator
Less
More
- Posts: 1122
- Thank you received: 163
11 years 2 months ago #1482
by andrea_4g
Replied by andrea_4g on topic Cloud Module problem with new jreviews SEF plugin
Looking at your site I'm inclined to believe that the issue is somehow related to SEF.
I noticed that the search module works and - as far as I can tell - redirects the results to a Custom Properties type menu item; that is good.
You should try to set the Itemid parameter for mod_cpcloud too.
P.S. I might be wrong, because understanding what really happens, when SEF is turned on, is more difficult. You should try to disable SEF and see if it works.
I noticed that the search module works and - as far as I can tell - redirects the results to a Custom Properties type menu item; that is good.
You should try to set the Itemid parameter for mod_cpcloud too.
P.S. I might be wrong, because understanding what really happens, when SEF is turned on, is more difficult. You should try to disable SEF and see if it works.
Please Log in or Create an account to join the conversation.
- tenaki
- Topic Author
- Offline
- New Member
Less
More
- Posts: 5
- Thank you received: 1
11 years 2 months ago - 11 years 2 months ago #1483
by tenaki
Replied by tenaki on topic Cloud Module problem with new jreviews SEF plugin
Yes it works with the jreviews plugin set to off
Thanks for your help that hasn't worked though assuming you mean to add the Itemid parameter for mod_cpcloud in you tags plugin?
Thanks for your help that hasn't worked though assuming you mean to add the Itemid parameter for mod_cpcloud in you tags plugin?
Last edit: 11 years 2 months ago by tenaki.
Please Log in or Create an account to join the conversation.
- andrea_4g
- Offline
- Administrator
Less
More
- Posts: 1122
- Thank you received: 163
11 years 2 months ago - 11 years 2 months ago #1484
by andrea_4g
Replied by andrea_4g on topic Cloud Module problem with new jreviews SEF plugin
To help you troubleshooting this issue we would like to have access to the backend to better understand what's causing the problem and how to fix it.
Could you please send us by email temporary admin credentials?
Could you please send us by email temporary admin credentials?
Last edit: 11 years 2 months ago by andrea_4g.
Please Log in or Create an account to join the conversation.
- tenaki
- Topic Author
- Offline
- New Member
Less
More
- Posts: 5
- Thank you received: 1
11 years 2 months ago #1485
by tenaki
Replied by tenaki on topic Cloud Module problem with new jreviews SEF plugin
Its ok I got the answer from jreviews after posting your reply re Itemid parameter for mod_cpcloud
This is the fix
Right, the Itemid fixes it because JReviews knows it's not a content or jreviews URL and lets Joomla handle it. Without the Itemid, JReviews sees the 'tag' segment and thinks its a JReviews URL.
You can test this fix. Edit /plugins/system/jreviews_sef/jreviews_router.php
Find these lines
Add 2 new lines so it looks like this
Thanks again for your help
This is the fix
Right, the Itemid fixes it because JReviews knows it's not a content or jreviews URL and lets Joomla handle it. Without the Itemid, JReviews sees the 'tag' segment and thinks its a JReviews URL.
You can test this fix. Edit /plugins/system/jreviews_sef/jreviews_router.php
Find these lines
Code:
// Any non-content,non-jreviews url without a menu
|| ($menu && $menu->query['option'] == 'com_content' && (!in_array($menu->query['view'],array('article','category')) || $layout == 'edit' || $task != ''))
Add 2 new lines so it looks like this
Code:
// Any non-content,non-jreviews url without a menu
|| ($menu && $menu->query['option'] == 'com_content' && (!in_array($menu->query['view'],array('article','category')) || $layout == 'edit' || $task != ''))
// Or any non-menu, non-content and non-jreviews URL
|| (self::getArrVal($segments,0) == 'component' && !in_array(self::getArrVal($segments,1),array('content','jreviews')))
Thanks again for your help
The following user(s) said Thank You: andrea_4g
Please Log in or Create an account to join the conversation.
- andrea_4g
- Offline
- Administrator
Less
More
- Posts: 1122
- Thank you received: 163
11 years 2 months ago #1486
by andrea_4g
Replied by andrea_4g on topic Cloud Module problem with new jreviews SEF plugin
Thanks for the feedback. Much appreciated.
Hopefully it'll do good to other users too.
Hopefully it'll do good to other users too.
Please Log in or Create an account to join the conversation.
Time to create page: 0.179 seconds