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.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | 1357846--linkedin-multivalue-profile--1.patch | 726 bytes | alexiswatson |
Comments
Comment #1
alexiswatson commentedFix attached.
Comment #2
attiks commentedPatch 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.
Comment #3
davad commentedThanks, committed the patch in #1.