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

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Is there any way for SS to generate pages that aren't in one of the menus?

Thread began 10/29/2010 1:58 pm by Lon Winters | Last modified 11/04/2010 12:28 pm by Lon Winters | 824 views | 6 replies

saf01

Thx Dani. I

Ive added a new page as a cms page without remaking the whole SS site. Its works for me, but may or may not work for you.

I copied one my generated pages (eg aboutus.php as departments.php for example). In Dreamweaver with the departments.php open, I changed all 'About Us' PowerCMS Connections to 'Departments' in the title, meta description and meta keywords. Then I changed all the module positions php code e.g.

<?php echo WA_getCMSContent............ 'About Us' , 'leftmodule'); ?>

changed to

<?php echo WA_getCMSContent............'Departments' , 'leftmodule'); ?>

Then basically running an SQL statement in phpMyAdmin by copying and pasting the page values of an existing content from my site's exported db (pcms2_contents) table back into phyMyAdmin and run it as an SQL statement:


INSERT INTO `pcms2_contents` (`ContentID`, `ContentGroup`, `ContentRefID`, `ContentUserID`, `ContentValue`, `ContentDate`, `ContentPageName`, `ContentPageSetParentID`, `ContentPageSetOrder`, `ParentID`) VALUES
(13, 'Departments', 'meta-title', 0, 'Areas We Cover', '2010-10-31 22:50:48', NULL, NULL, NULL, 1),
(14, 'Departments', 'meta-description', 0, '', '2010-10-31 22:50:48', NULL, NULL, NULL, 1),
(15, 'Departments', 'meta-keywords', 0, '', '2010-10-31 22:50:48', NULL, NULL, NULL, 1),
(16, 'Departments', 'content', 0, '<h1>Page Title Goes Here</h1>title goes here', '2010-10-31 22:50:48', 'departments.php', NULL, NULL, 1),
(17, 'Departments', 'leftmodule', 0, '', '2010-10-31 22:50:48', NULL, NULL, NULL, 1)

I tested the new page, seems to work without any errors.

Please can you tell me are there be any complications doing it this way?

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