Home Forums RedExp Themes Slider Revolution Not working for RTL

This topic contains 15 replies, has 3 voices, and was last updated by  Viết Hiếu 1 year, 5 months ago.

How would you rate the support you received?
1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading...

  • Author
    Posts
  • #9055

    Mspirit7
    Participant

    Hello, there is a problem with RTL Site rev Slider not working just blank page appear
    i can see this errors in console
    Use of getPreventDefault() is deprecated. Use defaultPrevented instead.
    jquery.min.js:5:17117
    Using //@ to indicate sourceMappingURL pragmas is deprecated. Use //# instead
    [Learn More]
    jquery.min.js:1
    Slider Revolution 5.0 Error !
    jquery.themepunch.revolution.min.js:473:21
    Failure at Loading:revolution.extension.slideanims.min.js on Path://mywebsite/ar/sites/all/modules/revslider/assets/public/js/extensions/
    jquery.themepunch.revolution.min.js:473:68
    Object { readyState: 4, getResponseHeader: getResponseHeader(), getAllResponseHeaders: getAllResponseHeaders(), setRequestHeader: setRequestHeader(), overrideMimeType: overrideMimeType(), statusCode: statusCode(), abort: abort(), state: state(), always: always(), then: then(), … }
    jquery.themepunch.revolution.min.js:473:165
    Slider Revolution 5.0 Error !
    jquery.themepunch.revolution.min.js:473:21
    Failure at Loading:revolution.extension.layeranimation.min.js on Path://mywebsite/ar/sites/all/modules/revslider/assets/public/js/extensions/
    jquery.themepunch.revolution.min.js:473:68
    Object { readyState: 4, getResponseHeader: getResponseHeader(), getAllResponseHeaders: getAllResponseHeaders(), setRequestHeader: setRequestHeader(), overrideMimeType: overrideMimeType(), statusCode: statusCode(), abort: abort(), state: state(), always: always(), then: then(), … }
    jquery.themepunch.revolution.min.js:473:165

  • #9423

    Maria Do
    Keymaster

    Hi

    Could you please give me info site( admin + ftp ) with private reply. We can check what did you do and show you best solution.

    Thank you!

  • #9450

    Mspirit7
    Participant
    This reply has been marked as private.
  • #9451

    Mspirit7
    Participant
    This reply has been marked as private.
  • #9469

    Maria Do
    Keymaster

    Hi

    What is URL your site?

    Thank you.

  • #9476

    Mspirit7
    Participant
    This reply has been marked as private.
  • #9731

    Viết Hiếu
    Participant

    Hi

    Could you please create and give me url page with this error.

    Thank you!

  • #9757

    Mspirit7
    Participant
    This reply has been marked as private.
  • #9772

    Viết Hiếu
    Participant

    it error because url to get resource file is wrong.
    IN :
    base site: /…/assets/…
    subsite:
    /ar/…/assets/… (wrong)

    I fixed function we use to get link resource back to base site in plugin installed in your site.

  • #9774

    Mspirit7
    Participant
    This reply has been marked as private.
  • #9777

    Viết Hiếu
    Participant

    I set it to same direction in english and arabic site.

  • #9778

    Mspirit7
    Participant
    This reply has been marked as private.
  • #9779

    Viết Hiếu
    Participant

    I add “.rev_slider>ul{direction: LTR;}” to end of css file . It will ignore of change direction of slider layer.

  • #9780

    Mspirit7
    Participant
    This reply has been marked as private.
  • #9784

    Viết Hiếu
    Participant

    It show error by wrong url to include lib js. It error because
    function url($path) will return :
    base site: “https://nooralsawadi.design/$path”
    arabic site : “https://nooralsawadi.design/ar/$path”
    I fix it by use global $base_url; (= https://nooralsawadi.design )

  • #9785

    Viết Hiếu
    Participant

    File : [module]/src/helper/RevsliderFunction.php line 675:
    new :
    public static function asset($path, $include_scheme = true)
    {
    global $base_url;
    if (empty($path))
    $path = ”;
    if (strlen($path) > 0 && $path[0] === ‘/’)
    $path = substr($path, 1);
    $module_path = RevSliderFile::getUrlLocalFile();
    $result = $base_url.self::merge_path($module_path, ‘/assets/’, $path);
    if (!$include_scheme)
    $result = ‘//’ . explode(‘://’, $result)[1];
    if ($path === ” || substr($path,-1) === ‘/’)
    return $result.’/’;
    return $result;
    }
    old:
    public static function asset($path, $include_scheme = true)
    {
    if (empty($path))
    $path = ”;
    if (strlen($path) > 0 && $path[0] === ‘/’)
    $path = substr($path, 1);
    $module_path = RevSliderFile::getUrlLocalFile();
    $result = self::full_url(self::merge_path($module_path, ‘/assets/’, $path));
    if (!$include_scheme)
    $result = ‘//’ . explode(‘://’, $result)[1];
    if ($path === ” || substr($path,-1) === ‘/’)
    return $result.’/’;
    return $result;
    }

You must be logged in to reply to this topic.