[Mozile] password for editing?
James A. Overton
james at overton.ca
Wed Sep 6 11:36:38 EDT 2006
Hi Johan,
Good questions. I'll add them to the FAQ so that the next person can
find the answers easily.
1. Password Protection: Mozile doesn't provide password protection.
You should control editing access using your server. You could
password protect the whole page, or only provide Mozile editing to
users who are logged in. The details will depend a lot on your server
configuration.
2. Activating Editing: Yes, you can turn editing on and off using
these functions: mozile.edit.enable() and mozile.edit.disable().
Here's an example using links:
<a href="javascript:void(mozile.edit.enable())">Enable Editing</a>
<a href="javascript:void(mozile.edit.disable())">Disable Editing</a>
Editing is enabled by default. (This answer only applies to Mozile
0.8 http://mozile.mozdev.org/0.8/index.html)
More documentation is available here: http://mozile.mozdev.org/0.8/
doc/index.html
If you don't find the answers there, just ask.
James
On 2006-Sep-06, at 9:56 AM, Johan wrote:
> Hi, mozile is looks very cool ;)
>
> It's something I would like to ask, I've been searching the webpage
> for ten minutes without finding the answers:
>
> Can I put a password for editing? And can I activate the editing
> with eg. a link instead of by clicking the text?
>
> thanks
>
> Johan
> _______________________________________________
> Mozile mailing list
> Mozile at mozdev.org
> http://mozdev.org/mailman/listinfo/mozile
More information about the Mozile
mailing list