[Yanel-dev] Login Zone Link
Michael Wechner
michael.wechner at wyona.com
Wed Apr 7 11:44:46 CEST 2010
Bruno von Rotz wrote:
> Cool. Given this is JS, would this mean it's only visible for human
> users, not for bots and other "non-wanted" visitors?
yes, except the bot is javascript enabled.
Cheers
Michi
> Bruno
> Michael Wechner schrieb:
>> Hi
>>
>> I have slightly improved this by moving the code into various
>> core-webapp files such that it can be re-used more easier.
>> In order to use it within your own website/realm one can reference it
>> from the XHTML head
>>
>>
>> <head>
>> <!-- Yanel toolbar zone -->
>> <script type="text/javascript"
>> src="{$yarep.back2realm}{$yanel.reservedPrefix}/yanel-js/jquery/1.2.6/jquery.min.js"></script>
>>
>> <script type="text/javascript"
>> src="{$yarep.back2realm}{$yanel.reservedPrefix}/yanel-js/toolbar-zone.js"></script>
>>
>> <link media="screen" type="text/css"
>> href="{$yarep.back2realm}{$yanel.reservedPrefix}/yanel-css/toolbar-zone.css"
>> rel="stylesheet"/>
>>
>> </head>
>>
>> and add it to the body as
>>
>> <body>
>> <xsl:if test="$yanel.toolbar-status = 'off'">
>> <div id="yanelToolbarZone">
>> <div id="yanelToolbarZoneLink" style="display: none; height: 60px;
>> width: 60px;">
>> <a href="?yanel.toolbar=on" title="Turn on Toolbar" alt="Turn on
>> Toolbar"><img style="position: absolute; right:5px; top:5px;"
>> src="{$yarep.back2realm}{$yanel.reservedPrefix}/yanel-img/yanel_kangaroo.png"
>> height="48" width="109" border="0"/></a>
>> </div>
>> </div>
>> </xsl:if>
>>
>> Also we have added a new smaller logo displaying our new kangaroo.
>>
>> Cheers
>>
>> Michi
>>
>> Michael Wechner wrote:
>>> Hi
>>>
>>> I have added a login-zone-link to the from scratch realm, which
>>> means if you hover with the mouse at
>>> the upper right corner of your browser, then an image will appear
>>> saying "Login" and allows the user
>>> to click in order to get to the login screen.
>>>
>>> I think this is a very nice for people familiar with Yanel to find
>>> the login page without having to make
>>> a link available or remember some hidden URL.
>>>
>>> Please give it a try and let me know what you think
>>>
>>> Thanks
>>>
>>> Michi
>>
>
>
More information about the Yanel-development
mailing list