snugRugBug Posted September 2, 2015 Share Posted September 2, 2015 I know that if I have a template tag like this:{file="$image->thumb_file_name" extension="gallery_Images"}and I want to get the file as an object, then I can do this:{{$file = \IPS\File::get("gallery_Images", $image->thumb_file_name);}}What I want now is to fetch a resource as an object. I know the template tag looks like this:{resource="backgrounds/1.jpg" app="core" location="front"} but I can't find a Resource class anywhere in the code base.Has anyone managed to do this before? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.