PDA

View Full Version : Use of $stylevar[center]


PitchouneN64ngc
06-10-2005, 10:00 PM
This hack allows you to use the $stylevar[center] variable in your templates.

Very useful for modify the 'header' template for center your logo or for anything.

Tell me if there is any errors after installation :)

Logikos
06-11-2005, 01:04 PM
No need to hack, you can just use align="center". Thats what the Devs at vBulletin.com are using in the templates.

afusion
06-11-2005, 02:06 PM
Indeed, I believe that $stylevar[left] and $stylevar[right] are there just for the right-to-left languages.

Allan
06-11-2005, 10:24 PM
yep Pit, very nice man ;)

a french lover :D

Zachery
06-12-2005, 06:12 PM
unessary and mostly in the end a waste.

If you don't rehack every time, your $stylevar[center] becomes blank. and as said above the stylevar[left] and stylevar[right] were done for other languages, center is always center