I've been scouring the web for help with custimization to some existing PHP code I've got my hands on and I'm really hoping that someone here can help me out or at the very least point me in a useful direction. I'm developing a website that that makes use of PHP and MySQL for its handling of some of its features. I'm hessitant to mention it because of the stigma the genre seems to have developed over the years, but nonetheless I need some help.
My website will feature two key sections: One will be a regular post of news, articles, updates and editorials. The second feature will be a regularly updated and archived collection of images. Although the website is by no means of the garden variety the common street name for such a website is that of a "webcomic".
If you can, please put aside any preconceived notions you might have about the insurmountable amount of webcomics out there that are horrendous and bad uses of server drive space. Please if you will, look at this thread as a request for aid from one web designer to several others.
Because I lack the PHP/MySQL knowhow I am building the navigation of the "webcomic" around the appliation Comikaze which works very near to brilliantly for what I'm trying to do. However, the disadvantage is when it comes to navigation of the "news" and the "comics".
With the unmodified code, the News posts are directly linked to the IDs of the comics. By default, when you view a comic the corresponding news post(s) are displayed on the same page. What I'm trying to achieve is to break the page down into two seperate pages, one to view the comics and one to view the posts. Each of them (comics and news) will be able to be navigated independant of one another.
I've figured out how to get a page to display only the comic(s) or only the news post(s). So that's taken care of. Likewise I can setup the pages so that you can navigate through the archived news or you can navigate through the comics.... but because of how the variables seem to be setup both cannot be navigated through independantly.
If you want to see an example of what I'm trying to achive, Penny Arcade has achieved what I'm after: news post navigation that is independant of the comic navigation.
The Comikaze code has a set of variables that perform the navigation in a default archive page called "archive_page.php".
<?=$comic->firstButton?>
<?=$comic->prevButton?>
<?=$comic->archiveButton?>
<?=$comic->nextButton?>
<?=$comic->latestButton?>
I've figured out how to change the code so that either the comic or the news post is what is displayed on this page. So my idea was if I can create a second set of variables I can point them to navigate on a new archive page.
So my question after all this long banter is this: How can I create a set of variables in this code and tell them to navigate through my own archive page completely independantly of the built in variables mentioned above?
I've been working on this off and on for months and now my sites launch date looms on the horizon, I really need to get this done because it's very important for personal and business reasons. If anyone can help, please let me know and I'm more then willing to answer as many questions as I can.
Thank you very much!