The "Freeola Customer Forum" forum, which includes Retro Game Reviews, has been archived and is now read-only. You cannot post here or create a new thread or review on this forum.
All of the pages on my website *plug* www.when-consoles-attack.com
have the same piece of code at the start to define the colours, table with the menu in and the like.
Apparently there's a way to have each page read the same piece of code, rather than having to have it in each of my pages. Also, if I wish to add another option to the menu, I'll only have to do it once.
According to SR's PHP page I can use a bit of code similar to this:
But where would I stick that?
Like after the head, and opening the section?
Now I guess that the template would have to be saved as php, but would the pages that use this code also have to be?
Are there any decent examples of this I can take a look at working?
Thanks
But as for that Hit Counter, is it just for counting 'hits'?? or does that compayn offer full stats of your site??? Only saying as you might want to consider using a PHP one of your own, to suite your sites design.
And, maybe consider having the 'contact me' area as a Form rather than a link to an E-mail program direct :o)
Just a couple of ideas, nice site you have there :o).
I got this working, it really is that simple, isn't it?
Only silly me, checked it offline, before uploading it, so the php didn't work, and I couldn't figure out why!
I sussed after changing the code 3 or 4 times, and now it seems to be working, after changing every bloody link to a php rather than html link. Still, now I can alter the side bar whenever I want, only once, so I'll be putting something new in there soon.
> All of the pages on my website *plug* www.when-consoles-attack.com
Did you mean .co.uk as that address doesn't come up.
>
> But where would I stick that?
you can stick that anywhere on the Page and it will be put into the Page.
When you say define the colours, do you mean the bin in the Tag?? as in etc..?? If so, just have the code and your table code in the separate file, this file can be eny ext, .txt, .htm, .html .php but a tip, don't have a .php file unless it contains PHP code, as even though the time is probably miliseconds, a .html page will load faster. the page with the include code in though will have to be a .php file.
did that made sence?
If anything on your page is the same as another, make a seperate page for it and php include() it.
http://htmlgoodies.earthweb.com/beyond/extjs.html
All of the pages on my website *plug* www.when-consoles-attack.com
have the same piece of code at the start to define the colours, table with the menu in and the like.
Apparently there's a way to have each page read the same piece of code, rather than having to have it in each of my pages. Also, if I wish to add another option to the menu, I'll only have to do it once.
According to SR's PHP page I can use a bit of code similar to this:
But where would I stick that?
Like after the head, and opening the section?
Now I guess that the template would have to be saved as php, but would the pages that use this code also have to be?
Are there any decent examples of this I can take a look at working?
Thanks