Posted by: kendomen | December 12, 2009

JiveSBS Theming: Adding Company Name in Popup Menu

By default in JiveSBS 4.0.x, the company name field doesn’t exist in the popup but it’s super easy to turn it back on.

I just created a theme and overrode /template/global/view-profile-short.ftl and added one line:

<!– turn company field back on in popup menu–>
<#if targetUserProfile.company?has_content>
<li><strong>Company: ${targetUserProfile.company?html}</strong></li>
</#if>

I like -Dthemes.directory option for the app server which allows you to see changes on the fly.

Note:  this works as a theme because the company field existed as a display field in a previous version.

Advertisement

Responses

  1. Ken – Weird coincidence. I just asked Jive for this this week, but to make it configurable in the admin consule.

    We need to show a custom profile field in the pop-up. Does your solution work for custom profile fields, too?

    Jennifer

  2. Let me check. I know that if I can’t do it, Derek DeMoro can.

  3. Something smells in the code when trying to display any custom fields.

  4. Bummer – thanks for checking into it.

  5. [...] About ← JiveSBS Theming Example: Adding Company Name in Popup Menu [...]


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Categories

Follow

Get every new post delivered to your Inbox.