xtech Posted September 9, 2015 Share Posted September 9, 2015 Hi everyone,i am messing around and trying to find a way to get the icon of a topic's forum, knowing the $topic variable, but with no avail.I've tried this:$icon = (\IPS\forums\Forum::load($topic->forum_id))->iconBut it seems that it doesn't work. Can you help me? Edit: Oops wrong section. May you delete this, pls? Link to comment Share on other sites More sharing options...
Khalat Jalal Posted September 10, 2015 Share Posted September 10, 2015 try this one:$icon = {file="$topic->container()->icon" extension="forums_Icons"} Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.