Calling a custom ad in modules/smartlists

Posted in: Newspaper
Post count: 9

Hello, I am currently trying to code in custom ad #3 into Smartlist 7.

In smart list 7 the default ad is referenced as

$buffy .= td_global_blocks::get_instance(‘td_block_ad_box’)->render(array(‘spot_id’ => ‘smart_list_7’, ‘spot_title’ => $tds_smart_list_7_title));

How would i call custom ad #3? I haven’t come across the code anywhere.

Thanks
Rob

Post count: 20688

Hi,

That can be seen in the td_config file if needed
https://www.screencast.com/t/ZOggXN88
The ad spot for custom ad 3 is custom_ad_3, so you could call it like this
https://www.screencast.com/t/5gbBlcGcG

Thanks

Viewing 2 posts - 1 through 2 (of 2 total)
The forum ‘Newspaper’ is closed to new topics and replies.