[solved] CGFeedback template question

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
geepers
Dev Team Member
Dev Team Member
Posts: 84
Joined: Thu Nov 22, 2007 10:41 pm

[solved] CGFeedback template question

Post by geepers »

I'd like to shorten the 'Additional Comments:' field in the 'Comment Form Template' for CGFeedback 1.0.2

the problem i'm running into, is all that is listed is:

Code: Select all

{$input_comment}
which generates the following html:

Code: Select all

<textarea name="mdc880comment" cols="80" rows="15"></textarea>
The value that i wish to override is the 'cols="80"'

Where/How can i do this?
Last edited by geepers on Wed Oct 14, 2009 4:53 pm, edited 1 time in total.
mwyrebski
New Member
New Member
Posts: 4
Joined: Wed Nov 07, 2007 10:57 am

Re: CGFeedback template question

Post by mwyrebski »

I couldn't find it either. As a workaround I added this lines to my default style sheet.

Code: Select all


.cgfeedback_addcoment  .col70 textarea {
width:280px;
}

geepers
Dev Team Member
Dev Team Member
Posts: 84
Joined: Thu Nov 22, 2007 10:41 pm

[solved] CGFeedback template question

Post by geepers »

thanks - that did the trick for now, but sure would like to have some control over the html output on form elements directly in some way.
tpsvca
Forum Members
Forum Members
Posts: 14
Joined: Mon Feb 08, 2010 8:22 am

Re: [solved] CGFeedback template question

Post by tpsvca »

try this:

Code: Select all

{$input_comment|replace:'80':'55'}
Post Reply

Return to “Modules/Add-Ons”