HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


Moving the Login Block to global_banner area

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#101792 (In Topic #19964)

Fan in training

I would like to move the login block to the global banner area

Hi Everybody, I've been into computers for quite a while, but I want to concentrate more on coding in php, html5, css3.  Anyway, I'm working on a site right now, and I need to move the login block to the global banner area at the top right hand corner of the page in the global banner area.  Is there an easy way to do this?  I've been reading quite a bit on this system.
Back to the top
 
Posted
Rating:
#101794
Avatar

Well-settled

You need to put {$BLOCK,block=side_personal_stats} into the GLOBAL_HTML_WRAP template then start templating/re-styling the block.
Back to the top
 
Posted
Rating:
#101823

Fan in training

Hey Duder, I have nailed down the sliders, and friend added a third party one, but when I added code to Global HTML Wrap I got an error!  What are the rules behind adding to HTML Wrap, and is there some similar code I could look at? 
Back to the top
 
Posted
Rating:
#102225

Fan in training

We did figure this out.  Added the following to the global_html_wrap.tpl
{+START,IF,{$NOR,{$IS_HTTPAUTH_LOGIN},{$IS_GUEST}}}
<form title="{!LOGOUT}" class="inline" method="post" action="{$PAGE_LINK*,:login:logout}">
<input class="non_current" type="submit" title="{!_LOGOUT,{$USERNAME*}}" value="{!LOGOUT}" />
</form>
{+END}
 
Back to the top
 
There are too many online users to list.
Control functions:

Quick reply   Contract

Your name:
Your message: