| Psytonic |
| Site Admin |
|
| |
| Joined | 19 Oct 2006 | | Posts | 164 | | Location | Australia |
|
|
|
 |
 |
 |
|
To actually place galleries in your pages you need to use "gallery tokens". RoboTGP reads these tokens and places the correct gallery in its place.
If you're just wanting to use all similar galleries in your page all you need to do is select your default settings for the page template and put {gal=X} tokens in your template page or "page source". For each listing just increase the number by 1 {gal=1} {gal=2} {gal=3} etc etc. Most of the time that's all you'll need for your pages.
But if you want to put for example, your first row of thumbs with a higher skim% it's easy with override tokens. These will ignore the default setting and replace it with the one you specify. It would look like this in your template:
{gal=1_skim=100} {gal=2_skim=100} {gal=3_skim=100} {gal=4_skim=100} {gal=5_skim=100} {gal=6} {gal=7} {gal=8} {gal=9} {gal=10}
This template above would override the default skim and set it to 100% for the first 5 galleries but continue on and use the default skim for the next 5 galleries because they are using all default settings. Basically everything can be overriden. Although usually this will only be simple things like for a few galleries in your template, you can still override as much as you want.
You could change the category, the sorting method, and the skim % for a particular gallery. To do that you would do this:
{gal=1_cat=teen_sort=random_skim=100}
All you have to do to override a default setting for a gallery is use _ (underscores) between each part. All the tokens you can use are listed below:
_group=thumb
_group=text
_size=.....
_type=pics
_type=movies
_cat=.....
_sort=last
_sort=all
_sort=random
_skim=.....
Once you know how to use these making pages is extremely quick and easy. Default settings allow you to make templates much quicker than say if you had to specify all the settings in for each individual gallery link. Saves a heap of time, and with the override tokens you're able to have as much flexibility in your listings as you like.
This is how to insert new galleries: All you have to do is put: _new=yes into any of the spots in your template that you want a "new" gallery pulled. Say you have a thumb site with 160 thumbs sorted by last clicks and you want 4 new thumbs inserted on each build at the 20th thumb spot down (since you want your best thumbs up top) and tested for click through rates you'd have this:
{gal=20_new=yes} {gal=21_new=yes} {gal=22_new=yes} {gal=23_new=yes}
This will pull new galleries for each of those spots. All the other galleries would be listed by last clicks or any of the other settings you've specified for your galleries. |
|