DNNDev.com Forums Minimize
How do you modify XMOD:Comment>Editor tag?
Last Post 18 Jun 2009 11:42 PM by ViktorK. 4 Replies.
AddThis - Bookmarking and Sharing Button Printer Friendly
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
ViktorK
New Member
New Member
Posts:17
Avatar

--
17 Jun 2009 09:25 PM  
I'd like the username field to be automatically populated by the username, is this possible? i can't seem to find an attribute that would do that.

Greg Brown
Advanced Member
Advanced Member
Posts:717
Avatar

--
18 Jun 2009 02:59 AM  
You should be able to do this just by using the user name constant:

<editor style="width:500px;" label="Comment:" username="{username}:"/>

Greg
XModMVP Xmod - The adjustable wrench for your DNN toolbox
ViktorK
New Member
New Member
Posts:17
Avatar

--
18 Jun 2009 11:15 PM  
No, unfortunately that does not work. username is for the label, not default text entry in the box. It also does not recognize the {username} as a dnn username.

Maybe i should just build my own comments... or is there a patch i need?
Greg Brown
Advanced Member
Advanced Member
Posts:717
Avatar

--
18 Jun 2009 11:40 PM  
Sorry Viktor - the comments feature is kind of like a built in specially written form control inside of a template and therefore operates differently than a regular form. If it did not recognize the username constant then using <default>{username}</default> isn't going to work either.

Building your own comments might be the way to go if this ability is a must have.

Greg
XModMVP Xmod - The adjustable wrench for your DNN toolbox
ViktorK
New Member
New Member
Posts:17
Avatar

--
18 Jun 2009 11:42 PM  
[quote]Posted By gbrown on 6/18/2009 6:40 PM

Sorry Viktor - the comments feature is kind of like a built in specially written form control inside of a template and therefore operates differently than a regular form. If it did not recognize the username constant then using <default>{username}</default> isn't going to work either.

Building your own comments might be the way to go if this ability is a must have.

Greg[/quote]

Thanks Greg, I'll build it myself, shouldn't be too hard with xmod.
You are not authorized to post a reply.

Active Forums 4.1
     
spacer
dummy