TinyPortal

Development => International => Topic started by: vanstygma on September 24, 2007, 04:06:05 AM

Title: Centrar Titulos
Post by: vanstygma on September 24, 2007, 04:06:05 AM
Holas a Todos!

Mi Pregunta es sencilla : Como hago para centrar los titulos de los bloques ? Es que veo que quedan hacia un costado izquierdo y me gustaria verlos en el centro , que tendria que editar ?


Muchisimas Gracias!
Title: Re: Centrar Titulos
Post by: Reality12 on September 24, 2007, 05:18:46 PM
<center>titulo aquí</center>
Title: Re: Centrar Titulos
Post by: vanstygma on September 24, 2007, 05:27:11 PM
Gracias , pero no esta etiqueta no funciona ni siquiera en bbcode. ( Pruebenla en su TP y me dicen :P ) Creo q es algo mas del inde.template.php , pero no se en que parte.
Title: Re: Centrar Titulos
Post by: Reality12 on September 24, 2007, 05:51:56 PM
A mi me funciona bien, pero no sé como cambiarlo asi como deceas.

¿Quieres que les pregunte como se cambia permanentemente?
Title: Re: Centrar Titulos
Post by: vanstygma on September 24, 2007, 06:01:36 PM
Si señor , si no es mucha molestia y muchisimas Gracias =)
Title: Centering Titles
Post by: Reality12 on September 24, 2007, 06:19:24 PM
TP Team:

I'm not sure if you want to split this topic, since I'm now going to translate the main thing about this conversation, and it'll be for English Support not Spanish (International)...

Since I don't know how to do what is being asked, I'll come back and translate what you suggest.

The main question here is now how to center the block titles - permanently.

I've already explained the <center></center> option, but the individual asking, wants to know what code needs to be modified, where is it, and how can we make the titles in any block - centered - automatically.

There's got to be an modification we can make somewhere (I would think), but I've got no clue. I did a search here too, but couldn't find anything related.

How do we proceed? Any and all help is greatly appreciated.
Title: Re: Centrar Titulos
Post by: Reality12 on September 24, 2007, 11:41:47 PM
Anyone know?
Title: Re: Centrar Titulos
Post by: Reality12 on October 02, 2007, 11:55:18 PM
hey guys (and girls)? can you advise on what code needs to be modified to center block titles automatically?
Title: Re: Centrar Titulos
Post by: IchBin on October 03, 2007, 03:44:00 AM
TPortalBlocks.template.php search for:
echo $block['title'],'

Add your center tags to the code and see if it works.
echo '<center>',$block['title'],'</center>
Title: Re: Centrar Titulos
Post by: Reality12 on October 03, 2007, 06:38:42 AM
that easy huh? :D LoL

thank you IchBinâ,,¢!  :coolsmiley:
Title: Re: Centrar Titulos
Post by: vanstygma on October 05, 2007, 12:20:27 AM
Oh My God....

You are AWESOME , Alex an IchBin!!!! i love it this Mod so much!!!

Many and many and many thanks for your help!

Alex , :Muchas Gracias por tu apoyo y ayuda ,  ya que  insististes en esto , de otra manera no hubiera sido posible.   :up:  ^-^ O0
Title: Re: Centrar Titulos
Post by: Reality12 on October 05, 2007, 06:31:03 PM
con gusto. any time. :)