Differences between revisions 5 and 6
Revision 5 as of 2005-09-19 23:49:01
Size: 1240
Editor: JosephGrist
Comment:
Revision 6 as of 2009-09-20 23:27:48
Size: 1244
Editor: localhost
Comment: converted to 1.6 markup
Deletions are marked like this. Additions are marked like this.
Line 18: Line 18:
See the attached InforMIT pub (attachment:InforMIT.tgz). You should just be able to drop this into your Lenya pubs dir and then restart Lenya. Then you can log in using the username "bmcavin" and password "password3". This has only been tested with Lenya 1.2.x. See the attached InforMIT pub ([[attachment:InforMIT.tgz]]). You should just be able to drop this into your Lenya pubs dir and then restart Lenya. Then you can log in using the username "bmcavin" and password "password3". This has only been tested with Lenya 1.2.x.

Setting up your pub to allow multiple editing areas on the page

There are many ways to configure your Lenya publication to allow for multiple editable areas on the page.

See the blog pub

tbd.

Use different doctypes

tbd.

Using BXE with multiple edit areas

At MIT, we sort of hacked a "multi-div" way of doing this. We actually created two separate divs within the body and made our xsl separate them on the page (and added bxe_xpath to them). The only problem is that this only works in BXE. It doesn't work in Kupu; it will put all the content in one block in Kupu and if you mistakenly delete one of the divs the content will totally break.

See the attached InforMIT pub (InforMIT.tgz). You should just be able to drop this into your Lenya pubs dir and then restart Lenya. Then you can log in using the username "bmcavin" and password "password3". This has only been tested with Lenya 1.2.x.

NOTE: You need to make sure you add the line <map:parameter name="rendertype" value="{1}"/> to your publication_sitemap.xmap inside the <map:transform src="xslt/page2xhtml-{4}.xsl"> clause. If you don't do this, you won't have the $rendertype variable. It's not there by default.

MultipleEditAreasHowTo (last edited 2009-09-20 23:27:48 by localhost)