to add a gallery to Power CMS, you'll need to convert the add to site code for the gallery:
to a hidden form element:
<input type="hidden" name="powergallery" id="1" theme="DLM" value="/homepages/40/d369590415/htdocs/divineloveministries/gallery/galleries/flow/index.php" />
you will also need to edit the Power CMS Developer Notes code to use the wa_evaluate() function.
for example, the developer notes code may look like this:
<?php
include('/Applications/MAMP/htdocs/pcms_211/WA_CMS/addtosite.php');
echo WA_getCMSContent($database_PowerCMSConnection, $PowerCMSConnection, 'Content Group', 'ContentArea', false);
?>
you would need to change it to this:
<?php
include('/Applications/MAMP/htdocs/pcms_211/WA_CMS/addtosite.php');
echo wa_evaluate(WA_getCMSContent($database_PowerCMSConnection, $PowerCMSConnection, 'Content Group', 'ContentArea', false));
?>
Note: there is a bug we are aware of when using a gallery on a power CMS page. the issue is that Power CMS uses a variable for the solution path with the same name as the one for Power gallery. the fix is to add code to the admin_gallery/common/functions.php file, however the code is based on the names of the folders you installed Power CMS and Power Gallery to.
as an example, I have Power CMS installed to a folder named "pcms" and Power Gallery to a folder named "pg2"
in the admin_gallery/common/functions.php, i would add the following code at line 2:
$GLOBALS['absLink'] = str_replace("/pcms", "/pg2", $GLOBALS['absLink']);