danielbidala VIP
Total posts: 153
13 Jan 2015 13:49

Is there a way to modify the child field type input template. In basic you can select autocomplete, multiple select, checkboxes or popup. I need to display more fields from the parent type in the form not only the title. Tha default input template of the field contains only this line of code:

<?php echo $this->inputvalue;?>

Is there a way to do this?

Last Modified: 14 Jan 2015


Sergey
Total posts: 13,748
13 Jan 2015 15:22

There is no way of douing it without hacking relations fields core. But in Cobalt 9 that would be not a parameter of input type but input template parameter. So you will be able to create any onf them in custom template.

Ancualy you can do it even now. But you will have to copy code from field to template and then adjast it to your needs. You have to know PHP at list 3 points out of 5.


danielbidala VIP
Total posts: 153
13 Jan 2015 17:27

Ok, thanks. Waiting for cobalt9. :-(


pepperstreet VIP
Total posts: 3,837
14 Jan 2015 00:09

danielbidala I need to display more fields from the parent type in the form not only the title.

Good point. I am also interested in such customizations. Really looking forward to C9! ;) :)

Powered by Cobalt