Closed (fixed)
Project:
Advanced Forum
Version:
6.x-1.0-alpha15
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
24 Nov 2008 at 03:04 UTC
Updated:
22 Dec 2008 at 22:21 UTC
Jump to comment: Most recent file
Hi all,
Can anyone point me to the best way of modifying the "Last Post" title length? Currently it appears to max at 10chars, I'm looking to increase the length to around 30.
I've been digging around for some information with regards to this, but haven't found anything so if this is a dup I apologize ahead of time.
Thanks in advance -
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | advance_forum_topic_length.patch | 1.55 KB | marcingy |
| #3 | advance_forum_topic_length.patch | 1.54 KB | marcingy |
| 11-23-2008 10-03-01 PM.png | 3.29 KB | Apollo610 |
Comments
Comment #1
michelleIt's hardcoded to 15 characters in the module. I looked at it and don't see any good way to make it changeable in the theme without introducing a lot of code into the template file. A better option would be for me to make an option. While I'm at it, I'll make the 48 hour cutoff before switching off time ago optional as well.
If you need it right now, it's in advanced_forum_preprocess_forum_submitted().
Michelle
Comment #2
Apollo610 commentedFantastic, I somehow missed that function when I looked at it earlier, just made the change manually. Thanks Michelle.
Comment #3
marcingy commentedPatch to add the ability to vary topic title length rolled against aplpha15
Comment #4
marcingy commentedComment #5
michelle@marcingy - Thanks. :) I should have more time to work on AF this weekend and will add this in.
Michelle
Comment #6
marcingy commentedLast version had a small error :(
Comment #7
mrjw commentedI don't know how to patch but I would like this function also please :)
Comment #8
michelleThe patch didn't apply anymore but I hand applied it and committed it to both branches. Thanks!
Also added the time ago cutoff myself.
Michelle