Contact Page does not display custom user profile fields

The support for Joomla 2.5 ended on December 31, 2014. Possible bugs in Joomla 2.5 will not be patched anymore. This forum has been closed. Please update your website to Joomla 3.x

Moderator: ooffick

Forum rules
Please use the official Bug Tracker to report a bug: https://issues.joomla.org
Locked
amg99
Joomla! Explorer
Joomla! Explorer
Posts: 264
Joined: Sun Jul 02, 2006 5:14 am

Contact Page does not display custom user profile fields

Post by amg99 » Mon Dec 05, 2011 12:49 pm

Description:
I created a custom user plugin to add Instant Messaging Fieldset to the user's profile (Skype, Google Talk etc.).

However, these information where not displayed on the contact page of users.

The built-in User Profile fields appear on the contact page when a value is entered.

But field values of custom-built user profile plugins are not shown on the said page.

Reported on:
Joomla 1.7.3

Related files:
Probably, the problem is with the files:
components/com_contact/views/contact/tmpl/default.php
components/com_contact/views/contact/tmpl/default_profile.php

User avatar
infograf768
Joomla! Master
Joomla! Master
Posts: 19133
Joined: Fri Aug 12, 2005 3:47 pm
Location: **Translation Matters**

Re: Contact Page does not display custom user profile fields

Post by infograf768 » Mon Dec 05, 2011 3:32 pm

Have you used as example the plugin provided with core?
Jean-Marie Simonet / infograf
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group

amg99
Joomla! Explorer
Joomla! Explorer
Posts: 264
Joined: Sun Jul 02, 2006 5:14 am

Re: Contact Page does not display custom user profile fields

Post by amg99 » Mon Dec 05, 2011 4:39 pm

Hi,

Yes, I did use the plugin that came with the core. But it's field are the only ones that came out on the contact page.

I've attached the plugin I created based on the tutorial Creating a profile plugin.

I was expecting that the contact page template will "cycle" around available user plugins and publish their respective fieldsets (of course excluding "joomla" and "contactcreator" user plugins). But the default.php and default_profile.php files only inspects the profile plugin that came with the core.
You do not have the required permissions to view the files attached to this post.

User avatar
mcsmom
Joomla! Exemplar
Joomla! Exemplar
Posts: 7897
Joined: Thu Aug 18, 2005 8:43 pm
Location: New York
Contact:

Re: Contact Page does not display custom user profile fields

Post by mcsmom » Tue Dec 06, 2011 3:45 am

You know, I think it would be good to rewrite that part of the code since it really is not using the plugin system at all.
So we must fix our vision not merely on the negative expulsion of war, but upon the positive affirmation of peace. MLK 1964.
http://officialjoomlabook.com Get it at http://www.joomla.org/joomla-press-official-books.html Buy a book, support Joomla!.

amg99
Joomla! Explorer
Joomla! Explorer
Posts: 264
Joined: Sun Jul 02, 2006 5:14 am

Re: Contact Page does not display custom user profile fields

Post by amg99 » Tue Dec 06, 2011 11:31 am

You mean the com_contact part? I think so too.

When using the built-in user profile plugin in tandem with contact creator, information gathered by the profile plugin are not used to fill the entries for com_contact.


Locked

Return to “Joomla! 2.5 Bug Reporting”