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

Adding pages to your site menu with powerCMS Templates

Thread began 6/04/2010 9:30 am by martin384871 | Last modified 6/24/2010 3:30 pm by martin384871 | 3799 views | 5 replies

Ray BorduinWebAssist

You may be able to use template pages in site sculptor to achieve the result you are looking for.

You could add the editable region to the template that is created in the /Templates/ folder to add the side navigation area.

Then use menu writer to create the menu you want to add. I believe you can only add tables to loop on in the menu writer wizard, so you will have to update the recordset on the menu include after it is created. So you can either add it entirely later, or use the ps3_contents table where you want the links to be updated through powerCMS. That will set up a recordset with the correct columns you will use and the correct repeated regions, so that might be the best bet to get started.

Then you will open the menu.php page created update the created recordset (or create a recordset to use with a repeated region if you are doing it manually).

The new SQL statement will look something like:

SELECT C2.ContentGroup, C2.ContentPageSetOrder FROM ps3_contents AS C1 LEFT OUTER JOIN ps3_contents AS C2 ON C2.ContentPagesetParentID = C1.ContentID WHERE C1.ContentGroup = '[YourCMSContentName]' AND C2.ContentPageSetOrder IS NOT NULL GROUP BY C2.ContentPageSetOrder ORDER BY C2.ContentPageSetOrder DESC



That will get you all of the template derived pages in a recordset that you can then use to create the menu links like:

<a href="YourTemplatePage.php?[YourCMSContentName]=<?php echo $row_YourRecordsetName['ContentPageSetOrder']; ?>">



That should be used with the correct opening path to get to the page... it will already be in the repeated region if you use the table looping feature when creating the menu, or you add one now.

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