in reply to Re: Using WebGUI content management system?
in thread Using WebGUI content management system?

I am not sure how this relates to the MS Editing Component, but i have been using HTMLArea 3.0 as a means to allow my clients to edit certain portions of HTML on a page. It sometimes works in Mozilla, but it really is for IE only.

Just for the heck of it, here is a Apache::Template page that uses HTMLArea to allow the guys in my band to be able to change the content on their 'home pages' at our band site:

First, the revelevant portion from skeleton.html that activates HTMLArea:
<head> <script type="text/javascript" src="htmlarea/htmlarea.js"></script> <script type="text/javascript" src="htmlarea/dialog.js"></script> <script type="text/javascript" src="htmlarea/lang/en.js"></script> <style type="text/css">@import url(htmlarea/htmlarea.css)</style> </head> <body onload="HTMLArea.replace('page')">
And finally the editing page itself:
[% PROCESS admin/conf.html %] [% admin_id = session.get('admin_id'); admins = DBI.tie('admin_page','admin_id', clobber=1); admin = admins.$admin_id; IF params.cm == 'edit'; admin.page = params.page; END; %] [% WRAPPER admin/skeleton.html %] <h1>[% admin.login %]'s Page</h1> <div class="htmlarea"> <form> <textarea name="page" rows="20" cols="100">[% admin.page %]</textar +ea> <p><input class="grid" type="submit" name="cm" value="edit" /></p> </form> </div> [% END %]

jeffa

L-LL-L--L-LL-L--L-LL-L--
-R--R-RR-R--R-RR-R--R-RR
B--B--B--B--B--B--B--B--
H---H---H---H---H---H---
(the triplet paradiddle with high-hat)

Replies are listed 'Best First'.
Re: 2Re: Using WebGUI content management system?
by bradcathey (Prior) on Dec 29, 2003 at 19:43 UTC
    jeffa, many thanks. Checked out htmlArea and it looks very promising, and the price is right. I plan on spending some more time with it.

    —Brad
    "A little yeast leavens the whole dough."