[Yanel-dev] 404 -> page creation (if Yanel toolbar enabled)

Michael Wechner michael.wechner at wyona.com
Tue May 18 15:42:16 CEST 2010


Michael Wechner wrote:
> Bruno von Rotz wrote:
>> ... however, I would prefer that only people that are logged in with 
>> edit rights can see this link, others might get confused.
>> Not a priority, but a consideration.
>
> agreed. A quick fix would be to check the toolbar status, whereas a 
> more sophisticated approach would be to call the PolicyManager
> and check the authorization.
>
> I will try the quick fix for the moment.

done

http://www.yanel.org/zurich.html

Cheers

Michi
>
> Thanks
>
> Michi
>> Bruno
>>
>> Michael Wechner schrieb:
>>> Michael Wechner wrote:
>>>> Hi
>>>>
>>>> During a private discussion with Bruno we realized it would be nice 
>>>> that in the case of a 404 and if the Yanel toolbar is
>>>> enabled, then the 404 screen would provide links to either create 
>>>> this page
>>>
>>> I have implemented for the Yanel website a custom 404 with such a 
>>> "create new page" link, e.g.
>>>
>>> http://www.yanel.org/sugus.html
>>>
>>> I am currently adding some documentation how to customize the 404 
>>> screen.
>>>
>>> Cheers
>>>
>>> Michi
>>>
>>>> or create a redirect (in the sense of this page has moved)
>>>>
>>>> WDYT?
>>>>
>>>> Cheers
>>>>
>>>> Michi
>>>
>>
>>
>



More information about the Yanel-development mailing list