Breadcrumbs

Home / Support Center / FAQ / Tutorials / DJ-Classifieds FAQ / RTL support for DJ-Classifieds ver. 2.1.4

Top Menu

Content

RTL support for DJ-Classifieds ver. 2.1.4
RTL support for DJ-Classifieds ver. 2.1.4 4.3 out of 5 based on 11 votes.

rtl support for dj-classifieds

This is how to add RTL support for DJ-Classifieds ver. 2.1.4:

  1. Download this file style_rtl.css (updated 02/01/2013)
  2. upload the file to components/com_djclassifieds/assets/ folder via ftp
  3. next, open file components/com_djclassifieds/djclassifieds.php
  4. after lines 49-53 (below is the code that you'll find there):
$par = &JComponentHelper::getParams( 'com_djclassifieds' );
if($par->get('include_css','1')){
$cs = JURI::base().'components/com_djclassifieds/assets/style_default.css';
$document->addStyleSheet($cs);
}

add:

if($document->direction=='rtl'){
$cs = JURI::base().'components/com_djclassifieds/assets/style_rtl.css';
$document->addStyleSheet($cs);
}

Found this article interesting? Subscribe for more.
Or share this article with your friends.
Saturday, 29 December 2012 23:05
 
User Rating:  (11)
PoorBest
 

Footer Menu