Share » Forums » General » Trouble displaying protected content...

Trouble displaying protected content on the homepage

Trouble displaying protected content on the homepage

Friday 10 August 2007 1:10:31 pm - 3 replies

Author Message

Tony Wood

Saturday 11 August 2007 2:53:12 am

Hi Chuck,

You have a few options that might aid you here:

1. Copy the articles you want on the homepage folder and use this and give anon access
2. Add an alternative location and give anon access to the alternative location
3. Set anon read access to the nodes you want on the home page (a bit of an overhead this one)
4. Code the fetch to use an anon override so you can retrive any article whatever the access right. (Use carefully as i could break badly, but you will be testing so will be ok)
5. Make the homepage area a XML text field so you can enter content into it ( a bit lame this one)

Good luck..

Tony

Tony Wood : twitter.com/tonywood
Vision with Technology
Experts in eZ Publish consulting & development

Power to the Editor!

Free eZ Training : http://www.VisionWT.com/training
eZ Future Podcast : http://www.VisionWT.com/eZ-Future

Xavier Dutoit

Saturday 11 August 2007 11:16:14 am

Hi,

The easiest is usually to do a fetch while ignoring the access rules that's the 'limitation' parameter ( array() simply display all content, ) otherwise magic Kristof developed an extension to get the same access rights as user you define.

X+

http://www.sydesy.com

Chuck McCormick

Monday 13 August 2007 6:57:49 am

Thanks for the suggestions, guys. I'll let you know how it works.

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

36 542 Users on board!

Forums menu