problem with my new section

Author Message

justin kazadi

Tuesday 08 April 2008 1:21:26 am

Hello all,

I have add a new section on my ez publish installation its id is 8. I had assigned it to a subtree ( whicth contains subitems ) but when a do :

- fetch(content,list,hash(parent_node_id,node_id)) to display all subitems nothing are displayed .

-on click on a bond of subitems (who belong to that subtree ) i have an error like access denied (i must log into to see the content of this node).
i don't anderstand this behavior bacause i don't assign to my subtree a restricted section.

thanks in advance.

The theory is when we know everything and nothing works.
The practice is when everything works and nobody knows why.
If the practice and theory are met, nothing works and we do not know why.

Albert Einstein

Carlos Revillo

Tuesday 08 April 2008 2:45:19 am

Hi. By default, eZpublish restrict access to new sections you create. So if you have assigned this sections to a subtree, this could be the reason of that access denied error.

I would try to give anomymous role access to the section you have created.
I think this will solve your problem.

justin kazadi

Tuesday 08 April 2008 3:59:12 am

Thanks Carlos Revillo ,

I have anderstand what you said but i don't know how to give anomymous role

access to the section .

Can you explain me how to do this .

The theory is when we know everything and nothing works.
The practice is when everything works and nobody knows why.
If the practice and theory are met, nothing works and we do not know why.

Albert Einstein

Xavier Gouley

Tuesday 08 April 2008 5:09:20 am

Hi again,

I forgot this detail.

Go to the Admin interface, "Setup" tab, and then "Role and policies" on the left menu.
For anonymous role, on the same line, you have a small pen on the right: click on it to edit role.

Now, you may see a line with "Content" and "Read" policy : edit it (with the pen on the right).
You will have a select list : with CTRL key pressed, add your section.

Click "Ok" twice to validate your change. You may clear cache also...

Good luck !

Xavier Gouley
http://www.gxapplications.com/eng_blog/GX-Admin-s-Blog/

justin kazadi

Wednesday 09 April 2008 6:30:40 am

hi ,

thanks ,

but i don't see the add section button ( i have seen just add node and add subtree). for this i have select my section and click ok. Now the subitems of the node on witch i assign my section are displayed correctly .

by

The theory is when we know everything and nothing works.
The practice is when everything works and nobody knows why.
If the practice and theory are met, nothing works and we do not know why.

Albert Einstein

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