| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
template blues | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() 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
__________________
4.2 |
|||||||
#2
|
|||||||||
|
|||||||||
![]() 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
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey XcartGuru X-cart Tutorials | X-cart 5 Tutorials Check out the responsive template for X-cart. |
|||||||||
|
#3
|
|||||||
|
|||||||
![]() 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
__________________
4.2 |
|||||||
#4
|
|||||||||
|
|||||||||
![]() I haven't tested this, but it looks like you need to change:
/common_files/customer/main/register_additional_info.tpl Code:
Code:
I have no idea if this works, or if it has any ill effects otherwise. Hope that helps, -Mike
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey XcartGuru X-cart Tutorials | X-cart 5 Tutorials Check out the responsive template for X-cart. |
|||||||||
|
#5
|
|||||||
|
|||||||
![]() Hey Mike
It might have been a rough guess but it was spot on ! thanks ![]() tried it out and it worked perfect Ken
__________________
4.2 |
|||||||
#6
|
|||||||||
|
|||||||||
![]() 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
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
|
|||
X-Cart forums © 2001-2020
|