XF 2.2 How do I put html into the ad positions?

Stuart Wright

Well-known member
I have advert JavaScript code to put into the advert positions but have no idea how to do it.
There aren’t any templates corresponding to the names of the advert positions.
Could somebody help, please?
Thanks
 
The ad positions have an HTML field.
You should be able to add the code there.

If the JS is the same for all ads then you can add it to the PAGE_CONTAINER template instead.
 
Or use one of these:


 
yeah, it's not a template, its under the setup main nav item in acp as linked above.

it's just a 'raw' block, so whatever html/js you paste in there shows 1 for 1 in the template hook location.
might need to wrap it in a div/etc for styling.
 
Back
Top Bottom