XF 1.5 Keeping Infolinks from registration

rickhz

Well-known member
I run Infolinks "Infold" with it's code in the page container template.

My issue is on mobile phones the Infolinks tag interferes with the registration portion of the screen, as the onscreen keyboard "pushes" the Infolinks ad right up into the registration area.

Can I more selectively install the Infolinks code on separate pages, or could you recommend where I can place the Infolinks stop code?
Code:
<!--INFOLINKS_STOP-->

This is the forum www.ExplorerForum.com

Thanks
 
Where is the ad code? If it's in the templates then a conditional might work.

This will work in the container scope (the PAGE_CONTAINER template and all included templates):

Rich (BB code):
<xen:if is="!in_array({$contentTemplate}, array('template1','template2','template3'))">
	THIS CONTENT WILL SHOW ON ALL PAGES EXCEPT THE TEMPLATES LISTED
</xen:if>

You just need to find the root template of the pages you want to exclude:

https://xenforo.com/community/threads/1-0-0-b1-how-to-identify-the-root-template-of-a-page.5591/
 
Top Bottom