DIFFERENT PAGE AT DIFFERENT TIMES OF THE DAY __________
This tip was requested by Zeed from the Philippines who wanted a means of having a different greeting depending on the time of day.
_____
You will need to set up a site entry page with a
CLICK HERE TO ENTER
type of link and one folder with 24 copies of your homepage renamed 00 to 23
The "CLICK HERE TO ENTER " link is what controls the whole thing and takes this form
_____
_____
FOLDER=the name of your folder containing the page files
TIMEZONE=your timezone -12 to 12 hours difference to UTC
TEXT=text for your link (you could put a image source here)
_____ IMPORTANT:
note the use of single quotes ' ' to surround the Xt function.
_____
Then edit the page files adding your content for each hour
_____
You can adapt this for other outputs of the tdate function see
here
for all options.
Tip :
Use file includes to construct the basic home pages where ever possible then you will only have to edit 1 set of data to change all 24 files
IF YOU NEED HELP ASK ME