close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Site Sculptor - Adding New Page from Template, Linking the new page

Thread began 8/30/2010 9:06 am by rsawyer341759 | Last modified 9/08/2010 10:16 am by rsawyer341759 | 4686 views | 10 replies

rsawyer341759

Addition of New Pages on Site Sculptor

Jason,

Your solution is not quite right.

The second page is indexed with a number starting with 1. The original page is not indexed with a number, but with a NULL. The SQL in the Webassist code that pulls up the page is looking for the highest indexed number, using "1" will pull up the second page. A more appropriate statement would be


page.php?page=""


in referring to the original page. However, this would potentially cause problems in the PHP code, so I use the backslash escape character to remedy this.

I have also noted that this scheme is not foolproof. Since pages based off of templates can be deleted, the numbering system may fail if your delete pages in a random order. For instance, if you have five pages, and delete pages two and three, I believe the Webassist code would create a page numbered six, because five exists. However, there would only be four pages showing, and there is no way to know from the administrative panel what number the page should be, since it is designed to replace, not increase the number of pages.

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