Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
Change size of excerpt textarea?
How can I change the size of the textarea for the excerpts? May I customize this?
I know, there is a plugin, where each user can change this, but I’d prefer to change this for all useres.
Offline
#2 2006-06-05 07:38:01
- -P-
- Member
- From: Finland
- Registered: 2005-09-10
- Posts: 211
Re: Change size of excerpt textarea?
Same question here.. can I increase the size of excerpt textarea for a few lines?
Tested rss_admin_resize and it does the trick just beatifully but I would prefer to have more “permanent”, not accessible by admin client solution and since the site in question uses already a huge bunch of plugins, I´d like to do this one without any.
Offline
#3 2006-06-05 07:42:00
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: Change size of excerpt textarea?
There’s no built-in way, that you just haven’t found yet, if that’s what you’re asking.
A plugin can certainly handle this just fine, I think you’re just wanting the plugin to be more transparent (i.e: a setting in the admin prefs only you can get at).
Offline
Re: Change size of excerpt textarea?
Well, I searched in the txp_article.php the lines:
<code> echo graf(gTxt(‘excerpt’).popHelp(‘excerpt’).br. ‘<textarea style=“width:400px;height:250px” rows=“1” cols=“1” name=“Excerpt” tabindex=“3”>’.$Excerpt.’</textarea>’); </code>
There you can adjust the size of the textarea of the exzerpt with the style formattings.
Offline
#5 2006-06-05 07:58:04
- -P-
- Member
- From: Finland
- Registered: 2005-09-10
- Posts: 211
Re: Change size of excerpt textarea?
Thank you Mary and The-exit. Just was not sure at all, where to look at and was it handled in the code or within the db.
Editing txp_article.php solved it, great!!! :)
Offline
Re: Change size of excerpt textarea?
Can anyone point me to the code used for changing the size of the main textarea?
There are problems with Rob’s plug in, that I don’t think were ever resolved. For some reason, it corrupts the text justification in the article, that actually publishes on the live site.
It would be nice to change other aspects of the interface as well, like the grey background for the textarea and the other fields…..
Last edited by jameslomax (2006-08-17 21:08:28)
Offline
Pages: 1