Making an object non-URL addressable

Making an object non-URL addressable

Tuesday 19 June 2007 1:39:14 pm - 4 replies

Author Message

Łukasz Serwatka

Tuesday 19 June 2007 11:27:42 pm

You can remove read permission for that objects, then fetch them in blog/article template with "list" fetch function where one of parameters will be hash( ... 'limitation', array() ... ). Of course create and edit permission are required for new comment posting.

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Xavier Dutoit

Tuesday 19 June 2007 11:35:41 pm

Hi,

Otherwise, I'd suggest to modify the view full of the object, so it's a redirect to its parent + #id

I put ids on these post (#n{nodeid} so you can redirect directly to them

X+

http://www.sydesy.com

Łukasz Serwatka

Tuesday 19 June 2007 11:48:01 pm

Following Xavier's suggestion you can find useful this contrib:
http://ez.no/community/contribs/template_plugins/redirect_operators

It is a bit old, so some tuning might be required, but allows you redirect to another URL directly from template.

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Xavier Dutoit

Thursday 21 June 2007 1:53:56 pm

Yes, that's one of the so useful one that it's activated by default on all my install... almost forgot that is isn't part of the default.

X+

http://www.sydesy.com

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.