Using sh404SEF with JReviews

From JReviews Documentation
Revision as of 21:27, 9 November 2009 by Jreviews (Talk | contribs) (Created page with '#Make sure you have Joomla Core SEF URLs already working, read: Using Joomla Core SEF #Enable sh404sef #Make sure in the sh404sef configuration, "By Components" tab, you have…')

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
  1. Make sure you have Joomla Core SEF URLs already working, read: Using Joomla Core SEF
  2. Enable sh404sef
  3. Make sure in the sh404sef configuration, "By Components" tab, you have the "use sh404sef plugin if available" option selected for JReviews. For older versions of sh404sef the option is "override sef_ext file".
  4. In the sh404sef configuration, Advanced tab, change the "rewriting mode" to "with .htaccess (mod_rewrite)". You need to be running sh404sef in extended mode in order to see the Advanced tab.
  5. Make sure ALL your jReviews menus are set to public access. Otherwise Joomla will find the menus with the maximum access when an Itemid is not specified and it will result in a non-authorized access message. This will prevent many links in jReviews from working and it will also break the ajax functionality. If you want to hide a menu link then you need to set the module for the menu to registered/special access, not the menu link itself. To control access to jReviews actions you should use the Access Settings menu in jReviews.
  6. You should not name any of your menus or sections "reviews" or you can end up with 404 error pages or listing urls always taking you back to the section/category list page. The jReviews plugin for sh404sef prepends a segment to the jReviews urls so all urls start with /reviews. If you want to change the /reviews segment to something else you can edit the com_jreviews.php plugin in /components/com_jreviews/sef_ext folder. Find the code below and change the 'reviews' string to something else.
$title[] =  'reviews';