Get Access to All Templates € 49.- Grab Offer →

Arrow up
Arrow down
×
Forum Access (04 Jul 2019)

These forums are READ-ONLY for Guests, and only WebKomp club members can post. If you are not a member, please look at joining one of our clubs to get access to this forum.

file Pagination '<<' replaced by text after changing language

3 years 3 months ago #2990 by Maria
Hi,

I´ve changed my Joomla site to Spanish. Now pagination next, and first image are replaced by text "Siguiente" and "Anterior". I´ve been trying to solve the problem without changing the code in pagination.php file but I can´t find how to do it.

I´ve added this code:
function pagination_item_active(&$item) {

	$cls = '';

    if ($item->text == JText::_('Next')) { $item->text = '&raquo;'; $cls = "next";}
    if ($item->text == JText::_('Prev')) { $item->text = '&laquo;'; $cls = "previous";}
    if ($item->text == JText::_('Siguiente')) { $item->text = '&raquo;'; $cls = "next";}
    if ($item->text == JText::_('Anterior')) { $item->text = '&laquo;'; $cls = "previous";}

It works , but is there any other way?

Thanks.


  • Posts: 17

  • Gender: Unknown
  • Birthdate: Unknown
  • Please Log in to join the conversation.

    3 years 3 months ago #2993 by __Mike__
    Hello,


    prntscr.com/mok79x



    Thanks

    - Please search forums before posting.
    - Chrome DevTools is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions.
    - If a thread is solved please edit your original / first post and place "[SOLVED]".



  • Posts: 1574

  • Gender: Male
  • Birthdate: Unknown
  • The following user(s) said Thank You: Maria

    Please Log in to join the conversation.

    Why Choose WebKomp?

    With all the Joomla Templates and WordPress Theme providers out there, why choose us?  Here are many reasons why a WebKomp template/theme would be a good fit for your website:

    • 47+ Templates and Themes
    • We offer a 14-day money-back guarantee
    • Nice Designs - We take pride in our work and we always looking ways to improve the next template release.
    • Affordable - Our prices are low.
    • Free Support - Need help? Just contact us
    • No Backlink Required - You can shut it off in the template's admin panel.
    • Nice Framework - WebKomp templates are powered by Warp7, Helix, T4, Gantry5 intuitive, wonderful  fast, lightweight, and feature-packed frameworks.
    • Easy to Customize - The admin panel provides many useful options that can be easily tweaked from the backend, easily, change fonts, colors, presets and more.
    • Our templates are based on the open Warp 7 , Helix, T4 and Gantry 5 Framework - Refer to the official Warp documentation, T4 Framework , Helix3/Ultimate, Gantry 5, Astroid for comprehensive info about how to use and expand the frameworks.
    • Sample Data Available - Quickstart Package allow you install in few clicks theme/template, extensions/plugins and demo data, in final you get full website exactly the same like on demo.
    • Mobile Friendly - All templates on this site are now responsive, meaning they automatically adjust to any screen resolution.  
    • The Single Template/Theme(12 Months Membership) is dedicated to all customer that need only one Template/Theme for their business or private project.