SnippetMaster Support Forums
Return to main website
 
May 23, 2012, 08:26:14 PM
* Show unread posts since last visit.
* Show new replies to your posts.
Welcome, Guest. Please login or register.
Did you miss your activation email?
May 23, 2012, 08:26:14 PM

Login with username, password and session length
Search:  
Advanced search
* Home Help Search Login Register
SnippetMaster Support Forums  |  General  |  General Discussion & Support  |  Topic: Snippet Tags in Meta « previous next »
Pages: [1] Print
Author Topic: Snippet Tags in Meta  (Read 546 times)
Giraffeweb

Posts: 32


[-] Snippet Tags in Meta
« on: January 14, 2011, 08:41:50 AM »

Now I have a client that wants to edit the meta tags.   I am fearful because I can see them deleting necessary ending or starting tags, because the only way I can get the snippet tags to work is if I put them in the html above the <title> tag and then end it after the <keywords.../> tag. This then requires the client to have to click on the HTML button in the editor to change the meta information.

I tried this:
<title><!-- #BeginSnippet name="HomeTitle" -->Asbury Hills Summer Camp<!-- #EndSnippet --></title> 

but the browsers show the snippet at the top line where the page title goes.  (see exampe: http://www.asburyhills.org/index1.php) Snippetmaster shows it correctly in the editor though.

I think there may be no way around it but to enable the client to edit the pages using html and cross my fingers they don't delete necessary code but has anyone else tried this and if so, what did you do?
TIA - Judy
Report to moderator   Logged
admin
Forum Administrator
*
Posts: 3070

SnippetMaster Author


WWW
[-] Re: Snippet Tags in Meta
« Reply #1 on: January 14, 2011, 09:56:31 AM »

Hello,

Yes, if you allow the customer to edit the "WHOLE PAGE" (super user or admin privileges), then they can enter into HTML mode while editing, and edit the meta tags including title...

The problem, as you know, as they could potentially mess up the website since now they can edit everything on the entire page including navigation, etc.

The only other solution I can think is to wrap the title tag with Snippet Tags, and then allow them to edit that..but tell them NEVER to modify the title tag itself.. only the text inside it.   (So instead of the example you have above, you could do this:

<!-- #BeginSnippet name="HomeTitle" wysiwyg="off" --><title>Asbury Hills Summer Camp</title><!-- #EndSnippet -->

I hope that makes sense?
Report to moderator   Logged
Giraffeweb

Posts: 32


[-] Re: Snippet Tags in Meta
« Reply #2 on: January 14, 2011, 10:03:16 AM »

Yes - that makes sense. It is how I have it set up now for them. I only did one page and wrote some quick instructions telling them not to touch anything other than what I instructed, use no double quotes, only use dash, pipe or underscore.  And, I told them if they mess up one other part of the code, the search engines could potentially drop their page (actually pages since it won't crawl the rest of the site).   I believe that I made it so easy for them to change other things on the site using the snippetmaster, they think I can make it as easy to do any of it, like change the flash slideshow they wanted, etc.
Report to moderator   Logged
Giraffeweb

Posts: 32


[-] Re: Snippet Tags in Meta
« Reply #3 on: February 09, 2011, 08:14:36 AM »

Well - I was testing this in FF (latest version).  When they click on the HTML window it is blank in IE8 & compatibility mode (I turned off pop up blocker just to see if that was it). Only for the meta snippet.  The other snippets they can see the html fine.

Anyone else have this issue?  Right now I am stumped.
Report to moderator   Logged
Pages: [1] Print 
SnippetMaster Support Forums  |  General  |  General Discussion & Support  |  Topic: Snippet Tags in Meta « previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!