HTML Template Help
Hi,
Anyone got any idea on this? Would be greatly appreciated!
Im building a website with dreamweaver CS4, Is there anyway of getting the text on a page automatically from a template file. For example, say the text at the top of the index.html was changed from "Your text here" to "My site" it would update on every page using that template.
Is this done through CSS? my knowledge of website language is limited, i can get by on CSS, PHP, JavaScript and im fairly good at HTML.
Currently whenever i change a link or text on my index page, i then have to change all other pages, and with my amount of pages now approaching 20+ i dont really want to keep having to do this.
I'm hoping someone with a bit more webby-knowledge can help me please!
Thanks in advance!
Anyone got any idea on this? Would be greatly appreciated!
Im building a website with dreamweaver CS4, Is there anyway of getting the text on a page automatically from a template file. For example, say the text at the top of the index.html was changed from "Your text here" to "My site" it would update on every page using that template.
Is this done through CSS? my knowledge of website language is limited, i can get by on CSS, PHP, JavaScript and im fairly good at HTML.
Currently whenever i change a link or text on my index page, i then have to change all other pages, and with my amount of pages now approaching 20+ i dont really want to keep having to do this.
I'm hoping someone with a bit more webby-knowledge can help me please!
Thanks in advance!
0
Comments
You'd have to use index.php, rather than index.html, but that's relatively trivial.
Will that be a problem using index.php if it has all been done as html? will the whole site need re-doing?
Something like:
[php]
<?php include("filename.html); ?>
[/php]
thats done it, thanks!