I use a carousel on most pages of my site. What i want to do is this; on every page i want <get carousel url=bla/bla/bla> then , be able to alter the carousel once at its location to save me having to change every bloody page! i dont see the need to provide the code but if you think you need it, let me know. Its near 15.00hrs here in the uk, i have to go out but i will be back at 18.00hrs $5 in paypal for working solution Any help?
Hi, You need to create carousel.php file and insert <get carousel url=bla/bla/bla> line. And after that at every file you need to change you <get carousel url=bla/bla/bla> line to <?php include ("carousel.php"); ?>. Rudolf
Hi mate, i thought i had made it clear. eg i currently have a carousel on all pages of my site. Right now, if i want to change any aspect of that, i need to change it on all pages that contains the html,.......... now..... if i can add (instead of the carousel) a <get carousel> script of some sort and have one singular carousel that when i change it once, it effects ALL PAGES. In idiots terms if i write HELLO WORLD in one place Make it display in as many places as i like If i change it to SCREW WORLD, make it change in all places at once
You can also use the require function instead of include to stop your pages from running if the carousel doesn't work for any reason. I suggest using the include/require functions for all of the repeating sections of your site, such as the header & footer if they are the same on every page, and the navigation menus.