Forum is closed

How do I get at the non-mapped fields as they are displayed on login?

How do I get at the non-mapped fields as they are displayed on login?

I am trying to create a "wizard" to help users fill out their profiles when they log in.
To do this, I basically need to get at the non-mapped fields as they are being displayed on the login page.

Basically I want to say "If non-mapped field is URL then display here" or "If non-mapped field-group is CONTACT INFO then display there".

Right now, all the non-mapped fields are going into the $profileForm variable - like so:

Code:


                    foreach ($profileFields as $profileForm)
                        echo $profileForm;

Can you tell me how I can get at these fields? Many thanks!

joeadl
Joe
useravatar
Offline
70 Posts
Active Subscriptions:

None
Administrator has disabled public posting. Please login or register in order to proceed.

Re: How do I get at the non-mapped fields as they are displayed on login?

Just checking in to see if there is an update. Thanks!

joeadl
Joe
useravatar
Offline
70 Posts
Active Subscriptions:

None
Administrator has disabled public posting. Please login or register in order to proceed.

Re: How do I get at the non-mapped fields as they are displayed on login?

Joe,
Sorry for the delay! I remember reading your post the other day, and had some questions.. but obviously, never asked. I'm a bit confused on what you're trying to do, honestly, but I'll explain what I can and hopefully you can clarify as necessary.

I'm pretty sure you're using JomSocial, if I remember correctly. The info below is relevant to all the profile plugins, but examples are directly from it. The $profileFields variable is created from each profile plugin enabled by calling their jlinkedProfilesOnShowRegisterForm() function. So, for JomSocial, that's in the /plugins/jlinkedprofiles/jomsocial.php file around line 67. That function basically sets some things up like the Profile Type drop-down and the Terms of Service. The actual fields are pulled (and pre-filled, if configured that way), in the getRegisterFormFields function, around line 102. You can make some mods to things there as necessary.

Finally though, with the newest release of JLinked, we overhauled the layout for the Login / Register page a bit. While it may look the same, the layout template is broken out into a Login and a Register view. The Login view can be hidden completely, if you'd want. More importantly though, there's a CSS file that is included from /components/com_jlinked/views/loginregister/tmpl/loginregister.css. With the new/cleaned up styles we're using, you may be able to target specific fields and re-arrange/style them separately.

Not sure exactly if you're trying for extra text, styling, or something else, but hopefully the above gets you started. If not, or you have questions, as always, you know where to ask!

Thanks,
Alex

If you use our extensions, please consider leaving a rating and review at the Joomla! Extension Directory:
JFBConnect | SCLogin

alzander
Alex
useravatar
Offline
24020 Posts
Support Specialist
Administrator has disabled public posting. Please login or register in order to proceed.
There are 0 guests also viewing this topic
There are 0 users also viewing this topic

Board Info

Board Stats
 
Total Topics:
11616
Total Polls:
0
Total Posts:
48806
Posts today:
3
User Info
 
Total Users:
47663
Newest User:
genesis678
Members Online:
2
Guests Online:
1035

Social Stream
SourceCoast Joomla Social Extensions
Friday, 25 May 2018
JFBConnect 8.0 Coming Soon! Stay tuned.
Refer and Earn

Like our extensions? You're not alone! That's why they're used on tens of thousands of websites. Now you can earn 20% of any sale you refer to SourceCoast.com.

We provide excellent documentation, well laid out sales pages and great support. All you need to do is spread the word and we'll take care of the rest.

Learn About Our Affiliate Program