UberCMS 2 How to do this..
Hey,
first off I'm in a little need of help with removing this;
http://i.imgur.com/hs8SJZ3.png
The code for it (I believe) is this;
Code:
<body id="%body_id%" class="<?php if (!LOGGED_IN) { echo 'anonymous'; } ?> ">
<div id="overlay"></div>
<div id="header-container">
<div id="header" class="clearfix">
<h1><a href="%www%"></a></h1>
<div id="subnavi">
<div id="subnavi-user">
<?php if (LOGGED_IN) { ?>
<ul>
<li id="myfriends"><a href="#"><span>My Friends</span></a><span class="r"></span></li>
<li id="mygroups"><a href="#"><span>My Groups</span></a><span class="r"></span></li>
<li id="myrooms"><a href="#"><span>My Rooms</span></a><span class="r"></span></li>
</ul>
<?php } else { ?>
<div class="clearfix"> </div>
<p>
<a href="%www%/client" id="enter-hotel-open-medium-link" target="client" onclick="HabboClient.openOrFocus(this); return false;">Enter Hotel</a>
</p>
<?php } ?>
</div>
<?php if (LOGGED_IN) { ?>
<div id="subnavi-search">
<div id="subnavi-search-upper">
<ul id="subnavi-search-links">
<li><a href="%www%/account/logout" class="userlink" id="signout">Sign Out</a></li>
</ul>
</div>
</div>
I tried removing the entire thing (White bar and all) but it never fully removed.
Secondly, I want to add another one of these;
http://i.imgur.com/g9egf2D.png
Under neath that one.. I tried again but all it does it just overlap it. I think it's not coded anywhere to add one below it BUT I have seen other sites with one below it so it's possible.
Re: UberCMS 2 How to do this..
Quote:
Originally Posted by
FatalLulz
Hey,
first off I'm in a little need of help with removing this;
http://i.imgur.com/hs8SJZ3.png
The code for it (I believe) is this;
Code:
<body id="%body_id%" class="<?php if (!LOGGED_IN) { echo 'anonymous'; } ?> ">
<div id="overlay"></div>
<div id="header-container">
<div id="header" class="clearfix">
<h1><a href="%www%"></a></h1>
<div id="subnavi">
<div id="subnavi-user">
<?php if (LOGGED_IN) { ?>
<ul>
<li id="myfriends"><a href="#"><span>My Friends</span></a><span class="r"></span></li>
<li id="mygroups"><a href="#"><span>My Groups</span></a><span class="r"></span></li>
<li id="myrooms"><a href="#"><span>My Rooms</span></a><span class="r"></span></li>
</ul>
<?php } else { ?>
<div class="clearfix"> </div>
<p>
<a href="%www%/client" id="enter-hotel-open-medium-link" target="client" onclick="HabboClient.openOrFocus(this); return false;">Enter Hotel</a>
</p>
<?php } ?>
</div>
<?php if (LOGGED_IN) { ?>
<div id="subnavi-search">
<div id="subnavi-search-upper">
<ul id="subnavi-search-links">
<li><a href="%www%/account/logout" class="userlink" id="signout">Sign Out</a></li>
</ul>
</div>
</div>
I tried removing the entire thing (White bar and all) but it never fully removed.
Secondly, I want to add another one of these;
http://i.imgur.com/g9egf2D.png
Under neath that one.. I tried again but all it does it just overlap it. I think it's not coded anywhere to add one below it BUT I have seen other sites with one below it so it's possible.
Code:
body id="%body_id%" class="<?php if (!LOGGED_IN) { echo 'anonymous'; } ?> ">
<div id="overlay"></div>
<div id="header-container">
<div id="header" class="clearfix">
<h1><a href="%www%"></a></h1>
<div id="subnavi">
<div id="subnavi-user">
<?php if (LOGGED_IN) { ?>
<ul>
<li id="myfriends"><a href="#"><span>My Friends</span></a><span class="r"></span></li>
<li id="mygroups"><a href="#"><span>My Groups</span></a><span class="r"></span></li>
<li id="myrooms"><a href="#"><span>My Rooms</span></a><span class="r"></span></li>
</ul>
<?php } else { ?>
<div class="clearfix"> </div>
<p>
<a href="%www%/client" id="enter-hotel-open-medium-link" target="client" onclick="HabboClient.openOrFocus(this); return false;">Enter Hotel</a>
// second button lul
<a href="" id="enter-hotel-open-medium-link" target="client" onclick="HabboClient.openOrFocus(this); return false;">ur second button lelelel</a>
</p>
<?php } ?>
</div>
<?php if (LOGGED_IN) { ?>
<div id="subnavi-search">
<div id="subnavi-search-upper">
<ul id="subnavi-search-links">
<li><a href="%www%/account/logout" class="userlink" id="signout">Sign Out</a></li>
</ul>
</div>
</div>
Fixed your, Um second button and I guess removing the upper part would be locating id subnavi in the global.css and editing it. =)
Re: UberCMS 2 How to do this..
Isn't it this code?
PHP Code:
<div id="subnavi">
<div id="subnavi-user">
<?php if (LOGGED_IN) { ?>
<ul>
<li id="myfriends"><a href="#"><span>My Friends</span></a><span class="r"></span></li>
<li id="mygroups"><a href="#"><span>My Groups</span></a><span class="r"></span></li>
<li id="myrooms"><a href="#"><span>My Rooms</span></a><span class="r"></span></li>
</ul>
Re: UberCMS 2 How to do this..
Quote:
Originally Posted by
resize
Isn't it this code?
PHP Code:
<div id="subnavi">
<div id="subnavi-user">
<?php if (LOGGED_IN) { ?>
<ul>
<li id="myfriends"><a href="#"><span>My Friends</span></a><span class="r"></span></li>
<li id="mygroups"><a href="#"><span>My Groups</span></a><span class="r"></span></li>
<li id="myrooms"><a href="#"><span>My Rooms</span></a><span class="r"></span></li>
</ul>
If I remove that then I'm left with 'Parse error: syntax error, unexpected '}' in C:\xampp\htdocs\includes\tpl\generic-top.tpl on line 6' . Exactly what I got before.
@Hindi if I do that then this happens;
http://i.imgur.com/TryvJk2.png
Re: UberCMS 2 How to do this..
Quote:
Originally Posted by
Hindi
Hotel URL? and add my Skype absterg3 - Ill fix it up for ya :)
http://127.0.0.1 ;P (Localhost in other words)
Skype isn't my preference for help.. threads are made for a reason (Plus i'm heading to sleep).
Tried a few other ways and didn't get far.
Re: UberCMS 2 How to do this..
Fixed the first problem. Just need help with setting up the button under the other one.. I've added the button like so;
Code:
<?php if (LOGGED_IN) { ?>
<div id="to-hotel">
<a href="%www%/client" class="new-button green-button" target="uberClientWnd" onclick="HabboClient.openOrFocus(this); return false;"><b>Enter Hotel</b><i></i></a>
</div>
<div id="to-hotel">
<a href="%www%/client" class="new-button white-button" target="uberClientWnd" onclick="HabboClient.openOrFocus(this); return false;"><b>Enter Hotel</b><i></i></a>
</div>
But it shows up on top of the other one for some reason.