When there are multiple multivalue structured fields being rendered, the correct number of list items are displayed, but the item templates do not return any meaningful markup.

The cause: A typo prevents linkedin-profile-user-page-(position|education)-item.tpl.php from being passed the correct $variables array via theme() when there are multiple values ($items_val wants to be $item_val in that foreach). These should probably be render arrays in D7, but it can wait until another patch.

Patch to follow shortly.

Comments

alexiswatson’s picture

Status: Active » Needs review
StatusFileSize
new726 bytes

Fix attached.

attiks’s picture

Status: Needs review » Reviewed & tested by the community

Patch applies and works:

Checking patch linkedin_profile/linkedin_profile.module...
Hunk #1 succeeded at 119 (offset 1 lines).
Applied patch linkedin_profile/linkedin_profile.module cleanly.

davad’s picture

Status: Reviewed & tested by the community » Fixed

Thanks, committed the patch in #1.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.