How to wrap text with GT mod ?

If you've problems with unsupported - non official ;-) - functionalities use this forum please.
Post Reply
vrain
Posts: 52
Joined: Mon 20. Sep 2004, 04:43

How to wrap text with GT mod ?

Post 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
Lumimies
Posts: 63
Joined: Sat 25. Sep 2004, 14:03
Location: Suomi - Finland

Post by Lumimies »

Hi

i can not help but have this problem also!

Anyone?

Regards

Lumimies
User avatar
isac
Posts: 410
Joined: Tue 18. Nov 2003, 13:13
Location: Portugal
Contact:

Post 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
Pappnase

Post by Pappnase »

hello isac

good job!*lol
i only thought in to strange ways! :wink:
test a few things but this was really simple!
User avatar
isac
Posts: 410
Joined: Tue 18. Nov 2003, 13:13
Location: Portugal
Contact:

Post by isac »

Yes, it's easy :roll: but a little messy
Lumimies
Posts: 63
Joined: Sat 25. Sep 2004, 14:03
Location: Suomi - Finland

Post by Lumimies »

Hi

Ok.. Thank You very much!

Lumimies
vrain
Posts: 52
Joined: Mon 20. Sep 2004, 04:43

Post 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:
User avatar
isac
Posts: 410
Joined: Tue 18. Nov 2003, 13:13
Location: Portugal
Contact:

Post by isac »

I understand your problem. :?
vrain
Posts: 52
Joined: Mon 20. Sep 2004, 04:43

Post by vrain »

Its like getting a Porshe but not being able to go further than half a mile anywhere at a time. :roll:

V
User avatar
isac
Posts: 410
Joined: Tue 18. Nov 2003, 13:13
Location: Portugal
Contact:

Post 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:
Jérôme
Posts: 481
Joined: Tue 16. Mar 2004, 10:33
Location: Cologne, Germany
Contact:

Post 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.
Karla
Posts: 223
Joined: Tue 26. Oct 2004, 11:56

Post by Karla »

Post Reply