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

Pagination Template?


Best Answer brandon, 23 July 2013 - 07:15 AM

tamer,

 

If you paste your code below the "top pagination" PHP code, and above the "bottom pagination" code, it should work properly.

 

If you paste it, as long as it is properly declared as JS, it should work fine.

 

Let us know.

 

Thanks!

Go to the full post


  • Please log in to reply
3 replies to this topic

#1 tamer006

tamer006

    Member

  • Members
  • PipPip
  • 20 posts

Posted 21 July 2013 - 07:33 PM

Hi..

 

OK... assuming that I've checked the 2 checkboxes:

Show pagination above thumbnails

Show pagination below thumbnails

 

Where/how can I display something right below the upper pagination,

and right above the lower pagination?

 

upper pagination

[my JS code + image]

video thumbnails

[my JS code + image]

lower pagination

 

so, it's an [image & JS code] that will be between the pagination and video thumbnails.

 

Can this be done? and where is the template to edit?

 

Just want to try it and see how it will look like :cool:

 

Thanks

 

 



#2 brandon

brandon

    Advanced Member

  • TubePress Staff
  • 1989 posts

Posted 21 July 2013 - 09:48 PM

Tamer,

 

Please follow the directions here: http://tubepress.com..._Your_Own_Theme

 

for creating your own theme so that you can experiment with the layout and other options as you wish.

 

Let us know if we can help in any other way.

 

Thanks!


Want a faster, more personalized support experience? Open a ticket with us! We will be gradually phasing out forum-based support in favor of a proper ticketing system. Please help us help you!


#3 tamer006

tamer006

    Member

  • Members
  • PipPip
  • 20 posts

Posted 21 July 2013 - 10:54 PM

Thanks Brandon,

 

I see in "gallery.tpl.php" the following two lines:

<?php if (isset(${tubepress_api_const_template_Variable::PAGINATION_TOP})) : echo ${tubepress_api_const_template_Variable::PAGINATION_TOP}; endif; ?>

and

<?php if (isset(${tubepress_api_const_template_Variable::PAGINATION_BOTTOM})) : echo ${tubepress_api_const_template_Variable::PAGINATION_BOTTOM}; endif; ?>

 

1- Are these the two lines that I will have to edit (in my child theme)?

I mean if I want to show something below the top pagination or above the bottom pagination.

 

OR

I need to edit Pagination.php itself ?

 

 

2- If I paste a JS code, will it get executed? or it will be printed (as text) ?

 

Thanks again,



#4 brandon

brandon

    Advanced Member

  • TubePress Staff
  • 1989 posts

Posted 23 July 2013 - 07:15 AM   Best Answer

tamer,

 

If you paste your code below the "top pagination" PHP code, and above the "bottom pagination" code, it should work properly.

 

If you paste it, as long as it is properly declared as JS, it should work fine.

 

Let us know.

 

Thanks!


Want a faster, more personalized support experience? Open a ticket with us! We will be gradually phasing out forum-based support in favor of a proper ticketing system. Please help us help you!