Login-Form in sidebar

mam885

Joined: 2013-07-03
Posts: 8
Posted: Sun, 2013-07-07 20:57

hello everyone

I would like to move the "logged in as" (or the login-button if i'm not logged in) section from the banner to the sidebar.

I assume other people also had this requirement, but I couldn't find a solution for this issue. I hoped there's a module for this. Maybe you can tell me the name of this module, if it exists. And if there's no module, maybe you can tell me how other people did this?

Furthermore I want to delete this "logged in as" from banner, but I cann't find the file where this is stored in. Could you help me find this file also? I'm using Clean-Canvas Theme

best regards
Michael

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Mon, 2013-07-08 00:52
Quote:
maybe you can tell me how other people did this?

Perhaps you could show us an example?
There is no module that does this that I know. So there is acouple of options.
1. Write your own module to do it.
2. Edit your theme to position items where you desire.
3. Develop a new theme.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Mon, 2013-07-08 04:57

To get you started add:

    <script>
  $("#g-login-menu")
    .appendTo("#g-sidebar");
  </script>

to the 2nd to last line of page.html.php right before </html>

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Mon, 2013-07-08 05:02

perhaps you want it to the top not the bottom of the sidebar:
prependTo instead.

Dave

_____________________________________________
Blog & G2 || floridave - Gallery Team

 
mam885

Joined: 2013-07-03
Posts: 8
Posted: Mon, 2013-07-08 07:15

yeah, you're go(o)d! :-)

Thank you very much

 
ion_boy

Joined: 2013-07-09
Posts: 1
Posted: Tue, 2013-07-09 21:02

works perfectly, i tried it too! thanks a lot