New Extension for managing banners based on nodes

Author Message

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!

Bernhard Reiter

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

Bernhard Reiter

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.

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 20 2025 05:02:53
Script start
Timing: Jan 20 2025 05:02:54
Module start 'layout'
Timing: Jan 20 2025 05:02:54
Module start 'content'
Timing: Jan 20 2025 05:02:54
Module end 'content'
Timing: Jan 20 2025 05:02:54
Script end

Main resources:

Total runtime0.0152 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0054 589.8125152.6406
Module start 'layout' 0.00540.0032 742.453139.9531
Module start 'content' 0.00860.0044 782.406393.7500
Module end 'content' 0.01300.0022 876.156334.3047
Script end 0.0151  910.4609 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002717.7749140.0002
Check MTime0.00117.0939140.0001
Mysql Total
Database connection0.00085.085310.0008
Mysqli_queries0.002616.816930.0009
Looping result0.00000.117810.0000
Template Total0.001811.710.0018
Template load0.00106.805010.0010
Template processing0.00074.848110.0007
Override
Cache load0.00074.906210.0007
General
dbfile0.00021.463780.0000
String conversion0.00000.051840.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs