SnippetMaster Support Forums
Return to main website
 
April 20, 2008, 09:42:31 AM
* Show unread posts since last visit.
* Show new replies to your posts.
Welcome, Guest. Please login or register.
Did you miss your activation email?
April 20, 2008, 09:42:31 AM

Login with username, password and session length
Search:  
Advanced search
* Home Help Search Login Register
SnippetMaster Support Forums  |  General  |  General Discussion & Support  |  Topic: HTML issue: Snippetmaster installed. « previous next »
Pages: [1] Print
Author Topic: HTML issue: Snippetmaster installed.  (Read 209 times)
jonnynewbreed

Posts: 3


[-] HTML issue: Snippetmaster installed.
« on: January 18, 2008, 04:01:28 AM »

I can't for the life of me figure out where in the HTML of my site I am supposed to stick the snippet tags.  I think it's a pretty easy thing to do but i'm having a bit of a hard time.

<!-- #BeginSnippet name="My editable area" -->



<!-- #EndSnippet -->

Thanks.
Report to moderator   Logged
Jenkinhill
Beta Tester

Posts: 347



[-] Re: HTML issue: Snippetmaster installed.
« Reply #1 on: January 18, 2008, 02:42:38 PM »

Put them around the element containing the text/images that you wish the site owner to be able to edit. The important think is to ensure that the tags are only put arount closed elements, so for example, you cannot put a start tag before a <div> and the close before the associated </div>. Same with <p></p> etc. Do not put the tags around any JavaScript or PHP.
Report to moderator   Logged

Kelvyn
jonnynewbreed

Posts: 3


[-] Re: HTML issue: Snippetmaster installed.
« Reply #2 on: February 03, 2008, 04:13:51 AM »

THanks for the heads up.  I've got it figured out and am able to update the info from any computer.

I'm still having a few small issues: 1.  My session is timing out for no reason and 2. I am unable to insert cells in the wysiwyg window.

I can figure out a work around for the 2nd questoin but the constant timeouts are annoying.
Report to moderator   Logged
Jenkinhill
Beta Tester

Posts: 347



[-] Re: HTML issue: Snippetmaster installed.
« Reply #3 on: February 03, 2008, 05:32:53 AM »

The timeouts are not a problem of SnippetMaster, but of the php session being timed out by the server.The default setting for session.gc_maxlifetime set in php.ini is usually 1440 seconds - about 24 minutes - perhaps your server has a shorter setting.

If you can edit php.ini on the server then increasing the value should solve this. Alternatively you may be able to overide the default using .htaccess - check with your host for the correct syntax for your server.
Report to moderator   Logged

Kelvyn
jonnynewbreed

Posts: 3


[-] Re: HTML issue: Snippetmaster installed.
« Reply #4 on: February 03, 2008, 05:41:50 AM »

Thanks.  I appreciate it.
Report to moderator   Logged
Pages: [1] Print 
SnippetMaster Support Forums  |  General  |  General Discussion & Support  |  Topic: HTML issue: Snippetmaster installed. « previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.4 | SMF © 2006-2007, Simple Machines LLC Valid XHTML 1.0! Valid CSS!