Not signed in (Sign In)

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

  1.  
    Heeeey.
    I'm using Plogger 3 with the lightbox theme (http://www.innoshare.com/blog/item/plogger-with-lightbox) and I'm having trouble adding it to my site.

    Using the suggested method from the readme:

    To integrate Plogger into your website, place the following PHP
    statements in the HTML document you wish display the gallery:
    First line of HTML file -> <?php require("gallery.php"); ?>
    In HEAD section of HTML -> <?php the_gallery_head(); ?>
    Somewhere in BODY section -> <?php the_gallery(); ?>
    That's it!

    I assumed that for this to work the file would have to be in the same directory as gallery.php...
    http://www.mediadisplays.tv/gallery/gallery.html
    The files for the main site are not online here but surely the gallery should still show up?

    Out of interest i tried creating this page outside of the gallery directory and linked to the <?php require("gallery.php"); ?> file with the full url.
    http://www.mediadisplays.tv/new/imagegallerynew2.php
    Worse results. To be honest i can't really see how this code would work in the first place so I'm obviously misunderstanding something....

    Thanks in advance for any help!
    •  
      CommentAuthorkimparsell
    • CommentTimeAug 6th 2008
     
    Hi mediadisplays -

    To integrate Plogger into another page, the page must have a .php extension, not an .html extension.

    Have you read the integration instructions that are in the documentation on the website?
  2.  
    Thanks for getting back to me! The instructions are helpful, more so than what I had in the readme file. So I've got this far:
    http://www.mediadisplays.tv/gallery/imagegallery.php

    but still a couple of issues.

    1) it looks as if it's playing havoc with my javascript menu in the sense that it's missing and replaced with a big black box covering the gallery. I'm not too worried about this I'm sure we'll fix it eventually but any thoughts would be appreciated.

    2) When i click on the gallery link to enter the collection, it opens it without my own html as if I've never integrated it. I've seen other plogger gallerys that manage to keep the frame around it and i can't work out why mine works differently!

    Thanks again for your advice...
  3.  
    I revisited this today and it clicked... the links created by the gallery were all linking to the root of the gallery with variables determining the content, so obviously the index.php is always used to create a gallery page and my own html needs to be a part of that for it to show up on every page. I'm an idiot.

    So now everything works as it should apart from the lightbox effect, which is a whole other unrelated problem i think so i'll start a new thread.