Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • arkanjie Friend
    #186254

    Hi there,

    I have a multilanguage website using Ja Mendozite and JaSlideshow Lite.

    By default, in English site, I’m showing the module with my own custom mask, but if I duplicate the module and translate the options, the mask is always showing the same than English. That’s because css file is always calling to one mask image.. so, how can I add a new mask to show in another JaSlideShow Lite module?

    Thanks in advance

    HeR0 Friend
    #488107

    Hi Arkanjie,

    By default, this is impossible. So that you must have a small modifications in code files.
    Example: open file layout default.php ( custom.php ) and find

    <div class="ja-ss-mask"></div>
    replace it to

    <div class="ja-ss-mask" style="background: url('../templates/ja_mendozite/images/slide-mask-<?php echo JFactory::getLanguage()->getTag() ?>.png') no-repeat left top;"></div>
    Then go to folder /templates/ja_mendozite/images/ create new mask images for your languages as slide-mask-en.png, slide-mask-es.png

    Hope this helps.

    Regards

    arkanjie Friend
    #488150

    Thanks for your idea but it’s not working 🙁

    I thought it could be solved creating a new jaslideshow lite module and invoke a new style or image on css template..
    Do you think it’s possible? How to do it in that case?

    HeR0 Friend
    #488407

    Other way, you could create many layouts override in template. This way is quite simple for you.
    Please check out http://docs.joomla.org/Layout_Overrides_in_Joomla_2.5

    Regards

Viewing 4 posts - 1 through 4 (of 4 total)

This topic contains 4 replies, has 2 voices, and was last updated by  HeR0 11 years, 7 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum