web design, England, Britain, UK, belgium
 
Ulti Clocks content

Pre filled text boxes with Breezing Forms / FacileForms

sand Pre filled text boxes with Breezing Forms / FacileForms. Here is how to have the username and email address automatically entered in your Breezing Forms / FacileForms form.
email, address, user, following, code, text, breezing, username, forms, facileforms, normal, return, html, use, box, logged, form, static, depending, visitor, element, welcome, greeting, useful, pre, value, automatically, input, paste, filled, entered, joomla, dynamic

Home Joomla - VirtueMart Breezing Forms / FacileForms Pre filled text boxes with Breezing Forms / FacileForms
Pre filled text boxes with Breezing Forms / FacileForms
  • Joomla 1.5
  • Breezing Forms/
    FacileForms

It is often useful to have the username and/or email address of a logged in user pre-filled in your Breezing Forms / FacileForms form.
Here is how to have the username and email address automatically entered in your Breezing Forms / FacileForms form.



Breezing Forms / FacileForms dynamic Joomla username and email







Make a new text input as normal.

In the value box paste the following code for the username -
 
<?php $user =& JFactory::getUser(); return $user->get('name') ;?>
 


For the email address use the following code -
 
<?php $user =& JFactory::getUser(); return $user->get('email') ;?>
 

You can also show a dynamic greeting depending on whether the user is logged in or not.

Make a normal Static Text/HTML element. In the Text/HTML box use the following code -
 
<h2>Welcome 
<?php 
$user =& JFactory::getUser(); 
if ($user->get('name') != '') return $user->get('name'); else return 'Visitor';
?></h2>
 

Breezing Forms / FacileForms dynamic Joomla username & email insert


Add this page to your favorite Social Bookmarking websites
Digg! Reddit! Del.icio.us! Mixx! Free and Open Source Software News Google! Live! Facebook! Slashdot! Technorati! StumbleUpon! Spurl! Newsvine! Furl! Fark! Yahoo! Netvouz! Mister-Wong! RawSugar! Ma.gnolia! Squidoo! DZone! Swik!
Last Updated on Wednesday, 16 December 2009 14:40
 

Our Recommended Reading

For those interested in extending their knowledge of Joomla! & VirtueMart, Packt Publishing has an excellent range of help & how to books.
Listed below are some I can recommend.
Simply click on the images to be taken directly to their web shop.


Joomla! Social Networking with JomSocial
Joomla! Social Networking
with JomSocial

by Kwasi Boateng & Beatrice A. Boateng.
Joomla! 1.5 Multimedia
Joomla! 1.5 Multimedia
by Allan Walker.


Building job sites with Joomla!
Building job sites with Joomla!
by Santonu Kumar Dhar.

Joomla! Template Design: Create your own professional-quality templates with this fast, friendly guide
Joomla! Template Design: 2nd Edition
Create your own professional-quality
templates with this fast, friendly guide
by Tessa Blakeley Silver.
Magento: Beginner's Guide
Magento: Beginner's Guide by William Rice
is a must for anyone trying the
open-source e-Commerce solution.

Read the review

object-oriented-javascript-applications-libraries
Object-Oriented JavaScript by
Stoyan Stefanov gives you a very
comprehensive grounding in
the latest Javascript techniques.

Read the review
Joomla! Web Security
Joomla! Web Security
by Tom Canavan.

Joomla 1.5 Top Extensions Cookbook
Joomla 1.5 Top Extensions Cookbook by
Suhreed Sarkar is an ideal and concise round up of the extensions available for the Joomla! system.

Read the review

Latest Articles

Showcase

  • An Image Slideshow
  • An Image Slideshow
  • An Image Slideshow
  • An Image Slideshow
  • An Image Slideshow
  • An Image Slideshow
  • An Image Slideshow
  • An Image Slideshow
  • An Image Slideshow
  • An Image Slideshow
  • An Image Slideshow
  • An Image Slideshow
  • An Image Slideshow
  • An Image Slideshow
  • An Image Slideshow
  • An Image Slideshow
  • An Image Slideshow
  • An Image Slideshow
  • An Image Slideshow
  • An Image Slideshow
  • An Image Slideshow
  • An Image Slideshow
  • An Image Slideshow
  • An Image Slideshow
  • An Image Slideshow
  • An Image Slideshow

Paypal Donation

If you use this module on your site please donate a small amount.
Any donation amount appreciated.



Pre filled text boxes with Breezing Forms / FacileForms



Pre filled text boxes with Breezing Forms / FacileForms. Here is how to have the username and email address automatically entered in your Breezing Forms / FacileForms form.


email, address, user, following, code, text, breezing, username, forms, facileforms, normal, return, html, use, box, logged, form, static, depending, visitor, element, welcome, greeting, useful, pre, value, automatically, input, paste, filled, entered, joomla, dynamic