Add a button

AlexFallen

Developer
Jul 19, 2011
490
64
Hi,

If you are guys are familiar with Rev's Habbo Skin, you'll know there's usually a button up by the sign out, which says "Enter Hotel", I want a button like that, that leads to housekeeping, is that possible and if so, what's the code to do so?
 

AlexFallen

Developer
Jul 19, 2011
490
64
Code:
Why hello there devbest :) i am finaly leaving UberCMS forever, and starting to learn my ways around RevCMS.
But, time for my little tweak. So, ive noticed that the HK tab looks jacked up at some times, and kinda wierd. Sometimes, it just makes stuff look so compacted.. So, here is my N00B proof tut and release on how to make a HK button :)
So, here is a screen shot -> http://prntscr.com/adju4
 
Right, so first thing to do is to navigate through your htdocs / wwwroot and go though app/class.template.php <- open that file.
Now you should look for
PHP:
$this->setParams('housekeeping', '<li><a href="ase/">Housekeeping</a></li>');
change that line to
Code:
 
$this->setParams('housekeeping', '<a href="/ase" class="new-button red-button" style="margin-right:5px;margin-left:5px;"><b>Housekeeping</b><i></i></a>');
 
Now you will have the base done :)
Next step is to got were ever you want to - for this example, me.php - and look for the enter client button that stays up next to the header. , under that code, add {housekeeping} thats all!
More tweaks to come :)
 

Users who are viewing this thread

Top