FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » Bug Reports » Maximum Shown Subject Length (tree view) - not working
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Maximum Shown Subject Length (tree view) - not working [message #13809 is a reply to message #13807] Tue, 28 October 2003 02:59 Go to previous messageGo to previous message
Gady is currently offline  Gady   Canada
Messages: 117
Registered: March 2003
Karma:
Senior Member
So my hack to tree.php.t is :

I put the following code:

	if (strlen($cur->subject)  > 65) {
		$cur->subject=substr($cur->subject,0,65).' ...';
	}

Before the fragment
	if (isset($cur->subject) && empty($cur->sub_shown)) {

              ...
	}



It works to me,

thanks again.


[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: FUDforum 2.5.2 Slovak Translation is not working
Next Topic: Confirmation email lacks key
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sun Oct 06 07:12:37 GMT 2024

Total time taken to generate the page: 0.03881 seconds