i have a tgp at http://www.banra.com - I am wondering how they get the specific days to come up with the gallery. Right now i just have Today/ yesterday ect. I want to be able to have a .gif files for each day and have it show up above the gallery for that day. how do i do this?>
tgp programing question
Collapse
X
-
-
-
I'll post a tutorial about this in the next few days. It all depends of course on what script you're running, but for the sake of this topic I'm going to assume Comus because it's the only rotation script I use.
To setup day of the week headers, you need to first create images (gif, jpg, png, doesn't matter) with the appropriate day of the week, then save them as that name (ie. "Friday.gif"). Make CERTAIN you leave all letters but the first lowercase, and capitlize the first letter.
Then in your Comus template (Pages > Edit Pages > [edit] link next to the appropriate page template), modify your gallery header images.
For instance, you may currently be using:
Replace that with:Code:<IMG SRC="today.gif">
And continue to do so with each subsequent header. The Comus macros are defined as:Code:<IMG SRC="%THIS_WEEKDAY%.gif">
%THIS_WEEKDAY% 'Monday - Sunday' Todays weekday.
%THIS_WEEKDAY-1% 'Monday - Sunday' weekday from 1 day ago.
%THIS_WEEKDAY-2% 'Monday - Sunday' weekday from 2 days ago.
%THIS_WEEKDAY-3% 'Monday - Sunday' weekday from 3 days ago.
%THIS_WEEKDAY-4% 'Monday - Sunday' weekday from 4 days ago.
%THIS_WEEKDAY-5% 'Monday - Sunday' weekday from 5 days ago.
%THIS_WEEKDAY-6% 'Monday - Sunday' weekday from 6 days ago.
%THIS_WEEKDAY-7% 'Monday - Sunday' weekday from 7 days ago.
TGPFactory Full TGP Design & Installation Services
ICQ 250 142 484 · AIM TGPDynamix · Email: patrick (at) tgpfactory (dot) com
See who I am at AdultWhosWho.com!Comment
-
Originally posted by DynamixI'll post a tutorial about this in the next few days. It all depends of course on what script you're running, but for the sake of this topic I'm going to assume Comus because it's the only rotation script I use.
To setup day of the week headers, you need to first create images (gif, jpg, png, doesn't matter) with the appropriate day of the week, then save them as that name (ie. "Friday.gif"). Make CERTAIN you leave all letters but the first lowercase, and capitlize the first letter.
Then in your Comus template (Pages > Edit Pages > [edit] link next to the appropriate page template), modify your gallery header images.
For instance, you may currently be using:
Replace that with:Code:<IMG SRC="today.gif">
And continue to do so with each subsequent header. The Comus macros are defined as:Code:<IMG SRC="%THIS_WEEKDAY%.gif">
%THIS_WEEKDAY% 'Monday - Sunday' Todays weekday.
%THIS_WEEKDAY-1% 'Monday - Sunday' weekday from 1 day ago.
%THIS_WEEKDAY-2% 'Monday - Sunday' weekday from 2 days ago.
%THIS_WEEKDAY-3% 'Monday - Sunday' weekday from 3 days ago.
%THIS_WEEKDAY-4% 'Monday - Sunday' weekday from 4 days ago.
%THIS_WEEKDAY-5% 'Monday - Sunday' weekday from 5 days ago.
%THIS_WEEKDAY-6% 'Monday - Sunday' weekday from 6 days ago.
%THIS_WEEKDAY-7% 'Monday - Sunday' weekday from 7 days ago.
What he said!Carbon is not the problem, it makes up 0.041% of our atmosphere , 95% of that is from Volcanos and decomposing plants and stuff. So people in the US are responsible for 13% of the carbon in the atmosphere which 95% is not from Humans, like cars and trucks and stuff and they want to spend trillions to fix it while Solar Panel plants are powered by coal plants
think about thatComment
-
http://php.net/ & http://mysql.com/Originally posted by tytyguyok... do u know the code or where i can find it?subarus.Comment



Comment