Hi Krikor, I try this and it's same. Category_item.php object(stdClass)#467 (8) { ["id"]=> string(2) "22" ["name"]=> string(6) "krikor" ["value"]=> NULL ["type"]=> string(9) "textfield" ["group"]=> string(1) "2" ["published"]=>... ["ordering"]=>...
Yes i create new one and test it: On category_item.php object(stdClass)#466 (8) { ["id"]=> string(2) "21" ["name"]=> string(4) "test" ["value"]=> NULL ["type"]=> string(9) "textfield" ["group"]=> string(1) "2" ["published"]=> string(1) "1"... ["ordering"]...
No no it's same, i just try to remove last extrafields and create a new one to test. On category_item.php object(stdClass)#466 (8) { ["id"]=> string(2) "21" ["name"]=> string(4) "test" ["value"]=> NULL ["type"]=> string(9) "textfield"... =>...
OK i test it. <?php if( isset($this->item->extraFields->test->value)): echo ok; else: echo notok; endif; ?> I see notok on category_item.php and i see ok on item.php And var_dump is different on item.php object(stdClass)#562... ["id"]=>...
Result: object(stdClass)#6909 (8) { ["id"]=> string(2) "10" ["name"]=> string(25) "test" ["value"]=> NULL ["type"]=> string(9) "textfield" ["group"]=> string(1) "2" ["published"]=> string(1) "1" ["ordering"]=> string(1) "6" ["alias"]=> string(23) "test" }
I try this: <?php echo $this->item->extraFields->test->name ;?><?php echo $extraField[4]->value;?><br/> <?php echo $this->item->extraFields->test->value ;?> <?php echo ($item->extraField->test->value); ?> <?php echo... ...
I check it and extrafields are display. But i want to use it by myself. With value and name. To place url extrafields value on link of picture for example.
Hi qGuitare, I have same problem. It's not problem to see it on items but it's impossible on category_item. You find solution? Edit: And name work but value dosn't work. And i try with other template, i check if Extra fields are on. Thank's.
Hi, I use k2 since a very long time and i have very strange problem with extrafields. I use it to show extrafields on item.php without any problem. I add this on top of page: And where i want i add But i try to add it on...
More