Assets page in Fuel

edited June 2015 in Share
I'm wondering if there's a way when browsing assets in Fuel if we can keep the list to the selected folder without showing the sub folder items?

For instance, I have
gallery
gallery/1
gallery/2

If I'm viewing gallery/2 it shows those images... awesome
but if I'm viewing gallery/ it shows the gallery/ images and the gallery/1 and gallery/2 images which can be very confusing. I couldn't find anything in the docs for making that adjustment.

Thanks :)

Comments

  • edited 5:26AM
    There currently isn't a way to limit the subfolders quite like that. There is a "folder" parameter which can be specified and you can limit it to a specific folder. In your case you could use placeholders:
    $fields['image'] = array('type' => 'asset', 'folder' => 'images/gallery/{id}', 'replace_values' => $values);
  • edited 5:26AM
    Okay, thank you.
Sign In or Register to comment.