View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Getting it to work with an existing site

Thread began 6/16/2009 4:10 pm by sales189614 | Last modified 6/17/2009 5:01 pm by sales189614 | 3169 views | 11 replies

sales189614

Oh yeah, so say I create a page name of index with a content area of main (all of the pages will have just one content area, that is called main, that is ok right?). So say I go into the program and create that, then put the content section into the little wysiwyg editor. Won't it overwrite my already uploaded index.php and how does it get the info for the rest of the page, everything that is not in the main content area??? I create the sites in Dreamweaver and use the template feature it has and editible regions (usually just one), so if I create the page in the cms, where does it get all of the templated info. I guess that's what confuses me. I am starting to understand that the database holeds the content and it needs to be in the database, but I don't know how it gets the rest. Because if the page is already uploaded to the server, does it overwrite it? How do I get the images to display in the wysiwyg editor.

Also, is it possible to hide the developer notes cause that's something I don't want my client to have to worry about or me have to explain that it's not for them. Can that somehow be hidden from the program???

---------------------------------------------------------
Ok, I tried it. I took a page that was already there and created the content in power cms. Then I made sure that the content was replaced by <?php echo WA_getCMSContent($database_localhost, $localhost,"contact", "main"); ?> since it would now be taking the content from the database and now that page gives the following error when trying to access it in the browser:

Fatal error: Call to undefined function: wa_getcmscontent() in /home/foxfiren/public_html/contact.php on line 73

Line 73 is where <?php echo WA_getCMSContent($database_localhost, $localhost,"contact", "main"); ?> is.

So now I am really confused. If you're supposed to create the content sections in power cms, and replace the content that was there with the php code it gives you, then why the error? Now I am confused.

HELP???????

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