php script for site navigation?
Posted by: jclay06
Posted on: 2007-03-08 22:13:00
I was wondering if it would be possible to make my site a little more automated ...
I run this site for a friend of mine who makes web comics, and currently I have the site organized in folders and such ... one of which contains all of the the image files and separate .php files for each one (giving each its own page). I have noticed that on some sites instead of have a ton of different pages, you stay on the same page and they php scripts to change the displayed image. Right now I have the homepage displaying the newest comic and then in the comic folder there are all of the comics (a jpeg file and a php file each) and an archive.php file with drop-down menus linking to each one of them. Also ... below the images on each page there are navigation links to go to the Previous and Next comic, and to the First and Newest comics.
I was wondering if there was a better way ... with less work involved? Each time I have to change the image on the front page, add the comic's page to the comic folder, update the links for the navigation buttons, and add the new comic to the archive.
I have a general idea of what to do but I'm not sure what all is involved in implementing it.
If you want to get a visual of what I have right now you can visit my site at thespiffylife.com.
I greatly appreciate any advice that you may be able to provide!
This site has been made on a "learn it as you go" basis ...
Thanks!