This is my gallery:
http://prodigyathlet...yTube/index.php
It is ordering the videos oldest to newest, and I would like to reverse this, so that the most recently uploaded videos appear first.
I read the documentation about using the Gallery sort orders short code [tubepress orderBy=“oldest”], but am unceratin where to specify that within my index.php.
I am using the standalone php implementation.
Thank you. I really love this app!
JJ
Order Gallery By Newest
Started by < no first name > Jacob, Oct 06 2010 08:45 PM
2 replies to this topic
#1
Posted 06 October 2010 - 08:45 PM
#2
Posted 06 October 2010 - 09:56 PM
Hi JJ,
Presumably in your index.php you have a line that reads something like this:
Presumably in your index.php you have a line that reads something like this:
print tubepressGallery('mode="user" userValue="coachlau" resultsPerPage="6"');You can just add orderBy="published" to sort from oldest to newest. e.g.
print tubepressGallery('mode="user" userValue="coachlau" resultsPerPage="6" orderBy="published"');Just tested this locally and it works. Please give it a whirl and let us know. Thanks!
#3
Posted 07 October 2010 - 02:02 AM
Eric~
I could have SWORN that I tried exactly that as well yesterday, but everytime i would change index.php with the new shortcode it would import a bunch of youtube videos but not from the "coachLau" channel.
Anyway, I copy and pasted what you gave me and it worked perfectly!
thank you very much!!! This is really a fabulous app, and the site owners are very happy with their new media gallery!
JJ
I could have SWORN that I tried exactly that as well yesterday, but everytime i would change index.php with the new shortcode it would import a bunch of youtube videos but not from the "coachLau" channel.
Anyway, I copy and pasted what you gave me and it worked perfectly!
thank you very much!!! This is really a fabulous app, and the site owners are very happy with their new media gallery!
JJ