Adding jQuery UI tabs to listing submit page
From JReviews Documentation
Revision as of 19:02, 4 March 2010 by Jreviews (Talk | contribs) (Created page with 'First you need to make the tabs library load on the listing submit page. Edit this theme file: *<span style="color: blue">\com_jreviews\jreviews\views\helpers\assets.php</span> …')
First you need to make the tabs library load on the listing submit page.
Edit this theme file:
- \com_jreviews\jreviews\views\helpers\assets.php
Add 'jq.ui.tabs' to the js array in function ListingsCreate():
function ListingsCreate() { $assets = array( 'js'=>array('jreviews','jquery','jq.ui.core','jq.ui.tabs','jq.ui.rating','jq.ui.datepicker' ,'jq.tooltip','jq.selectboxes','jq.jreviews.plugins'), 'css'=>array('theme','theme.form','jq.tooltip','jq.ui.core','jq.ui.rating') );
Next, download this file:
extract create_form.thtml and replace the same file in this folder:
- /com_jreviews/jreviews/views/themes/default/listings