in the comment form we have this
value="{$commentform_name}"
Can i change this value? or is it reserved
I want to enter some default values that should show.
comment form
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: comment form
This value contains the name of a user when he submitted the form with errors, so that his previous name is filled in there.
But you can use smarty syntax to change the value if it's empty. Like {$commentform_name|@default:"My string"} or something like that. I don't know the actual smarty modifier for that, but I'm sure it's in the docs.
HTH,
Garvin
But you can use smarty syntax to change the value if it's empty. Like {$commentform_name|@default:"My string"} or something like that. I don't know the actual smarty modifier for that, but I'm sure it's in the docs.
HTH,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
-
MySchizoBuddy
- Regular
- Posts: 340
- Joined: Sun Jun 12, 2005 5:28 am
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
