Fetching object in ezpublish

Fetching object in ezpublish

Monday 01 November 2010 4:34:38 am - 4 replies

Author Message

Eirik Alfstad Johansen

Monday 01 November 2010 9:01:52 am

Hi walidba,

Have you ensured that you have the proper rights to read the content of these "other" classes that you're trying to fetch? Also, of course, that they exist directly under the top content node (node 2)?

Sincerely,

Eirik Alfstad Johansen
http://www.netmaking.no/

walibda

Monday 01 November 2010 9:12:27 am

Thank you for your reply.

The nodes directly under the content node (node 2). But for the rights can you tell me how to check if I have the necessary rights.

Thanks!
Best regards,

Eirik Alfstad Johansen

Monday 01 November 2010 10:05:59 am

Hi walibda,

The easiest way to check if it's a rights problem is to run the code as an admin user. If this doesn't work, make sure that you are spelling the content class identificator correctly.

Sincerely,

Eirik Alfstad Johansen
http://www.netmaking.no/

walibda

Tuesday 02 November 2010 3:19:42 am

thank you Eirik.simply I forgot to call this method

$script->initialize();

Thanks!
Best regards,

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.