Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2008-06-12 12:34:44

rainer
New Member
Registered: 2008-03-15
Posts: 8

strange title breaks when column is small

hi everyone,

not sure if this is the right thread for this, as I don’t have a clue what is causing this, but I think it must have to do with the inner workings of how titles get split if the space is not big enough for one line so it’s most likely something for developper support.

If I have the title “radio multikulti Solidaritätsparty”, the last word always overflows my column. If I put another character behind Solidaritätsparty, everything is fine, same thing when I use “Solidaritätsparty radio multikulti”. What in the world is going on here? you can watch that behaviour here:
http://abdel-nour.com/alhamraneu/events/

I’m using textpattern 4.0.6 and call the titles with a misc form:
<ul class="menu"> <txp:article_custom form="subnav" limit="3" section="events" sort="position asc" /> </ul>

my article_costum subnav looks like that:
<li<txp:rvm_if_this_article> class="active"</txp:rvm_if_this_article>><a href="<txp:permlink />"><txp:title /></a></li>

I’d be glad if someone could explain what could be the cause of this unpredictable behaviour or point me to the code that’s in charge of displaying the titles to have a look at it myself (though I’m not good in PHP)

thanks
rainer

Offline

#2 2008-06-12 12:56:27

zero
Member
From: Lancashire
Registered: 2004-04-19
Posts: 1,470
Website

Re: strange title breaks when column is small

I can’t access your page to see, but there’s an option in Advanced Preferences called Prevent widowed words in article titles? Try changing that.

Also there’s this css that IE6 understands: * html body {word-wrap:break-word; }


BB6 Band My band
Gud One My blog

Offline

#3 2008-06-12 13:09:50

rainer
New Member
Registered: 2008-03-15
Posts: 8

Re: strange title breaks when column is small

hi zero,

that was quick, thank you! The solution was indeed to turn OFF the “prevent widowed words in article titles”, that I turned on in the beginning and forgot about then. As the problem occured also in Firefox, the star hack word-wrap wouldn’t have helped, as any CSS formating I tried didn’t change a thing with that specific title. What’s still puzzling me is that it works with the different word order, but I guess that’s just the way the widow-thing works.

Offline

#4 2008-06-12 14:16:49

uli
Moderator
From: Cologne
Registered: 2006-08-15
Posts: 4,306

Re: strange title breaks when column is small

Rainer, does this give you the necessary information?


In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links

Offline

Board footer

Powered by FluxBB