Page 1 of 1

How to wrap text with GT mod ?

Posted: Sat 23. Oct 2004, 22:12
by vrain
Hi, I have an artitle title thats being handled by GT mod. The problem is that some articles titles are long and do not wrap to the block width, i.e the title appears as one long-long line ( making the block wider than its set ), instead of going to the next line when it reaches the block width limit.

Can someone help?

Thx!

V

Posted: Mon 25. Oct 2004, 10:49
by Lumimies
Hi

i can not help but have this problem also!

Anyone?

Regards

Lumimies

Posted: Mon 25. Oct 2004, 17:49
by isac
Only this way right now

Code: Select all

{GT:mystyle}Part 1{/GT}[BR]{GT:mystyle}Part 2{/GT}
You have to break manually

Posted: Mon 25. Oct 2004, 19:00
by Pappnase
hello isac

good job!*lol
i only thought in to strange ways! :wink:
test a few things but this was really simple!

Posted: Mon 25. Oct 2004, 20:00
by isac
Yes, it's easy :roll: but a little messy

Posted: Mon 25. Oct 2004, 20:55
by Lumimies
Hi

Ok.. Thank You very much!

Lumimies

Posted: Sun 31. Oct 2004, 07:21
by vrain
You dont understand, adding <br> will not help if I am actually using the GT tag on a REPLACEMENT TAG. I am using it on Title, Subtitle and Author tags in the article template.

It becomes very inconvenient, because you have to choose either using GT or using replacement tags, which is not flexible.

If GT could have a parameter of column width set with automatic breaking, it would be perfect.

i.e

{GT:title:500}Text{/GT}

Is it possible to do this?

thx guys!

:roll:

Posted: Tue 2. Nov 2004, 16:02
by isac
I understand your problem. :?

Posted: Sun 7. Nov 2004, 06:56
by vrain
Its like getting a Porshe but not being able to go further than half a mile anywhere at a time. :roll:

V

Posted: Tue 16. Nov 2004, 13:10
by isac
vrain,

You can always try this solution (thanks to shocktone for the link)

http://www.alistapart.com/articles/dynatext/

pretty isn't it :lol:

Posted: Mon 22. Nov 2004, 21:46
by Jérôme
This is really nice - I haven't seen this one before. Unfortunately it is not implemented in phpwcms background.

For GD - I am sorry to say that it does not support word wrapping.

Posted: Tue 23. Nov 2004, 12:12
by Karla