Basic Snippet Tag Configuration
How To Configure Snippets (Editable Portions Of Text) On Your Web Page
- Using your web or file editing tool of choice (Dreamweaver, Frontpage, Notepad), open the file that you want your client to be able to edit.
- Insert the following tags before and after each "snippet" of html code or text that you want your client to be able to edit:
<!-- #BeginSnippet name="Name the snippet here" -->
Editable HTML goes between the snippet tags ...
<!-- #EndSnippet -->
Note: It is possible to configure many different options for your snippet. You can restrict access to only some users, specify the size of the editor window, disable the wysiwyg editor, etc.. Click here for a complete list of snippet tag attributes.
- Using your FTP program, upload the file to the server. (ASCII format)
- Change permissions of the file so that the SnippetMaster program can write to the file. This usually means setting permissions for the file to at least 666 or 777. (File permissions can easily be set by using the CHMOD command feature within your FTP program. More information on changing file permissions.
Note: The SnippetMaster program runs with the same "user permissions" as the web server software. Since most hosting companies run their web servers using the "nobody" user, SnippetMaster will not be able to modify your web pages unless you first change their file permissions. (Because your web pages are owned by whatever user you use to log into FTP.)
- Test the page to make sure everything is working correctly and that's all there is to it. Your page is is now ready to deliver to your client!
Note: There are several example files to help you understand how the Snippet Tags work.
The example files are located inside the program folder where SnippetMaster is installed: