close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Inserting Powergalerie in powerCMS 2

Thread began 4/21/2010 6:13 am by mail326644 | Last modified 4/22/2010 2:36 pm by Jason Byrnes | 1158 views | 2 replies |

mail326644

Inserting Powergalerie in powerCMS 2

I have a problem. Please Help me?
On a website inserted PowerCMS and that works great.
Now i have a page with content and i wanted to place a Powergalerie galerie (latest version) into the content.
When i made the gallery i copy the phpcode and go tot PowerCMS 2 open the page en in de source code i insert that PHP code into the page afther upgrading the (page) php code s gone and no galerie.

I thought i am a little smart and made in Dreamweaver an extra row in the page above the POWERCMS Code en insert there the Gallery PHP. No luck the page stops loading afther a part of the gallery.

I had the same problem with inserting the gallery code to a page we could edit with the origional FCKeditor. No solution to find omn internet and in there Forum.

I hope that Webassist with all the great programmers can help me with a solution.

Greathings Harrie Denkers from Holland and also on behalves of our queen.

Sign in to reply to this post

mail326644

I am smarter than i think

I just wrote that the try to make a extra row in the webpage to ad the gallery did not worked but i was to quick it works. I just have to make one adjustment to the numbers of pictures in the row. Here you can see it.

portretfotografie.php

But strait inserting the code in PowerCMS is a better solution. I am still waiting.

Harrie Denkers
Still from Holland

Sign in to reply to this post

Jason ByrnesWebAssist

in the download center for power galery, there is a section titled "Database Integration Update" that has a fix for this.

extract the wa_evaluate.php file to the same location as the pages you are displaying the PowerCMS content,

and add the wa_evaluate() function around the developer nots.

form example, my developer notes look like:

php:
<?php

include('/Applications/MAMP/htdocs/pcms2/WA_CMS/addtosite.php');
echo 
WA_getCMSContent($database_PowerCMSConnection$PowerCMSConnection'page_content''Content'false);
?>



I need to change that to:
[php]<?php require_once('wa_evaluate.php'); ?>
<?php
include('/Applications/MAMP/htdocs/pcms2/WA_CMS/addtosite.php');
echo wa_evaluate(WA_getCMSContent($database_PowerCMSConnection, $PowerCMSConnection, 'page_content', 'Content', false));
?>[php]


When you add the gallery to your PowerCMS contyent area, use the
"Add to PowerStore" section of the add to site page.

Sign in to reply to this post

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