close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

How do you add keywords using a Power CMS content area?

Thread began 12/19/2013 5:01 pm by sandy170299 | Last modified 12/19/2013 6:17 pm by sandy170299 | 547 views | 12 replies |

sandy170299

How do you add keywords using a Power CMS content area?

When I do the following, <meta name="keywords" content="<?php echo WA_getCMSContent($database_PowerCMSConnection, $PowerCMSConnection, 'home', 'keywords'); ?>" />, all the keywords show up on the page, and they're not hidden. What am I doing wrong? Thank you.

Sign in to reply to this post

sandy170299

I just noticed that there is an issue with the Title tag as well.

<title><?php echo WA_getCMSContent($database_PowerCMSConnection, $PowerCMSConnection, 'home', 'title'); ?></title>

When I use this, it outputs a bunch of garbage, and not the actual title of the page. I checked the CMS area and there is no special formatting on any of the content areas. I even copied and pasted it into notepad first, to make sure it was really clean.

Sign in to reply to this post

Jason ByrnesWebAssist

send a link where i can see the problem please.

Sign in to reply to this post

sandy170299

I can only leave it up for a short time, because the site is live.

http://northstarministorage.com/

Please let me know when you have viewed it so I can remove the code, before someone sees it!

Sign in to reply to this post

sandy170299

I'm getting really weird code when I view the source.

<meta name="keywords" content="<div toolbar="inline default" rel="21" id="cms-content-21" class="cms-content"><div class="cms-edit-icon" style="opacity: 0.5;">Edit</div><div id="cms-content-21-overlay" class="cms-page-overlay"></div><div contenteditable="true" style="position: relative;" class="cke_editable cke_contents_ltr cke_show_borders">mini storage, indoor storage, boat storge, climate controlled storage, business storage, vehicle storage, household storage, document storage, moving storage, temporary storage</div></div>">

Sign in to reply to this post

Jason ByrnesWebAssist

are you logged in to the CMS Admin? that looks like code for the live edit.

Sign in to reply to this post

sandy170299

Yes, I was logged into the admin area. Good call! When I logged out, the garbage went away. However, that could be confusing to clients, if they happen to see that. Is there any way to prevent that from happening?

Sign in to reply to this post

Jason ByrnesWebAssist

add an extra false parameter:

<title><?php echo WA_getCMSContent($database_PowerCMSConnection, $PowerCMSConnection, 'home', 'title',false); ?></title>

Sign in to reply to this post

sandy170299

Sorry, that didn't work. it's all still showing up on the page.

Sign in to reply to this post

Jason ByrnesWebAssist

I'll need to troubleshoot directly, see the private message section.

Sign in to reply to this post
loading

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