function PredefinedAttributes(&$Context, &$User = null) {
Which php Version are you running?
function PredefinedAttributes(&$Context, &$User = false) {
Grüsse aus Hamburg*
var $Attributes = array(
array(
"Label" => "Phone-Nr.",
"Required" => true,
"Value" => "",
"Hidden" => true,
"Description" => "A short description will be displayed on the personal Information page only."
),
array(
"Label" => "T-Shirt-Size",
"Required" => false,
"Value" => "M",
"Hidden" => false,
"Type" => "Select",
"Data" => array("XS", "S", "M", "X", "XL")
),
array(
"Label" => "City",
"Required" => false,
"Value" => "m",
"Hidden" => false,
"Type" => "Select",
"Data" => array("Tokio", "Mexico", "New York", "Mumbai", "Sao Paulo", "Delhi")
)
); function PredefinedAttributes(&$Context, &$User) {
Parse error: parse error, expecting `')'' in /home/webtree/htdocs/vanilla/extensions/PredefinedAttributes_v0.3.1/default.php on line 102
It looks like you're new here. If you want to get involved, click one of these buttons!