Not signed in (Sign In)

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

    • CommentAuthorPlebbi
    • CommentTimeNov 22nd 2005
     
    I have successfully implented the gallery into my website there is just this one problem... when i press my link since i always include swtich.php and it includes

    case myndir;
    include('gallery/doc.myndir.php');

    yeah ok but i view my site.. and everything appears but the photos because it fails on the DIR

    http://link/~merithep/index.php?level=collection&id=1
    when it should be
    http://link/~merithep/index.php?skoda=myndir&level=collection&id=1

    or with CRUFT FREE URL's

    http://link/~merithep/myndaflipp_og_fleira
    when it should be
    http://link/~merithep/gallery/myndaflipp_og_fleira

    So well it never goes into the albums or shows photos... :/.. and ive searched the forum and the only post with the same problem was never answered
    • CommentAuthorPlebbi
    • CommentTimeNov 22nd 2005
     
    Never mind figured it out... :/... load_config thing just change path from / to /gallery/ :p anyway Mike and all in the dev team what a GREAT Album script Kudoz on the scripting
    • CommentAuthorPlebbi
    • CommentTimeNov 22nd 2005
     
    however im facing a new problem when i click the collection it takes me to a new page... wont stay in my design and i know its somewhere on the forum board but i cant find it again.... never took in into my calculations that i would end up facing the same problem :/
    • CommentAuthorPlebbi
    • CommentTimeNov 22nd 2005
     
    Nobb if i change this to /gallery/ the admin goes to hell :S.. this is a nightmare.. this is so nice program i dont want to drop it :s.. but ive tried everything :s.. i know off but i just I CANT i CANT get my gallery to work you can just view it right here

    http://www.dnsmerit.com/~merithep/index.php?skoda=myndir

    you can see i included the page but you wont see images.. unless i change load_config to /gallery/ but that fucks the admin up but ok... if you click it you go to a new site but not inside the design so this is just hopeless :s im fighting a lost battle arent I :S
    •  
      CommentAuthormike
    • CommentTimeNov 23rd 2005
     
    Plebbi,

    First of all, take a breath. I think we can figure this one out.

    My first thought is that the index.php that is "including" the gallery.php file must reside in the same folder as the gallery.php file. Your statement include('gallery/doc.myndir.php'); tells me that your index.php file which displays the gallery is one level below the actual gallery files. So, put them together. Also, I'm not sure what "doc.myndir.php" is, but i'm assuming you renamed gallery.php?

    I'm not sure what you are trying to do with the switches, but I think you can accomplish the same thing using seperate files. If you want the design of your website to be retained, then just edit index.php within the Plogger directory to contain your design elements.
    • CommentAuthorPlebbi
    • CommentTimeNov 23rd 2005
     
    Mike ok no its nothing like that its just

    Website is in a folder that is the main folder
    Plogger is in a diectory called Gallery

    Index.php in main folder is my webdesign
    i use <? include ('switch.php') ?> in a window in my design
    and in the switch.php there is a "case myndir" that fetches (gallery/indexg.php) and indexg.php is the File containing this

    <?php require("gallery.php"); ?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <?php the_gallery_head(); ?>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <title>Untitled Document</title>
    </head>

    <body>
    <?php the_gallery(); ?>
    </body>
    </html>

    and from there when it's displayed on my website... i see the inclusion but no photo because the paths are not ok.. because it should be pointed to /gallery/index.php not /index.php you see my problem :P but if i go by myself to www.link.com/gallery/indexg.php the design is ok its just when i include it the images get fucked up and if i press the collection it goes to main site because it isnt going to the right path the index file inside gallery :D

    Thank you Plebbi
    •  
      CommentAuthormike
    • CommentTimeNov 23rd 2005
     
    Right. And the paths are messed up because they are all being generated relative to the location where they are being included in, which in your case is not within the plogger folder.

    Notice that if you go to http://www.dnsmerit.com/~merithep/gallery/ everything works fine. What you need to do is just edit the index.php file within the gallery directory to make it look like your site, then change the links in your main site to point to http://www.dnsmerit.com/~merithep/gallery/index.php.
    • CommentAuthorPlebbi
    • CommentTimeNov 23rd 2005
     
    Thats what i cant do Mike :s.. becuase i dont want to create the same interface you see i just want to include the files not create the exact same design i just want to include the file isnt that a possibilitiy is the only way to copy and paste and make the same index file of my main design so i wont include just jump to the site =) there is no editing the gallery.php for to change some path name or anything if not hmm hopefully next release will allow you to :/.. but ok ill pull this off :/ no Switch to use for this =) anyway thanks for the advice.. :)...
    • CommentAuthorPlebbi
    • CommentTimeNov 23rd 2005
     
    Created Interface :) it works for now ;) the only thing im not liking is how the :/ collections dont you know arent that nice :/... sorry but because its included into such small space :d... they go all klumsy :S
    • CommentAuthorPlebbi
    • CommentTimeNov 23rd 2005
     
    Btw Mike :/ how ever i used one of the codes here to remove the filenames and put the real names but i removed it back because it came out all

    "Elfa....n"

    instead of

    "Elfa að ná sér"

    and i tried this stripslash thing i dont think i did it right because nothing changed =) any fix for this :D