front navigation bug

36 views
Skip to first unread message

Aurélien Millet

unread,
Mar 28, 2012, 12:02:29 PM3/28/12
to centurio...@googlegroups.com
hello

front navigation only appears when I am logged in back office
otherwise, $this->navigation()->getContainer()->findOneByLabel('Frontoffice') equals null

I do not remember if it was always like this or if it already worked and this bug would come from a Centurion update

can someone help me with that?
thanks

Laurent Chenay

unread,
Mar 29, 2012, 3:20:25 AM3/29/12
to centurio...@googlegroups.com
I just try with version on clean Github version: all Frontoffice is not null.

Did you move the 'Frontoffice' node in admin? Did you set a permission on it?


Laurent Chenay
--


http://www.centurion-project.org
Lead developer of Centurion CMF



2012/3/28 Aurélien Millet <aurelie...@gmail.com>

Aurélien Millet

unread,
Mar 29, 2012, 4:59:47 AM3/29/12
to centurio...@googlegroups.com
I can confirm: on a fresh install of Centurion, there is not such a problem

I checked the files, there is no difference that could explain this behavior

in both cases (my application and the fresh Centurion install), I added 2 published pages under "Frontoffice"
"Frontoffice" node is at top level in navigation tree

found it: I deleted "anonymous" user in my application, adding it back solves the problem
thought it was a test back office user
IMHO, this is strange
for me, users are back office users, why require it to dsplay front office navigation?

anyway, thanks for your help

Aurélien Millet

unread,
Dec 5, 2013, 8:25:48 AM12/5/13
to centurio...@googlegroups.com
march 2012 => december 2013: this "problem" (at least, this behavior) still exists
back office "anonymous" user has to exist and be published to be able to see front office navigation when you are not connected as an admin to the back office... 8-O
Reply all
Reply to author
Forward
0 new messages