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.

Hide ">" in {pagination links}

June 02, 2011 11:34am

Subscribe [2]
  • #1 / Jun 02, 2011 11:34am

    TomT

    49 posts

    Not sure if this is possible.

    I have a pagination that is used throughout my site that I’d like to implement in the EE part of my site.

    I’ve got it working great and styled exactly as is in the other non-EE areas of my site except for one thing: the > in the pagination_links variable.

    Is there anyway to strip that out, not show it or just grab the page number items?

    Screenshot attached.

    Thanks!

  • #2 / Jun 02, 2011 12:53pm

    TomT

    49 posts

    Is there a way to access the pagination_links via PHP?  If so I can just use a str_replace to take those links out.

    I tried using some PHP but it bombs in the template in output mode and doesn’t process the str_replace code in input mode.

    Can I do something like this?

    $this->EE&= get_instance();
    $pagination_links = $this->EE->pagination->pagination_links;
  • #3 / Jun 02, 2011 1:28pm

    vosSavant

    380 posts

    Hey TomT,

    You might have a look at the Logiq Pagination add-on, which lets you customize pagination quite a bit.

    Logiq Pagination on Devot-EE

  • #4 / Jun 02, 2011 2:11pm

    TomT

    49 posts

    Well that just worked about as perfect as I could have asked for.

    Thanks Ryan.

  • #5 / Jun 02, 2011 2:47pm

    vosSavant

    380 posts

    Awesome. Glad I could help 😊

  • #6 / Jun 03, 2011 1:30am

    Sue Crocker

    26054 posts

    Thanks for the assist, Ryan.

    TomT - If anything else comes up, please do let us know in a new thread..

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

ExpressionEngine News!

#eecms, #events, #releases