Hi guys.
Can anyone help me with a customization that I'm trying to do?
I am migrating a website from Joomla 1.5 / VM1 to Joomla 1.7 / VM2
On the old website, I had customized my Customer Account Maintenance page into a tabbed setup, using PHP to place individual fields where I wanted them.
The Code I was using to place these fields was :
<?php $db->p("field_name");?>
I would like to do the same with Virtuemart 2;
My plan is to customize "com_virtuemart/views/user/tmpl/edit.php" but I'm having trouble locating the (php) path used to display individual and custom fields...
Can anyone help?
com_virtuemart/views/user/tmpl/edit_user.php
Do a query to your custom fields -> display data here ;)
Quote from: MobileMeWs on January 10, 2012, 05:17:07 AM
com_virtuemart/views/user/tmpl/edit_user.php
Do a query to your custom fields -> display data here ;)
Yeah... that's the bit I'm having trouble with lol
To elaorate, I'm using the code : <?php echo $this->userDetails->JUser->get('username'); ?>
And it's working to pull basic fields...
But I can't seem to find the code that lets me pull the custom fields...
or how to establish which fields I can pull, using the above code.
For instance... trying to use <?php echo $this->userDetails->JUser->get('company'); ?>
displays nothing, even though there is data in the company field.