It could be two plugins or the same plugin, it just depends on what you're doing (if you're using the same hook location for both, then you definitely don't need two plugins).
Based on the code you posted, you'd need {vb:raw oftw_faq} in the 'COFTW_FAQ' template to see $oftw_faq, and {vb:raw COFTW_FAQ} in the 'OFTW' template to see the first template.
Also if you use two plugins, depending on the hook locations, you might need "global $mytemplate2_rendered;" in one or both locations.
BTW, you're missing a couple of quotes in the code for the second template.
|