Weekly Freebie #3: Grab 3 Premium Joomla Templates For FREE
0
Your Cart is currently empty!
Product update
Coupon
add
Coupon code invalid! Please re-enter!
AJAX loader
You are here: HomeForum

We are here to serve :)

Our support team is currently online to solve your issues.

Our support team is currently offline

Our support heroes might not be around this hour. Please expect some delays.

Our support is available from

Monday - Friday 8am - 5:30pm GMT+7

Your time: 00:00:00
Our time: 00:00:00

Welcome, Guest

Problem with RTL direction
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: Problem with RTL direction

Problem with RTL direction 3 months, 1 week ago #40954

why the template does not reverse when using RTL direction?

Re: Problem with RTL direction 3 months, 1 week ago #40958

I fixed this issue in
/public_html/templates/sj_plus/includes/frame_inc.php

$currentLanguage = JFactory::getLanguage();
$isRTL = $currentLanguage->isRtl();

if($isRTL != 'ltr'){$yt->ytStyleSheet('asset/bootstrap/css/bootstrap.min.css');}


if($isRTL) $yt->ytStyleSheet('css/template-rtl.css');


/public_html/templates/sj_plus/index.php


$currentLanguage = JFactory::getLanguage();
$isRTL = $currentLanguage->isRtl();
$dirisRTL = ($isRTL) ? ' dir="rtl"' : '';

<html <?php echo $dirisRTL; ?> lang="<?php echo $this->language; ?>">

//For RTL direction
$cls_body .= ($isRTL == 'rtl') ? 'rtl' . ' ' : '';

Re: Problem with RTL direction 3 months, 1 week ago #40964

Thank you Vietnh,

Your solution has solved the problem of reversing the orientation of the text. Would it be possible to have the line numbers for your solution.

It would seem that I did not place all the codes in the right places to have the order of the modules according to the RTL orientation.

I am using the latest version of the template, and it would be a good idea to include your solution in a new version.

I noticed that the problem of the template that does not reverse arises for the demo of the template in your site.

Re: Problem with RTL direction 3 months, 1 week ago #40966

Thank you Vietnh,

I have resolved the problem. All is fine.

Re: Problem with RTL direction 3 months, 1 week ago #40969

Have a nice day. Thanks you!
The following user(s) said Thank You: athlonis
  • Page:
  • 1
Time to create page: 0.40 seconds

Notification

Please find your issue via Suggested Posts before submitting your question. We have solved the most of issues and maybe your issue was solved before.
Weekly Freebie #3: Grab 3 Premium Joomla Templates For FREE

Suggested Posts

(/)
Result not found!

Latest My Topics

No posts to display.

Love all our templates?

Join our membership clubs starting at $49 only for access to all of our templates

Join Now
Magento Themes Magento Extensions Free Magento Extensions Prestashop Themes Prestashop Modules Magento 2 Themes