News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

[Theme] xLite

Started by 1MileCrash, October 08, 2005, 02:50:52 PM

Previous topic - Next topic

1MileCrash

for 1.0.5 now. for 1.1 soon.



expanded.


collapsed.


allows you to chose the width of the theme from admincp. also, a "site description" feature.

Live Demo




To add your own custom box,

index.template.php

The code for this part is all in one echo, and is commented. It's really easy to add your own.

Find this comment:

Quote// This is the table cell for the side info boxes, and side menu.Each Box is separated with a comment to make adding your own easier.

a few lines below, youll see the start of the menu box, begining with
Quote<!--Begin menu box-->

scroll down, untill you find the end of the key stats box
Quote<!--end keystats box-->

Below that line, is where you add your box. This is the code you must add.
Quote
<!--begin my custom box-->
<center><table class="connector" height="33" width="65"><tr><td></td></tr></table></center>
<table width="150" cellspacing="0" cellpadding="0"><tr><td width="22" height="27"><img src="' . $settings['images_url'] . '/tl.gif" height="27" width="22" alt=""/></td><td width="100%" class="topofbox">This is the title of your box</td><td width="22" height="27"><img src="' . $settings['images_url'] . '/tr.gif" height="27" width="22" alt=""/></td></tr></table>
<table width="150" style="border: 1px solid black"  class="boxbackground"><tr><td width="150">
Here, you add your content.
</td></tr></table><table width="150" cellspacing="0" cellpadding="0"><tr><td width="22" height="19"><img src="' . $settings['images_url'] . '/bl.gif" height="19" width="19" alt=""/></td><td width="100%" class="bottomofbox">&nbsp;</td><td width="19" height="19"><img src="' . $settings['images_url'] . '/br.gif" height="19" width="19" alt=""/></td></tr></table>
<!--end my custom box-->

voila.
The only thing php can't do is tell you how much milk is left in the fridge.



diplomat.

Not bad :), although since you have the Online box at the top, I think you should remove it from the info center.
avidSOUND.com: Where Aspiring Musicians Can Be HEARD!

Deaks

looks nice for white  well done,

Make some darker colours and id prob dl it
~~~~
Former SMF Project Manager
Former SMF Customizer

"For as lang as hunner o us is in life, in nae wey
will we thole the Soothron tae owergang us. In truth it isna for glory, or wealth, or
honours that we fecht, but for freedom alane, that nae honest cheil gies up but wi life
itsel."

1MileCrash

it is removed :P . But some how, boardindex.template.php got turned into that gibberish code when i tried to zip it. the host gave me an old backup of it. a few other things arent right either...
The only thing php can't do is tell you how much milk is left in the fridge.



dtm.exe


codenaught

Looks nice. It has an original neat look to it.   :)
Dev Consultant
Former SMF Doc Coordinator

forsakenlad

Looks cool :) But I will suggest you to modify the link tree folder icon so it goes well with the overall color of the theme ;)
Eren "forsakenlad" Yaşarkurt
SMF Friend & Former Team Member

1MileCrash

check the demo ;). uses the same icon as on.gif. Pic's are slightly old. Titlebg has changed too.

ok. i think i fixed boardindex finally. the images were linking to my site:(. And i had table backgrounds where i needed classes...
The only thing php can't do is tell you how much milk is left in the fridge.



forsakenlad

Eren "forsakenlad" Yaşarkurt
SMF Friend & Former Team Member

Crip

Very neat, clean and nice. :)

crip~
I have become comfortably numb!


I remember my mother's prayers and they have always followed me.
   - Abraham Lincoln -



TOTM Winner. | Demo Site1on1 Theme Support

1MileCrash

The only thing php can't do is tell you how much milk is left in the fridge.



dtm.exe

Tippmaster, you should use a new image for the navigation menu collapse button.  Just my opinion.

1MileCrash

Quote from: dtm.exe on October 08, 2005, 06:37:45 PM
Tippmaster, you should use a new image for the navigation menu collapse button.  Just my opinion.

sweet. Like what?
The only thing php can't do is tell you how much milk is left in the fridge.



dtm.exe


Deaks

I agree but make them left and right instead of up and down
~~~~
Former SMF Project Manager
Former SMF Customizer

"For as lang as hunner o us is in life, in nae wey
will we thole the Soothron tae owergang us. In truth it isna for glory, or wealth, or
honours that we fecht, but for freedom alane, that nae honest cheil gies up but wi life
itsel."

dtm.exe

Quote from: Runic_Warrior on October 08, 2005, 06:47:58 PM
I agree but make them left and right instead of up and down

Ahh, yes.

Racenut

Very nice theme. I hope a blue version is coming  :)

1MileCrash

yep. color variations will be made.
The only thing php can't do is tell you how much milk is left in the fridge.



trenchteam

Looks great tip! I'd go darker! ;D

1MileCrash

Quote from: trenchteam on October 08, 2005, 09:36:18 PM
Looks great tip! I'd go darker! ;D

hehe. it's a light theme..

im working on a dark one though.
The only thing php can't do is tell you how much milk is left in the fridge.



Advertisement: