PDA

View Full Version : Question: how can I limit Web editing?


skyhigh
09-23-2003, 08:42 PM
What I mean by that is...

I have made a website for a friend.

I only want the text to be edited by my friend at his computer. The rest is done by me.

I don't want him to accidentally change the layout, but I want him to be able to change the text of the site.

Is there a program, that makes this possible?
or is there any other way of doing this?

Thanks,

Also I am still very new at this so any help is appreciated.

GreyBoy
09-23-2003, 10:12 PM
If both of you have dreamweaver, you can use dreamweaver templates. Probably the same with front page. The best way to do it would probably comment as much as you can to let him know what he can change. ;)

skyhigh
09-24-2003, 05:25 PM
Thanks for the reply :D

I do use Dream weaver and I will try what you suggested..

Is there no other way though?

Thanks.

GreyBoy
09-24-2003, 08:10 PM
Well, if you use php, you can make two separate pages.

For example you have one page that contains the structural/graphical layout:

index.php


<html>
<header>
<title>Your Page</title>
</headr>
<body>
<table cellspacing=4 cellpadding=4 etc...>
<tr>
<td>Nav Box</td>
<td><? include("content.html"); ?></td>
</tr>
</table>
</body>
</html>


And your content page:

content.html

<html>
<header>
<title>Your Page</title>
</headr>
<body>
This is your content!!!This is your content!!!This is your content!!!
</body>
</html>

skyhigh
09-24-2003, 08:18 PM
I don't know any php...

So-far I've been learning a lot with simple HTML. (dream weaver) cgi-scripts and my latest challenge has been swich 2.0 witch looks very cool.

all basic stuff. :D

I hope 1 day I will be skilled enough to start with php or maybe java.

I really appreciate your suggestion though.

:rocker:

GreyBoy
09-24-2003, 11:00 PM
Thats cool!!! ;) Let me know when you are ready learn some PHP. I have a whole bunch of great php resources, tutorials, scripts, etc..

Also, if you get into Java, the best book Ive read is Oreilly's 'Java In a Nutshell'.

I think the best way for you right now is to use the dreamweaver templates and good commenting. Ive never really used Dreamweaver templates before, so Im not sure how much help I can be there. But, there are a bunch of people here that would know more about em and may even have some other suggestions. ;)

illusina
09-26-2003, 01:00 AM
The best possibility to limit the use that you are describing would be to use a regex parser (which would require perl, php, or some cgi language) or to use a basic php include() templating system. Once you learn php, all of this will make sense:).

-illusina

skyhigh
09-26-2003, 05:27 PM
Thanks again for the replies..

for now I am trying to catch up on the basics first. (HTML, CGI, swich) Hopefully I can start with Perl or php after that.

How difficult is it? say compared to other programming languages.

My background is in electronics, so I have had some training with Pascal. (long time ago :) )

O, and by the way GreyBoy, I looked into the templates option with dream weaver. I think it is possible with that.
:rocker: :rocker:

GreyBoy
09-26-2003, 10:42 PM
PHP is fairly easy to learn, esp if you have some prior experience with other programing languages. What you want to do is one of the easiest things to learn in php. If you rather learn something like perl or asp (if your running off a windows server), they are also some what easy to learn. I personally think php is the easiest, but that is just my opinion. ;)

BarkingSheep
10-04-2003, 06:00 AM
MacroMedia Contribute

think tehy are on V2 now ... but it allows people to edit the content but not the code.