SimplePortal

Customization => Custom Coding => Topic started by: Costa on November 12, 2008, 03:34:28 PM

Title: Align the name of custom block
Post by: Costa on November 12, 2008, 03:34:28 PM
Hi folks!

By default, when we named a block, that name stay align to the left
It's possible change that? Align to the center or right?
If yes, how I do that?

the example what i want is in attach

Farewell
- costa
Title: Re: Align the name of custom block
Post by: Costa on November 14, 2008, 06:13:02 AM
Bump!
Title: Re: Align the name of custom block
Post by: [SiNaN] on November 16, 2008, 07:14:16 AM
You can do that from SPortal.template.php.
Title: Re: Align the name of custom block
Post by: Costa on November 16, 2008, 04:14:23 PM
How?

Sorry, i'm n00b :$
Title: Re: Align the name of custom block
Post by: [SiNaN] on November 17, 2008, 05:34:46 AM
Okay, just wait for 2.1 and I'll show you a trick than. ;)
Title: Re: Align the name of custom block
Post by: Costa on November 17, 2008, 08:38:08 AM
ok then, thank you
Title: Re: Align the name of custom block
Post by: Burke Knight on November 27, 2008, 07:53:59 AM
Ok, now that 2.1 is out, I also am curious to what this trick is. Must be something they added to make editing that easier. :)
Title: Re: Align the name of custom block
Post by: [SiNaN] on November 27, 2008, 08:55:51 AM
Not really, it's just a trick. Enter the block label like this:

[center]Block Name[/center]
SimplePortal 2.3.8 © 2008-2024, SimplePortal