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

adding new pages to a sitesculptor CMS

Thread began 6/28/2010 5:17 am by CraigR | Last modified 7/21/2010 8:52 am by CraigR | 1997 views | 5 replies

CraigRBeta Tester

adding new pages to a sitesculptor CMS

I have seen a few posts on this, whilst waiting for SiteSculptor upgrade solution from Webassist, here's a quick and easy way to add new pages to the sitesculptor CMS

(If you are squeamish around mysql and php, look away now)

In my case, I had a page called products.php already in the CMS, and I wanted to add productdetail.php

This is a 2 stage process, you need to add rows to a table in the database, and some php code to your page.

In order to add a new page to the CMS, you need to access the table pcms2_contents.

take a look at the table structure and find a some rows which relate to an existing page, preferably with the same editable regions as the page you wish to add. (image1)

Add a new row for each editable section you require, entering data in the ContentGroup, ContentRefID, ContentUserID, ContentPageName and ParentId fields. (Optionally, add content in the ContentValue field) (image 2).

Repeat this for all of the CMS regions you wish to add

The page should now appear in the CMS admin.

Now add some php to the page.
Wherever you wish the CMS content to appear, add the following line...
(this line relates to my productdetail page, content section.

<?php echo WA_getCMSContent($database_PowerCMSConnection, $PowerCMSConnection, 'Product Detail' , 'content'); ?>

Repeat for the other CMS regions.

And you're done, (image 3 shows new rows in table)

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