blueman378 Posted November 5, 2008 Share Posted November 5, 2008 Hi guys. im using smarty as the templating engine for my forum well heres what im trying to do {level_to_name level={id_to_detail id=$posts[posts].Posterid detail=level}} but thats jsut outputting } any ideas how i would go about doing this? its two functions, one takes an id and gets its description from the database. the other takes an id and gets details about a user; so they both work fine on thier own. so basically thyis is what im trying to do use id_to_detail to get the users level (eg 4) then use level_to_name to change that to a name (eg Moderator) any ideas on a clean way to do this? Link to comment https://forums.phpfreaks.com/topic/131438-a-little-help-with-smarty-plugins/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.