Closed (duplicate)
Project:
Webform
Version:
6.x-2.3
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
20 Nov 2008 at 17:59 UTC
Updated:
14 Feb 2009 at 08:03 UTC
Jump to comment: Most recent file
Comments
Comment #1
quicksketchDisabling the resize doesn't affect the number of cols, unless you've change that also.
Another likely occurrence is that you need to add some CSS to the page to set the width of the textarea, since CSS takes precedence over what's specified in the cols attribute anyway.
Comment #2
daddydo commentedHi,
This is why you've called yourself QUICKsketch. Really fast! Thank you, I'll try the code and I'll let you know about it.
Comment #3
daddydo commentedHi,
I've put above code into the template.php file and it is doing nothing. Suspect something is missing...
Comment #4
quicksketchWhat's the code you're using currently? I'm a bit confused about what you're referring to. The code I posted above was an example that would need to be adjusted depending on the context of its use.
Comment #5
daddydo commentedHi,
I send you a snapshot of the form, its name is "Opdracht", it resides in node 5. Further I put the above mentioned code in the template.php file, just that.
I think there should be a a function that direct the change to that only form, so it does not affect other forms, but I don't know how to write the code. Im a designer, know very little of php.
Thanks for your help!
Comment #6
daddydo commentedHi,
This is what I've found so far. It works, but it makes the textareas in the admin. mode to disappear. So the edit field of the content area is not there anymore.
Maybe you can help me with the right code.
Thank you.
Comment #7
pebosi commentedyou could use my patch #343172: Disable textarea resizing instead of overriding theme functions.
Comment #8
daddydo commentedThank you pebosi! I'm certainly going to try your patch, though I've never used patches before.
Comment #9
quicksketch#343172: Disable textarea resizing has been committed and will be in 2.5