close ad
WARNING: Do Not Install the DREAMWEAVER CC 2017 or 2018 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

PowerCMS comments out PowerGallery code

Thread began 11/18/2011 4:44 pm by sales189614 | Last modified 11/21/2011 1:27 pm by sales189614 | 458 views | 2 replies

sales189614

THE SOLUTION (if you can call it a solution)

Ok, so Dani just got back to me, and I am shocked. For anyone who doesn't know this, and I didn't, "PowerCMS and PowerGallery 2 are not currently compatible".

So if anyone runs into this same problem, this is what needs to be done, and this is copied and pasted directly from my support ticket:

The issue is that you are copying the PowerGallery PHP code into PowerCMS. There is two issues with that:

1. You can't copy PHP code into a ckeditor because PHP is a server side code
2. PowerCMS and PowerGallery 2 are not currently compatible.

However, I have a work around that should let you add PowerGallery to PowerCMS.

Basically we will need to convert the PowerGallery PHP code to HTML before inserting it to the CMS area. As an example, if you have a PowerGallery code:

<?php
$pg_id = '1';
$pg_theme = 'dark';
include('/Users/dchankhour/Sites/test/powergallery/galleries/ribbon_fullsize/index.php');
?>

and replace it to the following:

<input id="1" name="powergallery" theme="dark" type="hidden" value="/Users/dchankhour/Sites/test/powergallery/galleries/slideshow_dissolve/index.php" />


The Two important thing to match is the id and the path.

Once you have the html, you can insert that into the CMS area.

Then, you will need to replace the following files which i'm attaching:

1. WA_CMS.php in the WA_CMS folder
2. library.php in the WA_CMS folder.

Once you have done that you should be able to use PowerCMS to load Galleries.

I am attaching the WA_CMS.php and library.php that Dani provided me with. I need to let you know that he also edited WA_CMS.php to get rid of the edit function showed on the page if you are logged into PowerCMS, so please be aware that function has been taken out.

Anyways, this has absolutely cemented my decision to never again purchase anything else from WebAssist ever again.

I hope this can help someone else, that is the only reason I am posting it.

Attached Files
136012.zip

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

Content

rating

Layout

rating

Ease of use

rating

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...