Posted by Squillace on April 8, 2007 at 2:42am
Hi everybody,
I'm trying to integrate the Plogger image gallery on my Drupal website (5.1), but it is not working very well. In the Plogger website they says that I need to insert:
<?php
include("gallery.php");
?>...in the first line of my template page.
And I need to insert:
<?php
the_gallery_head();
?>... between opening and closing HEAD tags.
Then insert:
<?php
the_gallery();
?>...anywhere in my page.
But it doesn't work. I meen, it works, my gallery appears. But, first of all, every links are redirected to my frontpage because the default home of the gallery is "index.php". Second point, the gallery takes the default Drupal CSS styles, and I don't want to.
So, someone can help me to integrate this script?
Thanks!
P.S.: you guys don't need to recommend me to use Gallery2 module because I didn't liked it. It's to much complicated for what I want to show to my visitors. And the image.module is too simple. :p
Comments
Instructions in Plogger website
I forgot this, there is the page in Plogger website with the integration instructions: http://www.plogger.org/docs/config/#integration
But in my opinion those instructions are useful for a normal website, but not for a complex management system like Drupal.
Nobody can help me?
Nobody can help me?
Hi
Hello
I cant remind how, but I made it working ;)
Problem is caused by URL, so I made some change, you can find an archive with modified files. Just look at them, and replace URL (f.defaut.free.fr/?xxxxxxx) by yours, and It should works !
I would like to help you much, but its old and I cant remind what I've done (but It was pretty complex :()
Hope this helps :)
-fx
Link : http://f.defaut.free.fr/perso/divers/Temp/plogger.tar.gz
Thank you very much for your
Thank you very much for your help, Fxdfxd. Tomorrow or monday I gonna look all this stuff and try to make ma gallerys working. ;)
I was trying to put "Singapore Gallery" working, but it's not a good one. Plogger seam's much better. I hope I'll get it.
;)
Hugs
Cool :)
If it doesn't work, try to contact me via my website for exemple, I'll try to help you much :)
But basically, what's changed :
In plog-functiuns.php, in function "generate_url", I modified the URL, and hard coded them, because there was a problem with drupal, not having a "*/index.php" type URL, and the ? in the URL was problematic too (maybe if you can activate the URL options in drupal, this can solve the problem directly, but that was impossible with my webhoster)
In gallery.php, I modified the URL generation for the navigation menu, mainly in functions "generate_breadcrumb" and "generate_jump_menu". There might be some other change, and some more work needed, I didn't test all the feature, only the main navigation/display. There is still a bug, in the navigation menu, you cant acces to the collection level, I need to implement it :|
Good luck !
-fx
It worked!
Okey, the "custom files" you gave to me work fine. But, the style definitions still wrong. The site header background (I use Garland theme) is repeated in the node. How can I fix it?
I you want to talk we me more "easily", there is my MSN address: luispinto03@msn.com ;-)
(I saw in you gallery that you are (or speak) French... I speak French too)
Thank you very much ^^
I am also going to use this
I am also going to use this MODULE.
please let me know how you solved that 'header' problem ?
BTW, English only.
http://www.gigahertz.net.in
I got it to work...
I have managed to embed Plogger into my Drupal site.
and it WORKS... Ya.
Its not fully integrated with Drupal.
Plogger still stands alone.
But it does work.
Here's a write up on it.
http://2faroffroad.com/content/how-to-embed-plogger-into-drupal-6x
Please visit my site 2FarOffRoad.com