Jump to content


These Forums Are Now Read-Only


For TubePress support, please post a question here or open a support ticket and we will be glad to assist.


Photo

removing the prev next from the pagination [SOLVED]


  • Please log in to reply
2 replies to this topic

#1 Ben Whitley1359656491

Ben Whitley1359656491

    Newbie

  • Members
  • Pip
  • 2 posts

Posted 23 May 2012 - 04:47 AM

I've been on the discussion forums looking for a way to style the pagination to just have the page numbers and not the and

I managed to acheive this on a previous version of tubepress (2_2_0) with help from Eric, but that work around doen't seem possible anymore as the file structure has changed and I can't find whic file to edit - anyone have any ideas?

cheers,

Ben

#2 eric

eric

    Lead Developer

  • TubePress Staff
  • 2787 posts

Posted 23 May 2012 - 07:00 PM

Hi Ben,

You can edit sys/classes/org/tubepress/impl/plugin/filters/gallerytemplate/Pagination.class.php to modify the pagination HTML. In the future I plan on putting this into a template so you can safely modify it as part of a TubePress theme. But as you can see right now it's simply pieced together with PHP (ugly!). You should be able to simply go through that file and delete the references to "next" and "prev".

Give it a try and let us know. Thanks!

#3 Ben Whitley1359656491

Ben Whitley1359656491

    Newbie

  • Members
  • Pip
  • 2 posts

Posted 31 May 2012 - 11:14 AM

Thanks for the quick response Eric, all working well now Cheers, Ben