I'm trying to customize the task subject section to make it into a dropdown box. When I made my note subject into one, it added it, but only halfway for some reason. When I go to create a task, it has a section labeled Subject1, that acts as the old Subject field, and the old Subject field is my dropdown box. On the task list, whatever is in the Subject1 field is what shows up as a link to view further details on the task, but I don't want this, because people put whatever they feel like in this section, instead of using common sense and making the both fields that say subject match. Is this going to be easier to upload a custom PHP file that will make the subject list into a dropdown box, or will it be easier to make a logic hook that populates the subject1 field with whatever the subject field dropdown is showing?
This is what I have tried so far.
I made a file called, tasksubjectdropdown.php and this is what it says
note_subject_list is the name of the dropdown box that I want to use. I uploaded the file toCode:<?php $dictionary['Task']['fields']['name']['type'] = 'enum'; $dictionary['Task']['fields']['name']['options'] = 'note_subject_list'; ?>
/public_html/custom/Extension/modules/Tasks/ext/vardefs
Then I do a quick repair and rebuild, but for some reason, it stays the same?


LinkBack URL
About LinkBacks



Reply With Quote

Bookmarks