- Posts: 44
COMMUNITY FORUM
Big problem in category view
- yannick berges
-
Topic Author
- Offline
- Senior Member
i search a solution about this
if i do echo '<pre>' . print_r($this->item->extraFields , true) . '</pre>';
its display all values in categorie view but nothing for my new content only title..... in item view all values are good
i don't understand why... some idea ?
in this screen you can see 3 items in cat view
imgur.com/a/5zEyz
Please Log in or Create an account to join the conversation.
- Mohamed Abdelaziz
-
- Offline
- Platinum Member
- Joomla Developer
Make sure that the category/menu item is configured to allow displaying extra fields.
Multiple Extra Fields Groups for K2
AutoMeta for K2
Chained Fields for K2
More K2 Extensions In My Extensions Store
Please Log in or Create an account to join the conversation.
- yannick berges
-
Topic Author
- Offline
- Senior Member
- Posts: 44
after update i many error like this
Notice: Undefined property: stdClass::$extraFields in /home/c6bo/www/dev/templates/c6bo/html/com_k2/templates/Produit/item.php on line 55
<?php echo $this->item->extraFields->Secondlibelle->value; ?></span>
thats wrong !!!
Please Log in or Create an account to join the conversation.
- Mohamed Abdelaziz
-
- Offline
- Platinum Member
- Joomla Developer
Multiple Extra Fields Groups for K2
AutoMeta for K2
Chained Fields for K2
More K2 Extensions In My Extensions Store
Please Log in or Create an account to join the conversation.
- yannick berges
-
Topic Author
- Offline
- Senior Member
- Posts: 44
did you know to upgrade all categorie at same time §? i have 250 catégories ..
Please Log in or Create an account to join the conversation.
- Mohamed Abdelaziz
-
- Offline
- Platinum Member
- Joomla Developer
Multiple Extra Fields Groups for K2
AutoMeta for K2
Chained Fields for K2
More K2 Extensions In My Extensions Store
Please Log in or Create an account to join the conversation.
- yannick berges
-
Topic Author
- Offline
- Senior Member
- Posts: 44
thanks
Please Log in or Create an account to join the conversation.
- yannick berges
-
Topic Author
- Offline
- Senior Member
- Posts: 44
i have some item with field and some other without in same category view ....
can you explain more ?
Please Log in or Create an account to join the conversation.
- yannick berges
-
Topic Author
- Offline
- Senior Member
- Posts: 44
Please Log in or Create an account to join the conversation.
- Mohamed Abdelaziz
-
- Offline
- Platinum Member
- Joomla Developer
Try this SQL statement, run it using phpmyadmin:
update #__k2_categories set params = replace(params, '"catItemExtraFields":"0"', '"catItemExtraFields":"1"')
WARNING:
Backup the database before running the above statement.
This will update all k2 categories.
Replace '#_' with your database prefix
Multiple Extra Fields Groups for K2
AutoMeta for K2
Chained Fields for K2
More K2 Extensions In My Extensions Store
Please Log in or Create an account to join the conversation.
- yannick berges
-
Topic Author
- Offline
- Senior Member
- Posts: 44
all old item aren't display field and new item are ok
http://imgur.com/a/5EHp5
that incredible ...
Please Log in or Create an account to join the conversation.
- Mohamed Abdelaziz
-
- Offline
- Platinum Member
- Joomla Developer
If no, modify the sql statement according to what you see in the column and run it again.
Multiple Extra Fields Groups for K2
AutoMeta for K2
Chained Fields for K2
More K2 Extensions In My Extensions Store
Please Log in or Create an account to join the conversation.
- yannick berges
-
Topic Author
- Offline
- Senior Member
- Posts: 44
"catItemExtraFields":"1"
but i am sure about category heritage .... why only one item display field and other not....
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
- Posts: 15920
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- yannick berges
-
Topic Author
- Offline
- Senior Member
- Posts: 44
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
- Posts: 15920
Disable all K2 related extensions.
Go through each of the category's settings and double check if the extrafields have been enabled.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- yannick berges
-
Topic Author
- Offline
- Senior Member
- Posts: 44
if downgrade too 2.7.0 field are displayed
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
- Posts: 15920
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- yannick berges
-
Topic Author
- Offline
- Senior Member
- Posts: 44
its realy an important problem ...
on 2.7.1 only new item display field
on 2.7.0 all item are good
=> no change in template
Please Log in or Create an account to join the conversation.
- yannick berges
-
Topic Author
- Offline
- Senior Member
- Posts: 44
Please Log in or Create an account to join the conversation.