Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2005-12-19 15:24:34
- stirman
- Member
- Registered: 2005-12-02
- Posts: 36
Remove "closed" caption
How can I removed the line.. “commenting closed for this article”. I would rather not display anything.
I found that line in the en-gb.txt file, and modified it, re-uploaded it, but the caption is still there?!?
ex: http://www.aquestionablefaith.com/greater-good
Many Thanks,
stirman
Offline
Re: Remove "closed" caption
Make sure you are actually using the modified file. Check Preferences > manage languages
and then at the bottom Install from file (experts only)
. There is says
To install new languages from file you can download them from http://rpc.textpattern.com/lang/ and place them inside your ./textpattern/lang/ directory.
Have you done that?
Offline
#3 2005-12-19 19:27:34
- stirman
- Member
- Registered: 2005-12-02
- Posts: 36
Re: Remove "closed" caption
Yeah, but this time I renamed the file and installed it, and it worked fine… thanks!
-stirman
Offline
Re: Remove "closed" caption
Will there be a way to do this without editing the TXP files in the future? I don’t want to edit the language file for every update (I’m lazy…and I still use 4.0.2).
Thanks,
JM
Offline
#5 2006-01-02 06:14:05
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: Remove "closed" caption
I wouldn’t suggest doing that. Wrap your call to comments_form in an if_comments_allowed conditional.
Offline
Re: Remove "closed" caption
D’oh! I found the text right there in the article form. Pardon my carelessness. :)
Thanks again,
JM
Offline
Pages: 1