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

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

CMS getting started

Thread began 5/22/2017 3:23 pm by john70964 | Last modified 5/22/2017 6:06 pm by Ray Borduin | 45 views | 3 replies |

john70964

CMS getting started

Hello
I am trying to get cms working but having some problems!
I have the database generated OK with twelve tables.
In DW I open a new php file.
I place some text in the body and highlight this.

In the top toolbar I open
webassist >cms>add content to power cms
The Content area wizard appears I enter body in the Content Area box and click finish.
The design page opens with a box called CMS Content but I cannot change the text.
I save the page.
I press F12 and the page opens blank.

Can you see what I am doing wrong please?

Code below

<?php require_once('Connections/PowerCMSConnection.php'); ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<?php require_once("WA_CMS/WA_CMS.php"); ?>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
</head>

<body>
<?php echo WA_getCMSContent($database_PowerCMSConnection, $PowerCMSConnection, 'cmstest', 'Body'); ?>
<?php WA_manageSEO(); ?>
</body>
</html>

btw I did find the login and method of entering new text but still nothing appears in the browser.

Thanks
John

Sign in to reply to this post

Ray BorduinWebAssist

The code looks correct. I'd have to debug it live to see the problem. Is it possible you are using a local database and haven't uploaded the data to the live site?

Sign in to reply to this post

john70964

The site and database are both on localhost. Does that make a difference?

Thanks

John

Sign in to reply to this post

Ray BorduinWebAssist

It makes a difference that I can't debug it, but it should work with that scenario.

Did you go through the CMS installer without issues? Can you test the Database connection in Dreamweaver without errors? Can you create a recordset and display content from your database in general? You would have to do more testing to narrow down how and why the issue occurs.

Sign in to reply to this post

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