![]() |
template blues
Hi there,
I've been hours now with firebug, vi editor and grep'n all over the place and I just can't work out the following....perhaps someone would be kind enough to shed some light on the issue... In the x-cart admin section under Users -> User Profiles -> Additional Fields -> add new field You can add "type" as text/check box /select box I would like to add "text" but 2 lines and not just one line. At the moment only one line is possible. Any ideas would be appreciated ! ----------------------------- x-Cart version 4.4.0 |
Re: template blues
An additional field would need a separate entry in the db. Unless you just want to change the input type to <textarea>.
Why not have two fields? Name 1 and Name 2? -Mike |
Re: template blues
Hi Mike,
Thanks....would you have any idea how to change it to a textarea ? ...at the moment the box is 181x14px and I would like to change it to an textarea say 181x50 or something. Ken |
Re: template blues
I haven't tested this, but it looks like you need to change:
/common_files/customer/main/register_additional_info.tpl Code:
{if $v.type eq 'T'} Code:
{if $v.type eq 'T'} I have no idea if this works, or if it has any ill effects otherwise. Hope that helps, -Mike |
Re: template blues
Hey Mike
It might have been a rough guess but it was spot on ! thanks :D/ tried it out and it worked perfect Ken |
Re: template blues
This will make any additonal field of type text for user profile textarea. Also not that this data in the database allows to no more then 255 characters (I think) and it may not save new lines
|
All times are GMT -8. The time now is 05:55 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.