Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
snugRugBug Posted September 2, 2015 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?
Recommended Posts
Archived
This topic is now archived and is closed to further replies.