![]() |
|
Mod Options |
![]() |
|||||||||||||||||||
Remove thread title in navbits if you have large thread title installed
![]() Developer Last Online: Jan 2004 ![]() ![]() ![]() This modification is in the archives.
Large thread title template mod is here
If you have that template mod installed, you might want to use this hack. This is the simplest hack ever! (I guess) ![]() OK, to the code modification: In admin/functions.php, find:
Replace that with:
You're done! I'm sure there are other ways to do this, but this is the simplest way, I believe. Screenshot: see the attachment Edit: This would work with all 2.2.x as well Download Now Only licensed members can download files, Click Here for more information. Screenshots Show Your Support
No members have liked this post.
|
Comments |
#2
|
||||
|
||||
But you still have the arrow at the end of the navbar. To get rid of that also, do this instead:
No members have liked this post.
|
#3
|
|||
|
|||
Thanks Boofo for the code to remove the arrow at the end of the navbar. I haven't tested it though. By the way, I still prefer the little arrow at the end so it will point to the big thread title below. That's my opinion. If you don't like the arrow at the end of navbar, use Boofo's instruction instead of mine.
No members have liked this post.
|
#4
|
||||
|
||||
I used to have it with the arrow still there and it just didn't look quite right to me so that is why I removed it. I wish you had been around with this code about 2 weeks ago when I spent an all nighter trying to figure out what to remove and what to keep in the code that wouldn't screw anything else up.
![]() No members have liked this post.
|
#5
|
|||
|
|||
Awesome, works perfectly.
No members have liked this post.
|
#6
|
||||
|
||||
Thanki, thanki...Also perfecto mundo, on my 2.2.6 !
No members have liked this post.
|
#7
|
||||
|
||||
Used Boofo's, good work ;D.
No members have liked this post.
|
#8
|
||||
|
||||
Cool hack - working on 2.2.7. Cheers.
![]() No members have liked this post.
|
#9
|
||||||||
|
||||||||
i think the best way is to use the strlen() to limit the lenght.
for example... in functions.php, replace:
with:
now all you have to do is change the the values 25 and 23 to whatever you like your title to be in lenght. value 25 represents the total title lenght and 23 represents the total title lenght - 2 characters, because you add the "..." dots at the end.
__________________
Floren Munteanu Axivo Inc. Axivo Community - Visit the forums to find out more about us Why Queued - My personal blog No members have liked this post.
|
#10
|
||||||||
|
||||||||
That's only if you still want it there. I removed it because I have the thread title in big letters at the top (like it is here) so you don't need it in the navbar. It's kind of redundant to have it in both places.
No members have liked this post.
|
#11
|
||||
|
||||
Ah, very nice little hack
/me installs No members have liked this post.
|
#12
|
||||
|
||||
![]()
__________________
Floren Munteanu Axivo Inc. Axivo Community - Visit the forums to find out more about us Why Queued - My personal blog No members have liked this post.
|
#13
|
||||
|
||||
Installed on 2.2.8.
![]() No members have liked this post.
|
#14
|
||||
|
||||
No members have liked this post.
|
#15
|
||||
|
||||
Oh what a surprise the same spammed link from Satan once more. Could he have no PM'd it to me? Nah, that'd take common sense!
No members have liked this post.
|
![]() |
«
Previous Mod
|
Next Mod
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Mod Options | |
|
|
New To Site? | Need Help? |
All times are GMT. The time now is 13:49.