close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Add a PowerGallery 2 gallery to a Power CMS page

Thread began 10/27/2011 10:02 am by Rune Brynestad | Last modified 2/08/2012 10:14 am by Rune Brynestad | 2968 views | 5 replies

Rune Brynestad

Add a PowerGallery 2 gallery to a Power CMS page

I want to add a gallery to a power cms page. I hav used the "Database Integration Update" from the Power Gallery 1 download page (Strange that this is not included in PowerGallery 2).

I have uploadad the wa_evaluate.php file from the PowerGalley 1 Database integration update to my site.

I have used this code in the CMS content area:
<input id="1" name="powergallery" theme="Av Moster" type="hidden" value="/kunder/" />

and finally edit my output the cms content to

<?php require_once("wa_evaluate.php"); ?>
<?php echo wa_evaluate(WA_getCMSContent($database_PowerCMSConnection, $PowerCMSConnection, 'Costa Blanca - Orihuela Costa', 'Hoved')); ?>

On my page I have this error message:

Fatal error: Cannot redeclare wa_evaluate() in /kunder/ on line 2

You can see it on live URL here:

I'm attaching my pages costablanca.php and wa_evaluate.php


Attached Files

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question





Ease of use


security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...