I'm running into a problem with Assets & Structure Entries 1.3.4 & 1.2.8 — effectively it boils down to the fact that my Assets field only returns the filename, not the entire folder path.
Here's a couple of examples:
{exp:channel:entries channel="staff"}
{staff_photo} - returns /ee-uploads/images/staff/filename.jpg
{/exp:channel:entries}
That works as expected, however if I need to do this within Structure Entries:
{exp:structure_entries depth="1" parent="9"}
{staff_photo} - returns filename.jpg but not the full path
{staff_photo:url} - returns nothing just the tag
{/exp:structure_entries}
I've also tried adding parse inward to this tag:
{exp:structure_entries depth="1" parent="9" parse="inward"}
{staff_photo} - returns filename.jpg but not the full path
{staff_photo:url} - returns nothing just the tag
{/exp:structure_entries}
However I get the exact same result with or without parse="inward"
. Does anyone have any ideas I'm really stuck here. It's worth noting that this problem doesn't arise when using the build in Structure tag of exp:structure:entries
but I need access to the {current_page} variable available within the Structure Entries plugin as well as a couple of other features. Any help would be really appreciated at this point.
ExpressionEngine: 2.6.1 / Assets: 2.1.3 / Structure 3.3.10 / Structure Entries 1.3.4
Thanks!
EDIT: It's worth noting that when I add the parse inward tag I do get this error:
Severity: Notice
Message: Undefined property: Assets_ft::$row
Filename: assets/ft.assets.php
Line Number: 1094