Daniel Hood
Well-known member
How do I include a view in my bbcode call so that the templates get preloaded and everything?
Currently in my model for getting posts I have
But quotes for example aren't rendering. I'm under the impressions it'll be something like
But that doesn't work and I can't tell how far off I am.
Currently in my model for getting posts I have
$bbCodeParser = XenForo_BbCode_Parser::create(XenForo_BbCode_Formatter_Base::create('Base'));
But quotes for example aren't rendering. I'm under the impressions it'll be something like
$bbCodeParser = XenForo_BbCode_Parser::create(XenForo_BbCode_Formatter_Base::create('Base', array('view' => new XenForo_ViewPublic_Post_Quote)));
But that doesn't work and I can't tell how far off I am.