ezmedia, content/download and hidden nodes

ezmedia, content/download and hidden nodes

Tuesday 27 February 2007 3:50:54 am - 3 replies

Author Message

André R.

Tuesday 27 February 2007 6:53:06 am

On the second link there is no user access checking involved.

An alternative method could be to put the flash objects inside folders that do not show children. And if you are afraid someone would guess the node id you can also override full/flash.tpl to state that flash files are not viewable in full view.

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

Marko Žmak

Tuesday 27 February 2007 7:17:34 am

Yes I know I could do that, but in this folder (and it's subfolders) I have other contents (besides this flash nodes) that have to be hidden. So basically I should create overrides for all this types which seems like too much work. Having this nodes hiddens seems like the most elegant sollution to me.
Also, getting the flash from a plain file instead of getting it from the eZ engine speeds up my site a little bit.

Checking user acces on the second link doesn't bother me since the user acces for this content is checked on node level. Also, on this site I want this flash animations to be available to all users (including anonymous).

What I would like to know is how safe is to use the "filepath" attribute? Could this attribute change in the future so that my template won't work? Or is there some other reason why I shouldn't use it?

--
Nothing is impossible. Not if you can imagine it!

Hubert Farnsworth

André R.

Tuesday 27 February 2007 11:19:44 am

It shouldn't be any problems using this method, as long as you don't change the siteaccess name and so.

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

You must be logged in to post messages in this topic!

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