Project

General

Profile

Actions

Bug #2713

closed

Multi-valued CB substitutions failing to display and IF statements on multi-valued fields do not work

Added by krileon over 13 years ago. Updated about 13 years ago.

Status:
Closed
Priority:
Urgent
Assignee:
Target version:
Start date:
15 August 2011
Due date:
% Done:

100%

Estimated time:
2:00 h

Description

Usage of [fieldname] appears to be failing for several field types. Drop-down fields confirmed not working.

https://www.joomlapolis.com/forum/154-advanced-members-support/160468-add-custom-cb-field-to-profile-page-title?limit=6&start=6


Files

2713.patch (1.14 KB) 2713.patch krileon, 16 August 2011 16:35
plugin.foundation.php (120 KB) plugin.foundation.php krileon, 14 September 2011 20:05
plugin.foundation.patch (1.25 KB) plugin.foundation.patch krileon, 31 October 2011 16:56
Actions #1

Updated by krileon over 13 years ago

When using getField and returning the PHP values and the values is an array (in cases of select fields) it doesn't format them properly as Val1|*|Val2|*|etc.. but instead returns an array, the array needs to be processed into a string with a separator of |*|.

Actions #2

Updated by krileon about 13 years ago

Attaching a CB 1.7 version of the plugin.foundation.php file with patch applied for users needing a quick fix.

Actions #3

Updated by beat about 13 years ago

  • Subject changed from Several raw substitutions failing to display to Multi-valued CB substitutions failing to display
  • Status changed from Resolved to Closed
  • Estimated time set to 2:00 h

Fixed in r1572 .

Actions #4

Updated by beat about 13 years ago

  • Status changed from Closed to New
Actions #5

Updated by krileon about 13 years ago

Bug also present in IF usage and userfield usage.

Actions #6

Updated by beat about 13 years ago

  • Subject changed from Multi-valued CB substitutions failing to display to Multi-valued CB substitutions failing to display and IF statements on multi-valued fields do not work
  • Status changed from Resolved to Closed

r1615 fixes as proposed in 2nd patch 2nd part of this bug: IF statements on multi-valued fields do not work

Actions

Also available in: Atom PDF