|
Haven't registered yet? Do it here now!
|
bakdoor
Joined: 08 Dec 2007 Posts: 34
|
|
|
|
|
|
|
Posted: Tue Jul 22, 2008 1:06 am Post subject: Duplicating a variable on the same page? |
|
|
|
|
|
|
|
|
|
|
Hello kat. Is it possible to use the %%POST%% variable more than once on the same page? If yes, will the post be the same for each instance of %%POST%% or will it be random/different?
Thanks |
|
|
|
|
|
|
|
Atanasis Owner
Joined: 22 May 2004 Posts: 4284 Location: The Net
|
|
|
|
|
|
|
Posted: Tue Jul 22, 2008 3:58 pm Post subject: |
|
|
|
|
|
|
|
|
|
|
hi there,
there isn't a %%POST%% variable. There is %%POSTS%% variable to display the list of available posts. There is no single post displaying variable _________________ Thanks,
Kaktusan
|
|
|
|
|
|
|
|
|
|
|
bakdoor
Joined: 08 Dec 2007 Posts: 34
|
|
|
|
|
|
|
Posted: Tue Jul 22, 2008 7:51 pm Post subject: |
|
|
|
|
|
|
|
|
|
|
Atanasis wrote: | hi there,
there isn't a %%POST%% variable. There is %%POSTS%% variable to display the list of available posts. There is no single post displaying variable |
Atanasis, maybe I wasn't clear in my explanation.
Available Tokens.
%%POSTS%% - Displays the Posts.
Can I use the 'Token' %%POST%% more than once per template?
The %%POST%% Token tells the script where to place a pulled item from my GS feed according to the interval I select. Posts once a day, every 2 days etc.... Is it possible to use this token more than once per template?
Example:
<body>
(some fixed content here. banners etc...)
%%POST%% (1 item posts here)
(more fixed content here. banners etc...)
%%POST%% (1 item posts here)
</body>
I'm assuming I can do this, but my question is, if there is more than one Post token in a template, will the items that are posted be the same for each %%POST%% token on the page, or will they be random. It would be pointless to use more than one Post token if all posts were to be the same.
Thanks |
|
|
|
|
|
|
|
Atanasis Owner
Joined: 22 May 2004 Posts: 4284 Location: The Net
|
|
|
|
|
|
|
Posted: Wed Jul 23, 2008 4:34 pm Post subject: |
|
|
|
|
|
|
|
|
|
|
the %%POSTS%% displays all posts at once. You can't make it display just 1 post. You can put the variable as many times as you want in your blog template, but each time %%POSTS%% will display all posts. _________________ Thanks,
Kaktusan
|
|
|
|
|
|
|
|
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
|
|
|
|
| |