May 22, 200818 yr HTTP://www.alex-mcintosh.com Does anyone know how i can sort of seperate that sidebar from the document? Whenever i creeate a new blog i have to edit: The index Create the new page Edit all other pages and add the link in them sidebars Is there a way to minimalise all this so i only need to edit one file?
May 22, 200818 yr Author My hosting provider has problems with the site so, if you see an index file, sorry but you have to try and imagine what it looks like.
May 22, 200818 yr I don't know if your host support php but a simple php include is the easiest way to add things to your website you need on every page. just put all your html code you have for the side bar in a new file for example sidebar.php. Then put this code in you index.php ( you need to change it to .php) where the side code once stood. <?php include("sidebar.php"); ?>
Create an account or sign in to comment