Author Topic: add text info registration form  (Read 5289 times)

antonino78

  • Jr. Member
  • **
  • Posts: 130
add text info registration form
« on: January 10, 2012, 16:36:50 pm »
hello all,
please someone can tell me how I can add text information in the registration form virtuemart? :(
I am using virtuemart 1.9
I attach an image to make you understand where I want to insert the text.
Please give me a help! :'( :'( :'(

[attachment cleanup by admin]

theblake

  • Beginner
  • *
  • Posts: 5
Re: add text info registration form
« Reply #1 on: April 30, 2012, 09:24:10 am »
I have been looking for the answer to this question on and off for a year and have never being able to find it.  Did you?

theblake

  • Beginner
  • *
  • Posts: 5
Re: add text info registration form
« Reply #2 on: August 17, 2012, 09:15:07 am »
Do you know what I hate the most?  Is when I google for a problem and the only search results I find is my own posts looking for the answer.

The solution is in Virtumart Administration> Manager User Fields.
- add a Delimiter

Possibly not exactly the way we wanted to do it,  but it gets the job done.

AH

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 2585
  • VirtueMart Version: 3.2.4
Re: add text info registration form
« Reply #3 on: August 17, 2012, 17:07:08 pm »
You want to modify the "ps_userfield.php" file in adminstrator/com_virtuemart/classes

less people are using VM 1.1 in the forums preferring to do battle with making VM2 work for them, hence support is slow!
regards
A

Joomla 3.7.4
php 5.6 + php 7

theblake

  • Beginner
  • *
  • Posts: 5
Re: add text info registration form
« Reply #4 on: August 20, 2012, 05:56:33 am »
Thanks muchly. Our Virtuemart is too heavily modified to update it, so we are stuck with it as it is right now.
I had a look at that ps_userfield.php file and it is too complex for me to consider modifying.

for  the record in case anyone else is looking the full path is
/administrator/components/com_virtuemart/classes

Tim ceko

  • Beginner
  • *
  • Posts: 18
Re: add text info registration form
« Reply #5 on: February 18, 2013, 04:59:56 am »
for anyone looking to add text to the top of their form in VM 1.x...

in ps_userfield.php scroll to the bottom and find:
   
   // Otherwise we have to use the original classname to extend the core-class
   class ps_userfield extends vm_ps_userfield {}



and add an echo above it...



echo '<p>Your Message Here</p>';
   
    // Otherwise we have to use the original classname to extend the core-class
    class ps_userfield extends vm_ps_userfield {}



and that will add text to the top of your form.