We'll see.Would it be possible to add affiliate link compatibility with the Classifieds plugin?
Are you using "Display priority" for one of the ads?Any help would be greatly appreciated.
$app = \XF::app();
$templater = $app->templater();
$templater->addDefaultParam('xf', $app->getGlobalTemplateData());
$ads = $templater->renderMacro('public:siropu_ads_manager_ad_macros', 'ad_unit', ['position' => 'under_hidden_content']);
echo $ads;
Make sure you are not using any page criteria.what could be the cause?
The equivalent would be:
PHP:$app = \XF::app(); $templater = $app->templater(); $templater->addDefaultParam('xf', $app->getGlobalTemplateData()); $ads = $templater->renderMacro('public:siropu_ads_manager_ad_macros', 'ad_unit', ['position' => 'under_hidden_content']); echo $ads;
I have done a test and doesn't seem to work for some reason. See if it works for you.
We use essential cookies to make this site work, and optional cookies to enhance your experience.