PDA

View Full Version : Adding PowerGallery to Joomla Page


reneas.email303886
02-01-2010, 11:39 AM
Support:

I have a clients site set up at www.petsandthingsonline.com I want to add the gallery show it shows up within a page created in Joomla. I have copied the code for PHP and inserted in using the HTML editor within Joomla; however, nothing shows up?

Can you please tell me how to get PowerGallery to work within Joomla...Thanks!

Best,
Renea

Eric Mittman
02-02-2010, 11:56 AM
Do you have access to the source that is generated for any of your Joomla pages? If so you should check the source to ensure that the code for the gallery is there. So long as the code is in place on the page and the files that are referenced are present in the locations specified it should show the gallery. If you are not able to view the source of the pages it will be more difficult to determine if the gallery has been added to the page properly.

reneas.email303886
02-02-2010, 12:13 PM
Eric:

Sorry but I do not understand what you are referring to. I inserted the following code generated by PowerGallery:

<?php
$pg_id = '1';
$pg_theme = 'light';
include('/home/pnt/public_html/gallery/galleries/grid_lightbox/index.php');
?>

using the JCE editor withing Joomla saved the Article and published. When I view the page source code the:

<?php
$pg_id = '1';
$pg_theme = 'light';
include('/home/pnt/public_html/gallery/galleries/grid_lightbox/index.php');
?>

is no where to be found??

I really want to use the galleries within Joomla, please provide a detailed solution asap. Thanks!

Best,
Renea

Eric Mittman
02-04-2010, 01:08 PM
I'm not very familiar with Joomla and it's limitations in regards to adding php code. Do you know if you can add in other php code into the editor and get it to show on the page? If you are able to do this then it should be possible to get the PowerGallery included in your page. If you are not able to add in php code to your pages then you will not be able to add this.

nwidesigns
03-03-2010, 10:35 PM
In response to your question. You will have to use the JCE editor and in the setting make sure to enable insert php in the configuration. Then when you enter the code editor at the top right make sure the drop down is set to code view.

I am not sure this will work though and an extension might have to be created in order to make it work right.

Let me know if you found a way to do this. If you are still interested and have not had any luck. I wold be willing to try and create an extension to make this work.