Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • manwlios Friend
    #705679

    Hello there,

    i found the multi level fields data very useful but i have a little problem.

    I use to create custom category and item views and i display the desired extra fields with the following code


    <?php $extrafields = array();
    foreach($this->item->extra_fields as $item) {
    $extrafields[$item->id] = $item->value;
    } ?>
    <?php echo $extrafields[10];?>

    And like this i display only the desired field and not all of them in my custom view

    Now if i use the multi level feature, the above code dont show the desired extra field even if i insert the right extra field id.

    Is there any way to overcome this?

    Thanks in advance.

    Luna Garden Moderator
    #705818

    Hi,

    I have tested your code in our demo, but it still works well. I wonder whether extra field ID 10 exists or not ?

    Could you PM me URL of your site, and Admin info, FTP info, so we could investigate problem ?

    Luna Garden Moderator
    #752130

    Hi,

    I have tested your code in our demo, but it still works well. I wonder whether extra field ID 10 exists or not ?

    Could you PM me URL of your site, and Admin info, FTP info, so we could investigate problem ?

    manwlios Friend
    #752710

    Hello again,

    yes the extra field with ID 10 existed. Finally i followed onother way of doing this so no need to solve this “issue” of mine.

    All good, thanks for your time 🙂

Viewing 4 posts - 1 through 4 (of 4 total)

This topic contains 4 replies, has 2 voices, and was last updated by  manwlios 9 years, 1 month ago.

We moved to new unified forum. Please post all new support queries in our New Forum