Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • I’ve been at this for a bit longer and tried some more including playing around with the plugin itself.

    First, I found a naive mistake (at least I think this was the correct fix). What should have been in my page instead of what you show on your site ( you show just <pixgallery></pixgallery> ) is the following:
    <?php PixGallery_PhotoGallery(‘<pixgallery></pixgallery>’);
    I only figured that out after looking at the plugin though I guess in a way it was obvious that there was no function call so where would the pixgallery calls be read in by?

    Anyway, the heart of this post is on the plugin:

    Line 47, shouldn’t it be something like:
    $PixGlobal_Url = get_bloginfo(‘wpurl’).”some additional path”;
    Note: the some additional path in your original plugin was equal to “index.php/photos/”. What should this be?

    Line 48, shouldn’t it be something like:
    $PixGlobal_RootWebsite = ABSPATH;
    Note: I think this gives exactly what you need here if I understand the plugin.

    Now, I’ve modified the <form></form> in the plugin so it will show both of these variables and let me change them. I’ve tried many permutations to no avail.

    Last note:
    I have a web site: http://www.kathyandglenn.com
    My blog lives down a directory though at:
    http:/www.kathyandglenn.com/gt-blog/
    I put the storage for the images below that (which was what I thought the intent was in your almost non-existent set up instructions).
    http://www.kathyandglenn.com/gt-blog/images/photos and
    http://www.kathyandglenn.com/gt-blog/images/cache

    So the core variables ought to be:
    PixGallery_RootPhotos = /images/photos/
    PixGallery_RootCache = /images/cache/
    PixGlobal_Url = get_bloginfo(‘wpurl’).”/images/photos/” /* though this doesn’t work so what would */
    PixGlobal_RootWebsite = ABSPATH /* provides proper path which in my case is big long unix path */

    I know I’m being thick but it’s hard sometimes to sort through others code (especially since php really is new to me!). From your site, it really does look like a great plugin and that is why I’m willing to do all this effort so I’m looking forward to getting this to work.

    I’m not sure I’m seeing the same thing. I’m not seeing any error messages when I activate the plugin. I am running this on a hosted site (running some flavor of Unix). I installed it ‘plain jane’ – no changes and saw no error messages BUT nothing seemed to work (put <pixgallery></pixgallery> in a page and saw nothing including no error messages). When I view page source, I do see that the plugin puts some formatting pieces in place but that is it.

    Based on that, I figured it’s not finding that paths so I tried monkeynotes fix but got nothing different.

    Given the samples, this looks like it could be a great plugin but at this point I can’t get it to do anything. Any ideas why?

    P.S. Other note: my site is similar to monkeynotes in that it is in a directory off of the main site so the ‘/images/photos’ and ‘/images/cache’ directories are off of the subdirectory where my WP install is not the root website.

Viewing 2 replies - 1 through 2 (of 2 total)