Author Topic: Newbie Question  (Read 1154 times)

0 Members and 1 Guest are viewing this topic.

Offline Lily Racer

  • Newbie
  • *
  • Posts: 2
  • Karma: +10/-0
    • View Profile
Newbie Question
« on: August 02, 2012, 06:06:36 PM »
Hi everyone! I have what I hope will be an easy question: I've been using TGPX and have been pretty happy with the results, however- I want to make a category continue from one page to another. I just can't seem to figure out how to change the parameters of the category on page two to get it to "pick up" where the first page left off.

(i.e; page one has pictures 1-40, page two should have 41-80. what I keep getting is page one has 1-40 and page 2 has 1-40)

Any help will be appreciated. Thanks! -Lily

Offline a4evermedia

  • Global Moderator
  • Full Member
  • ***
  • Posts: 122
  • Karma: +25/-0
  • Gender: Male
    • View Profile
    • A4Ever Media
Newbie Question
« Reply #1 on: August 04, 2012, 03:48:57 PM »
I suppose the most direct method of accomplishing this would be to set the global-dupes value to false at the top of your page template, like this:
{define name=globaldupes value=false}

This will take the galleries out of rotation so that the next page will be, by default, built from remaining galleries.

You can also use this function in the galleries directive:
{galleries
var=$galleries
preview=true
type=any
globaldupes=false
category=any
      .....}

There may be other methods. I'll have to look into it.

Offline vince81540

  • Newbie
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Re: Newbie Question
« Reply #2 on: March 25, 2013, 07:20:46 AM »
hi
having the same problem, did it worked? cause I was thinking of doing that:
I was thinking to redo a new categorie ( like categoriex2)when i reached the maximun amount i wanted on my first page(page using the original categoriex) and then just build the page with the new categorie, the only trouble is that I will have to replace the original page by the new one like that the oldest page( the original categoriex) gets on page 2... and the new updates will be on the first page (using the  categoriex2).
Not sure if thats clear, and maybe complicated if your solution above did work, would be really cool if you could let me know, thanks a lot
« Last Edit: March 25, 2013, 07:22:27 AM by vince81540 »

Unofficial JMB Support Forums

Re: Newbie Question
« Reply #2 on: March 25, 2013, 07:20:46 AM »


Tags:
 

Related Topics

  Subject / Started by Replies Last post
1 Replies
1073 Views
Last post November 19, 2012, 12:38:16 AM
by Chad
2 Replies
1124 Views
Last post June 27, 2013, 02:41:07 AM
by that_guy
0 Replies
1036 Views
Last post January 27, 2014, 02:56:00 PM
by ghostmeat
0 Replies
937 Views
Last post March 11, 2014, 07:51:41 AM
by Tim
1 Replies
1360 Views
Last post August 06, 2014, 04:18:42 PM
by peeperd