I call all the pages on my homepage via "include". That means I have the "main" page, let's call it goto.php. So, if I want to go to the guestbook I enter http://www.myhomepage.com/goto.php?location=guestbook
What would be perfect, was if I could do the same with coppermine. Something like http://www.myhomepage.com/goto.php?location=photogallery&sub=displayimage&album=1&pos=1
Then I could add the followig code to the goto.php:
<?php
if ($location == "photogallery") {
$query_string = substr(getenv("QUERY_STRING"), strpos(getenv("QUERY_STRING"), "&") + 1);
$coppermine_page = substr($query_string, 4, strpos($query_string, "&") - 4);
$query_rest = substr($query_string, strpos($query_string, "&") + 1);
include($coppermine_dir . $coppermine_page . "?" . $query_rest);
}
?>
Maybe also:
How about making Coppermine call its own subpages via an "index.php"?
I'm not too sure if the phpnuke version would be what I need, although I don't have phpnuke installed??
Aleks.
PS. If I couldn't make myself clear post your questions here I'll try to answer them :)
won't work this way (at least not without massive modifications of coppermine) - check the template/theme stuff instead; you can make coppermine look&feel&smell just like the rest of your homepage.
GauGau