Hi everyone.
Just installed version 2.1 - absolutely suberb!
I wish to be able to integrate only the main gallery part (eg. not the navigation on the left hand side or anything else - just the photo section) in to an extrenal standard HTML page.
I've tried loading the gallery URL in to a new frame of this HTML page but this will of course load the whole page with the all the navigation links on the left etc...
One option would be to remove the left hand navigation on the theme template but ideally I wish to keep this for admin purposes (updating the gallery). This way I can update the gallery using the gallery URL but the external HTML page will just display the main gallery section.
Is there anyway I can load JUST the main gallery part of the page in to a seperate HTML page?
Thanks in advance for your time and advice!
Phil
Posts: 352
Have you tried this?
http://codex.gallery2.org/index.php/Gallery2:How_to_visually_embed_G2_in_your_own_website_using_embedded_mode
Then you can add the line
right under
and it won't show the sidebar while in embedded mode in your website. Also take a look at http://codex.gallery2.org/index.php/Gallery2:Integration_Howto and look inside the file modules/core/classes/GalleryCapabilities.class for other GalleryCapabilities settings.
Steve Lineberry
Posts: 2
Hi Steve
Thank you so much for the reply. I was aware of the embed page and code but I did not know about the following code line: GalleryCapabilities::set('shosSidebar', false);
This is ideal for me!
Thanks again Steve, ;-)
best wishes
Phil
Posts: 3
Thanks for this code.
There is something wired about it though ( or i am not capable ;)
I use it in one website with success (gallery 2.2) http://rotaryclub.porto-foz.org/galeria.php
Now i tried to implant it to another one but downloaded the latest gallery 2.2.1 and
does not show any effect.
says it is deprecated.
So i changed the call to
which as well does not work.
Hope you can help me
Thanks
Andreas
Posts: 21
if you run it as simple as I do mine, I may be able to help. check it:
http://www.downeastcyclingclub.com/pLog/index.php
requires a little coding but not much. it is real simple to do and you can be up in no time. let me know!
Posts: 3
thanks,
solved all my problems.