Blog
Developers
Careers
Support
Contact
Gossamer Threads
Solutions
Results
About
Mailing Lists
Resource Centre
Forum
Tools
Home
Who's Online
Tags
Favourites
Login
Forum Search
(
Advanced Search
)
This forum
This category
All forums
for
Home
:
Products
:
Gossamer Links
:
Discussions
:
Make textarea for globals bigger
Previous Thread
Next Thread
Print Thread
View Threaded
Sep 21, 2010, 1:22 AM
MJB
Enthusiast
(559 posts)
Sep 21, 2010, 1:22 AM
Post #1 of 5
Views: 4013
Shortcut
Make textarea for globals bigger
Can anyone tell me where the textarea values for the globals is? I need to make them a little bigger so I can see the code better.
Thanks
Sep 21, 2010, 2:02 AM
brewt
Staff
(4101 posts)
Sep 21, 2010, 2:02 AM
Post #2 of 5
Views: 3895
Shortcut
Re: [MJB] Make textarea for globals bigger
In reply to
Links::Tools::global_editor generates the html for the textarea.
Might be a better idea to edit the template and set a style in the header. That template is in admin/build_global.html
Adrian
Sep 21, 2010, 2:05 AM
Andy
Veteran
/ Moderator
(18441 posts)
Sep 21, 2010, 2:05 AM
Post #3 of 5
Views: 3883
Shortcut
Re: [MJB] Make textarea for globals bigger
In reply to
/admin/Links/Tools.pm, find:
Code:
sub global_editor {
..and then:
Code:
$table .= qq~<tr><td valign=top><font $font>$code</font></td><td><input type="hidden" name="orig-$code" value="$str"><textarea
rows=5 cols=40
name='save-$code' wrap="off">$str</textarea></td><td><input type=checkbox name="del-$code" value="1"></td></tr>~;
Should be as simple as editing that
EDIT: Doh , Adrian beat me too it
Cheers
Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my
Amazon Wish List
GLinks ULTRA Package
|
GLinks ULTRA Package PRO
Links SQL Plugins
|
Website Design and SEO
|
UltraNerds
|
ULTRAGLobals Plugin
|
Pre-Made Template Sets
|
FREE GLinks Plugins!
Last
edited
by:
Andy
: Sep 21, 2010, 2:06 AM
Sep 22, 2010, 9:58 AM
MJB
Enthusiast
(559 posts)
Sep 22, 2010, 9:58 AM
Post #4 of 5
Views: 3870
Shortcut
Re: [Andy] Make textarea for globals bigger
In reply to
Thanks, I'll give that a try.
I have noticed that some browsers (eg Chrome) will allow you to stretch textareas which is very useful but not ideal if you want a permanent fix.
Sep 23, 2010, 11:39 AM
MJB
Enthusiast
(559 posts)
Sep 23, 2010, 11:39 AM
Post #5 of 5
Views: 3844
Shortcut
Re: [MJB] Make textarea for globals bigger
In reply to
Thanks guys. Changing them both to "rows=15 cols=150" makes it much easier to work with on a widescreen monitor.
Previous Thread
Next Thread
Print Thread
View Threaded