I have two websites. A personal site and a site for my high school grad class. I want both sites to have access to all my photos on plogger, but I want plogger conform to the seperate layouts of the two sites.
To test things out I tried copying the index.php into a file called grads.php. Both are exactly the same except for a different background color.
When I loaded grads.php, everything seemed normal. The thumbs for the collections showed up the correct background was visable. Here's the problem. EVERY link on grads.php to other parts of the plogger album defaults to index.php.
So if I wanted to go to a certain collection instead of getting http://www.domain.com/plogger/grads.php?level=collection&id=3 I end up this a s a link http://www.domain.com/plogger/index.php?level=collection&id=3
Why are the links defaulting to index.php rather than the current file name in the URL I have loaded? I've tried looking through the code and cannot find where this is set.
I have the same problem. I am not using the default file "Index.php" from the Plogger so I would like to change it in the link by the name of my gallery page...
Please, I really don't know how to fix this problem.
Ma page for the gallery exists in 2 languages, so only the main document is in the root folder with gallery.php, the real content are in 2 folders "en" and "fr".
Everything is working until I click on a thumbnail and then the link is calling index.php and I'm loosing all my website template to go on the simple "index.php" from the gallery. If I replace "index.php" in the url by my page url it's working fine.
the easy way would be to do a find and replace on the source files for index.php and swith it for your file name.. another way, slightly more involved (basic php knowledge reqd), would be to add the file name to the $conf array in plog-config.php say: $config['php_self'] = 'portfolio-photos.php5'; .. and then manually replace all instances.. for instance: $pagelink = $config['baseurl']."index.php?level=picture&id=".$row["id"]; would become: $pagelink = $config['baseurl'].$config['php_self']."?level=picture&id=".$row["id"];