ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Trouble modifying pagination links

March 06, 2011 1:27pm

Subscribe [2]
  • #1 / Mar 06, 2011 1:27pm

    PlayMeAGroove

    5 posts

    Hello,

    I’m working on a Freelancer license of 2.1.3 build 20101220.

    I’m trying to modify the way the pagination links display, but I’m having a little bit of trouble.

    When I edit the variables in system/codeigniter/system/libraries/Pagination.php, I can successfully modify var $next_link and var $prev_link...  but no matter how I change var $first_link or var $last_link, nothing changes.  The first and last link always appear as < First and Last >, even if I change it to something crazy like PLEASE CHANGE!

    Is this a problem with the coding, or am I modifying the wrong variables?  I don’t know enough about hard code to feel safe playing with anything beyond variables.  :-(

    Any help would be appreciated.

    Thanks!

  • #2 / Mar 07, 2011 3:28am

    John Henry Donovan

    12339 posts

    PlayMeAGroove,

    You don’t need to edit any core files. EE comes with a Translation Utility.

    The phrases you are looking for are in core_lang.php

    Does that help?

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases