Ferenc Engard wrote:

>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.
>
<minor plug>
phpmole image upload is select (many) drag and drop onto midgard 
element.. - its' how I did my photo album... -also does cool things like 
resize & rotate...
the theory on nadmin is that if put all the images into /images/name.jpg 
etc.
you zip up the images, then upload the zip file.
then paste the html in it should replace all the image locations......

I will probably do somthing similar on phpmole - drag a html file into 
style - and it will ask you if you want to upload all the images...
</minor plug> :)

>
>>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";
>>
>[...]
>
 you could use mgd_eval("<"."?".mgd_template($this->component)."?".">"); 
wrapped up in the $nav_framelet->display();

>
>>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]
>




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to