Hi all,
I'd like to add a new DD field to the comments input box.
I added the field at
?module=comments&type=admin&func=modifyconfig
The field name is 'comment_name'. Then, in my theme, in
modules/includes/input-box.xt, I did this...
<xar:if
condition="xarModIsAvailable('dynamicdata')">
<xar:data-input
property="$properties['comment_name']" />
</xar:if>
That approach has worked for me in
registration/user-registerform.xt,
but I guess something more is needed in the comments module?
In the
comments module I see "Call to a member function on a
non-object".
I had a look at the dynamicdata module overview, but am not
sure how to
proceed.
Thanks for any pointers,
Ryan
--
Ryan Walker
www.WebCommunicate.net:
Insights and resources for effective websites.
_______________________________________________
Xaraya_devel mailing list
Xaraya_devel xaraya.com
http:
//xaraya.com/mailman/listinfo/xaraya_devel
|