No takers?

No one has been able (or tried) to modify the dtl's to allow somethign other
then an input type of text (maxlen 60, size 35) for the customer user input 
screen?

On Sunday 04 December 2005 8:08 pm, Shawn Holland wrote:
> Hey,
>
> I have followed  Keith Turner's example of how to modify the customer form
> to have aditional information. BTW works great!
>
> I have copied the CustomerUser object from Defaults.pm into Config.pm
>
> I have modified the mapping to include
>
> [ 'Misc', 'Misc', 'misc', 1, 1, 'text', '', 0 ],
>
> Using phpMyAdmin I have modified the customer_user table
>
> SQL query:
>  ALTER TABLE `customer_user` ADD `misc` TEXT CHARACTER SET latin1 COLLATE
> latin1_swedish_ci;
>
>  ALTER TABLE `customer_user` ADD FULLTEXT (
> `misc`
> );
>
> Now I don't know much about different data types and I wanted to have a lot
> of text for this added field so thats why I used type TEXT with FULLTEXT.
> Correct me if I'm wrong please.
>
> I am able to add information into that field through AdminCustomerUser link
> no problem.
>
> But what I'm having a hard time trying to modify is the input type. It
> seems to default to:
>
> <input type="text" name="Misc" value="" size="35" maxlength="60" >
>
> I would like to use a text area as this field needs a lot of room.
>
> I tried modifying AdminCustomerUserForm.dtl and in the <!-- dtl:block:Item
> --> section I tried adding my own:
>
> !-- dtl:block:Misc -->
>   <tr>
>     <td class="contentkey">$Text{"$Data{"Label"}"}
> $Text{"$QData{"Key"}"}:</td>
>     <td class="contentvalue"><textarea name="$QData{"Name"}"
> value="$QData{"SelectedID"}" rows="6" cols="40"></TEXTAREA></td>
>   </tr>
> <!-- dtl:block:Misc -->
>
> But this didn't make any difference. It doesn't seem that modifying
> anything in here has a change on the input screen.
>
> It keeps using the <!-- dtl:block:PreferencesGenericInput --> instead of my
> specified block.
>
> Has anyone else successfully done this?
>
> Regards,
>
> Shawn Holland
> _______________________________________________
> OTRS mailing list: otrs - Webpage: http://otrs.org/
> Archive: http://lists.otrs.org/pipermail/otrs
> To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
> Support oder Consulting für Ihr OTRS System?
> => http://www.otrs.de/

-------------------------------------------------------
_______________________________________________
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
Support oder Consulting für Ihr OTRS System?
=> http://www.otrs.de/

Reply via email to