Pages: [1] |
|
|
Author |
Topic: HTML issue: Snippetmaster installed. (Read 209 times) |
jonnynewbreed
Posts: 3
|
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.
|
|
|
|
Jenkinhill
|
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.
|
Kelvyn
|
|
|
jonnynewbreed
Posts: 3
|
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.
|
|
|
|
Jenkinhill
|
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.
|
Kelvyn
|
|
|
|
|
Pages: [1]
|
|
|
|