Pixelated a phpBB Template by SkaidonDesigns
 
Kaktusan Corp. Support Area Forum Index
www.kaktusancorp.com
www.cheapestadultscripts.com
Play with the Best, be the Best!
Special Offer
FAQ
Search
Memberlist
Usergroups
Profile
Log in to check your private messages
Log in

The Mightiest Webmaster Solutions Ever
Blogs Automater
Blogs Automater
Rocket Pinger
Rocket Pinger
Cheapest Web Software
Cheapest Web Software
Kaktusan Cash
Kaktusan Cash

Haven't registered yet? Do it here now!
Templates Variables, Explained!

 
Post new topic   Reply to topic    Kaktusan Corp. Support Area Forum Index -> Site Organizer
View previous topic :: View next topic  
Author Message
kaktus
Owner


Joined: 22 May 2004
Posts: 1576
Location: CheapestAdultScripts.com

PostPosted: Wed Sep 13, 2006 7:06 pm    Post subject: Templates Variables, Explained! Reply with quote
Site Organizer has pretty powerful templating mechanism which allows you to output your content from your database to your sites, totally easy and flexible. With just few words of defitions you can output thousands of galleries.


TOPLISTS
Every toplist is defined by %%toplist,...%% so when you want to place a toplist in your template
the first argument after the starting %% must be "toplist". The second argument is the range
of the trades. For example if we want to list from the first to the 10th trade the second argument
will be 1-10, so our example till here will look like %%toplist,1-10,...%% The third agrument
refers to the table that must be displayed in order to organize the trades. So if you want a table
with 10 rows and 1 trade per row, you type 10x1 , so our example till here will look like
%%toplist,1-10,10x1,...%% The last argument refers to the niche of the trades. If you want this
toplist to list trades only from niche babes you type "babes", if you want to list from all niches
you type "allniches" so our example till here will look like %%toplist,1-10,10x1,allniches%%

Here are some other examples for toplists:
%%toplist,1-50,10x5,allniches%% - Top Trades from 1 to 50 in a table with 10 rows and 5 trades per each row, from all niches.
%%toplist,51-100,10x5,allniches%% - Trade sites toplist. Top Trades from 51 to 100 in a table with 10 rows and 5 trades per each row, from all niches.
%%toplist,1-50,10x5,babes%% - Trade sites toplist. Top Trades from 1 to 50 in a table with 10 rows and 5 trades per each row, from niche babes only.



GALLERIES
Every gallery displaying is defined by %%galleries,...%% so when you want to place galleries in your
template the first argument after the starting %% must be "galleries". According to what galleries
you want to list now the definitions seperate into two types. Assume now you want galleries with text
descriptions. So your second argument must be "text", so our example till now will look %%galleries,text,...%
The third argument here refers to the numbering of the galleries. If you want to list the galleries
from the first to the 50th, you type "1-50", so our example till here will look
%%galleries,text,1-50,...% The final argument here is the niche. If you want the gallerie to be from a specific
niche, type the niche as last argument, otherwise if you want them mixed from all available niches, type "allniches"
so our example will look like %%galleries,text,1-50,allniches%%.

Here are some other example for galleries with text descriptions:
%%galleries,text,1-10,babes%% - Text Galleries from 1 to 10 from niche babes.
%%galleries,text,11-100,babes%% - Text Galleries from 11 to 100 from niche babes.
%%galleries,text,1-10,allniches%% - Text Galleries from 1 to 10 from all niches.

Now if you want to add galleries with their own preset static descriptions, use:
%%galleries,static,1-10,babes%% - Static Galleries from 1 to 10 from niche babes.
Everything is the same as for the regular text galleries, only the second parameter
is different - "static".

Now if you want to list galleries with thumbnail preview, the definition differs from the
one for galleries with text descriptions. The first argument is "galleries" again, but the second
is "thumb", so our example till here will look like %%galleries,thumb,...%% The third argument
here is the type of the thumb previews. If you want to list galleries with 88x88 thumbnail preview
you type "88x88", so our example till here will look like %%galleries,thumb,88x88,...%%
The next argument refers to the numbering of the galleries. If you want to list the galleries
from the first to the 50th, then you type "1-50", so our example till here will look
like %%galleries,thumb,88x88,1-50,...%% The next argument refers to the table in which
the thumb galleries must be arranged, so if you want a table with 10 rows and 5 galleries
on each row, you type "10x5", so our example till here will look like %%galleries,thumb,88x88,1-50,10x5,...%%
And the final argument is the niche of the galleries. If you want the galleries to be from a specific niche
you type the niche there, otherwise if you want to be mixed from all niches available in the
system, you type "allniches", so our example till here will look like
%%galleries,thumb,88x88,1-50,10x5,allniches%%

Here are and some other examples for displaying galleries with thumb preview:
%%galleries,thumb,88x88,1-50,5x10,babes%% - Thumb Galleries from 1 to 50 from niche babes with an 88x88 thumb preview in a table with 5 rows and 10 thumbs on each row.
%%galleries,thumb,90x120,1-50,5x10,allniches%% - Thumb Galleries from 1 to 50 from all niches with an 90x120 thumb preview in a table with 5 rows and 10 thumbs on each row.<br>



FREE SITES
In order to include free sites listing in your template, you do it the same way as all the other content.
For example %%freesites,1-10,babes%% will output free sites from 1 to 10 from niche babes.
The first argument is the type of content to output, the second one is the numbering and the third one
is the niche.
<Br>

META KEYWORDS
In order to include meta keywords listing in your template, you do it the same way as all the other content.
For example %%metakeywords,1-5,babes%% will output keywords from 1 to 10 from niche babes.
The first argument is the type of content to output, the second one is the numbering and the third one
is the niche. Note that the meta keywords appear with comma separated between each separate keyword/keyphrase.
This is done because it will be ready for a direct inclusion in the meta keywords html tag.
<Br>

BANNERS
In order to display a banner in your template the first argument after the starting
%% is "banner", so one example is %%banners,...%% The second argument refers to the
banner type, so if you want to display a banner from type 468x60 you type "468x60",
so our example till here will look like %%banner,468x60,...%% The third argument
refers to the banner niche. If you want the banner to be from a specific niche you
type the niche name there, otherwise if you want it to be randomly chosen from all
the niches available in the system you type "allniches", so our example will look
like %%banner,468x60,allniches%% Here are and some other examples for displaying
banners:
%%banner,120x60,babes%% - 1 Banner from type 120x60 from niche babes.
%%banner,468x60,babes%% - 1 Banner from type 468x60 from niche babes.



The script outputs most of the content with embedded CSS class styles.
Banner links are outputed with class sobanners
Toplist tables are outputed with class sotoplisttable
Toplist table td's are outputed with class sotoplisttd
Gallery thumbnail tables are outputed with class sothumbtable
Gallery thumbnail table td's are outputed with class sothumbtd
You can include in your CSS styles sheet or directly in your template source code
definition of these CSS class styles and make them according to your needs.
_________________
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number

Display posts from previous:   
Post new topic   Reply to topic    Kaktusan Corp. Support Area Forum Index -> Site Organizer All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2002 phpBB Group


 
phpBB Template designed by SkaidonDesigns