Forums / Developer / New Extension for managing banners based on nodes
Bernhard Reiter
Tuesday 07 June 2005 12:36:13 am
I will release sometime around the weekend a new version.
It will contain some new features. You will be able to upload any kinds of files, not just images. You could then also upload flash, mp3s ...
For certain types you can specify if the filepath or the contents of the file should be returned. So you can for example assign html snippets to certain sections.The html you upload will of course be checked by a script, so that xss and the likes should not be possible (that means in effect no script tags and no onmousover and similar attributes)
Thanks for your suggestions Vitaly!
Friday 17 June 2005 5:05:05 am
I have just uploaded the new version.It contains all of the above mentioned features.
Kristian Hole
Friday 09 September 2005 8:12:05 am
Hi
I started looking at your contrib, and im wondering about something. It seems to me that everything is uploaded to your design directory. Wouldnt it make more sence to upload it to the "var" directory?
If i upload it in the admininterface now, the images are not available in the user site, because i use a different design.
Just my 50c
Have a nice weekend.
Kristian http://ez.no/ez_publish/documenta...tricks/show_which_templates_are_used http://ez.no/doc/ez_publish/techn...te_operators/miscellaneous/attribute
Friday 09 September 2005 10:51:55 am
Well, by the time i wrote it, it seemed to me that everything is stored qiuet random in the var directory. Also i liked the idea that everything belonging to the design is in one place.
But this decision is only suitable if you just maintain one siteaccess at a time, else it gets annoying.
If i would write the extension today i also would use the var directory for storage. This would also save me some other trouble in the code.One gets smarter everyday ;)
Perhaps i will take a day and complete my current additions to it, and make it use the var dir.