I'm actually building a CMS presentation layer at the very moment that
does this (though using a different templating engine).  The app will
ship with a default set of templates, and then users will be able to
override them with different stuff if they need to.  The most common
requests have been for different navigation formats.  Bar with JS
dropdowns, tabs with a vertical menu bar, page-specific context menus,
etc.  You could probably do all that by reading out the menu content
from the DOM and rerendering it as needed, but that's a huge pain to
make it work across browsers.  By letting the menu get formatted based
on custom templates, you can set up whatever structure you need based
on the site's menu hierarchy.

Basically it saves me from having to build customized layouts for
every single client.  I can just build some base widgets that they can
assemble as they see fit, or they can build their own widgets.

cheers,
barneyb

On 11/17/05, Munson, Jacob <[EMAIL PROTECTED]> wrote:
> > You can only do presentation stuff with CSS, you can't manipulate the
> > document structure.  In general, CSS is enough, but not always.
>
> Excuse my thick skull, but what is a real world example where you'd want
> to let your users manipulate the document structure?
>
> ---------------
>
>

--
Barney Boisvert
[EMAIL PROTECTED]
360.319.6145
http://www.barneyb.com/

Got Gmail? I have 100 invites.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224574
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to