Hey there..
Just thought I'd let you know how I'm planning to use Snippetmaster; maybe it'll give you a few ideas, and maybe you can help me out with some problems I am going to face! (sorry this post may be quite long!)
OK, I know you said it's for editing pre-built websites, and not for creating new sites - but I thought I could adapt it to my needs. You see, I have been offering free hosting on my site for people's personal sites (friends at college, etc.) for a long time now, but they had to use Frontpage and I had to give away my website's password, so I looked into other methods and found this!
I installed snippetmaster some time ago, but had problems. Now I remembered about it, and tried the newest version of Lite - and it works fine so I think I'll get Pro soon.
Basically what I'm planning to do is as follows:
1. Create copy of snippetmaster for each user, in a directory like "/login-username"
2. In each user's directory [/username], add a template file [template.php]The template file will contain the stylesheet, the overall look of the site and also the following include:
<?php include("$page.htm");?>
3. In each user's directory, add 10 blank pages. [1.htm, 2.htm... 10.htm]Each of the pages will be as follows:
<body>
<snippet name="Main">
Insert your HTML here!
</snippet>
</body>
Basically a completely blank page
4. In each user's directory, an index pageThe index page will be as follows:
<? header("Location:template.php?page=1"); ?>
So that it goes straight to page 1.
So all the webmaster has to do is edit "1.htm" for the index page, and each other page for extra pages he/she wants on the site.
Problems:
- Is there any way to disable the "upload" function in Pro? Or only enable it if I allow them? Cos I don't want them uploading things willy-nilly
- In order to link to each page, they'd have to link to something like:
template.php?page=5
This could be annoying!
- If they wanted more than 10 pages, I'd have to upload more.
- If they wanted to change the template, I'd have to do it for them [I could make the template a snippet, but then would risk them messing it up]
- - - - -
What do you think? I think it could work pretty well.
Obviously, I'm not charging them for it - so is it ok for just a pro regular license?
Thanks for reading my ramblings!
Shaun
