Not signed in (Sign In)

Vanilla 1.1.10 is a product of Lussumo. More Information: Documentation, Community Support.

    • CommentAuthormagmazing
    • CommentTimeJan 22nd 2007
     
    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.

    Any help would be much appreciated.
    • CommentAuthorjohanna33
    • CommentTimeFeb 20th 2007
     
    Hi !

    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...

    Is it possible ?
    • CommentAuthorjohanna33
    • CommentTimeFeb 20th 2007
     
    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.

    How to fix this inside the code ?

    Thanks !!
    • CommentAuthorjohanna33
    • CommentTimeFeb 23rd 2007
     
    Hi !

    Excuse me, but nobody on this forum is part of the "plogger team" ?
    Do I have another option to ask for any help ? Mail ?

    I'm sorry, but I made research on the forum and the website and no answer for this problem.

    If you want understand better, let's see ma gallery inside my website :

    http://www.josfolio.com/portfolio-photos.php5

    If I click on one "collection", the link will be :
    http://www.josfolio.com/index.php?level=collection&id=9

    And it should be
    http://www.josfolio.com/portfolio-photos.php5?level=collection&id=9

    And I didn't find in the code of the pages where to change the link and even if it is possible to do it.

    No idea ? (Pleeease...)
    • CommentAuthormagmazing
    • CommentTimeFeb 25th 2007
     
    Good luck getting an answer. I'm the original poster of this question and I've been waiting for over a MONTH now for any response.
    • CommentAuthortwa
    • CommentTimeFeb 25th 2007
     
    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"];
    • CommentAuthorjohanna33
    • CommentTimeFeb 26th 2007
     
    Thanks for the answer :)

    The thing is that I already looked for index.php in all the files of plogger to replace it but I didn't find it.

    Anyway, I"ll look tomorrow in the "plog-config" file and change the "config" and do the replacement.

    But I guess that if I didn't find the places to replace "index.php"..... I'll have some problem !

    Let's see.
    • CommentAuthortwa
    • CommentTimeFeb 26th 2007
     
    line 618: /admin/plog-admin-functions.php
    line 24, 34: plog-globals.php
    lines 331, 333, 335: plog-functions.php
    line 91: plog-rss.php

    you're better off using the first suggested method.. just replace index.php with whatever.php in the above bits.

    good luck
    • CommentAuthorjohanna33
    • CommentTimeFeb 27th 2007
     
    Thanks a lot.

    I don't know why I didn't find myself this places for index.php.
    I missed something.

    Anyway, it is working, even if I have no occurence of index.php in plog-globals.php...

    See you and thank you again.