Pascal Van Hecke wrote: > I think the Nadmin image upload functionality is meant > as a user-friendly management tool for images that > change frequently, eg because linked to content. I > wouldn't use it for parts of you look and feel.
Another bet at leaving the images outside. I am fully convinced. > What I sometimes do with recurring chunks of html > where you only want to tweak some tiny bits or > properties every time you use it, is putting them into > a php class and storing that in a snippet. For every > bit that can change, you create a property that is > initialised on the default value. Take for example > some navigation elements on http://wwwdev.itforum.be I > would like to use further on in the site: > I put in the style something like > mgd_include_snippet("classes/vfb_framelet"); > $nav_framelet = new vfb_framelet(); > ?> <[body-attrs]> <? > $nav_framelet->display(); > > Possible content of that element on a page could be: > > $nav_framelet->framelet_align = "default"; [...] > By the way: even nicer would be if you could let these > "thingies to change" depend on the displayed article, > because then you could just use one style, reading the > properties from article parameters you can set via > nadmin? This is a really great idea; I will use it on my own projects; unfortunately my actual case is that the design is done with a visual html editor, and I just put it under midgard. Then this method needs _really_ thorough understanding of the generated html/javascript code. Unfortunately I cannot tell this from myself. :( Bye: Fery --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
