TOPIC:

Auto fill based on joomla's user profile 9 years 1 month ago #80475

  • Topic Author
  • barkingmoonbat
  • Offline
  • Fresh Breezer
  • Fresh Breezer
  • Posts: 14
  • Thanks: 0
Hello,
I'm trying to auto fill my breezing form with the profile.favoritebook information from the user profile plug in.
I have tried <?php return JFactory::getUser()->get('profile_favoritebook'); ?> and also tried <?php return JFactory::getUser()->get('profile.favoritebook'); ?>

Any ideas would be greatly appreciated.
Thanks,
John

Please Log in or Create an account to join the conversation.

Re: Auto fill based on joomla's user profile 9 years 4 weeks ago #81501

  • sapphireweb
  • Offline
  • Senior Breezer
  • Senior Breezer
  • Posts: 116
  • Thanks: 0
Here is a link to the joomla docs for getUser.
docs.joomla.org/JFactory/getUser

GetUser allows you to get information that Joomla knows about, such as their Name, email, username, etc. Where is the field profile_favoriatebook being stored?

Please Log in or Create an account to join the conversation.

Re: Auto fill based on joomla's user profile 9 years 3 weeks ago #81530

  • Topic Author
  • barkingmoonbat
  • Offline
  • Fresh Breezer
  • Fresh Breezer
  • Posts: 14
  • Thanks: 0
profile.favoritebook is stored in the joomla 2.5 standard plug in called User - Profile. It stores the data in jml_user_profiles
The reason I am using the User-Profile plugin is because it allows me to have the user fill in the field at registration with out using a 3rd party component such as community builder.
Thanks for help with this.

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Time to create page: 0.042 seconds

BreezingForms Pro 1.4.7 for WordPress Released!

Available in the membership section.

September Discount!

Massive discounts on all subscriptions!

Get Your Subscription Here

Quick Links

Downloads

BreezingForms

ContentBuilder

BreezingCommerce

Templates

Documentation

BreezingForms

ContentBuilder

BreezingCommerce

Apprendre BreezingForms (French Community)

Apprendre et maîtriser BreezingForms par des tutoriels et exemples, le tout en français

breezingforms.eddy-vh.com

Questions et réponses sur les forums de l'AFUJ

AFUJ

Special Offer

Summer Sale! All subscriptions at a special price!

Includes prio support, all of our current and future Joomla!® extensions and Joomla!® templates for the duration of your membership.

Get it from here

3rd Party Discount - 25% Off

We help you to keep your costs under control. If you are a new member and purchased a form building tool from a different form vendor, then you'll get a 25% discount on our subscription plans.

How to receive the discount:

Send us a quick email to sales@crosstec.org with a proof of purchase (for example a paypal receipt), await payment instructions and enjoy your membership!