close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

page title, keywords, description

Thread began 5/27/2010 1:15 am by CraigR | Last modified 6/02/2010 7:20 am by CraigR | 2382 views | 7 replies |

CraigRBeta Tester

page title, keywords, description

i have attempted to make these page sections editable via the CMS interface, but as well as the relevant content, i get lots of superfluous text.

for example, within the title tags, instead of just the title, i get the following...

<title>
<div onclick="document.location.href='admin/contents_update.php?ContentID=15&returnPage=/index.php'" onmouseover="document.getElementById('content_19386_15').style.cssText=(' position:absolute;background-image:url(images/semi_transparent1.png); z-index:1000; width:'+this.offsetWidth+'px;height:'+this.offsetHeight+'px')" onmouseout="document.getElementById('content_19386_15').style.cssText='position:absolute;background-image:url(images/semi_transparent1.png); z-index:1000;visibility:hidden'">
<div id="content_19386_15" style="position:absolute;background-image:url(images/semi_transparent1.png); z-index:1000;visibility:hidden">&nbsp;</div>
<div style="position:absolute;z-index:1001;margin-top:-15px;margin-left:-17px">
<img src="images/CMSedit.png" border="0" onclick="document.location.href='admin/contents_update.php?ContentID=15&returnPage=/index.php'" />
</div><p>The page title text</p></div></title>
is it possible to format the content appropriately ?

Sign in to reply to this post

CraigRBeta Tester

fixed, i think

i changed the value of the final parameter in the WA_getCMSContent clause from false, to true.

seems to work, though i can't find reference to it in the documentation



In the html editor, unless i go to 'source' and remove them, paragraph tags are automatically added.

Whilst relatively easy to remove, do they have an effect on how keywords / description / title are read by search engine spiders ?

Sign in to reply to this post

Eric Mittman

To control the formatting of the source code you will need to make updates to a few pages in the site, you can do all of the changes at once with a global find and replace, here is a post with the details of what to look for and what to update it with.

showpost.php?p=60090&postcount=9

in your original post were you referring to the format of the source code or did you mean that extra code you didn't want was being included? Let us know if there is still a problem and we will look into with you.

Sign in to reply to this post

CraigRBeta Tester

thanks for the reply eric.

in my original post, it was the additional code i was having a problem with.

changing the parameter as i mentioned has resolved this part.

the only issue I now have is the tags which are saved along with the text in html editor.

whilst looking at the source, i can delete these tags, but i wondered if i could do this programatically on the instances where i was editing the meta tags.

i also wondered if these paragraph tags within the meta tags have an effect on how keywords / description / title are read by search engine spiders ?

Sign in to reply to this post

Eric Mittman

I do not know the impact of having the extra tags in your meta tag area for SEO purposes but I think it would be a good idea to not have anything here that you did not intent on. I'm not aware of any settings that would suppress the tags from being created in the first place so you may need to strip them out either manually or with some scripting.

Sign in to reply to this post

CraigRBeta Tester

Thanks Eric, I now know what I am dealing with.

Here is my idea - who knows, it may be a wishllist feature for the next release.
If you can think of a neater solution, please advise

Add a field to pcms2_contents as a flag as to whether or not to have html formatting.

if no formatting is required, use the php strip_tags() function on the string in the contents field.
.
edit the contents_insert and contents_update pages accordingly

Sign in to reply to this post

Ray BorduinWebAssist

Try naming your content "meta-keywords", "meta-description", and "meta-title".

That will automatically enable the editing of these fields using form text fields and memo fields so that the paragraph tag is not an issue.

It will work just like the optimization feature of the cms in site sculptor.

Sign in to reply to this post
Did this help? Tips are appreciated...

CraigRBeta Tester

Thanks Ray.

this moves my 3 meta-content areas to 'page optimization' which I didn't know was there! - perhaps I should read the instructions better !

Saves me a bit of work.

:)

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