Skip to content

Need help implementing in Xenforo #1

@steve3743

Description

@steve3743

Xenforo currently has ad templates. The code inside one is:

<xen:if hascontent="true">

	<div class="section funbox">
		<div class="{xen:if @uix_removeAdWrappers_sidebar, '','secondaryContent'} funboxWrapper">
		<xen:contentcheck>

			<xen:if hascontent="true">
				<xen:contentcheck>
					<xen:hook name="ad_sidebar_bottom" />

					<xen:comment> PLACE YOUR ADVERTISEMENT CODE DIRECTLY BELOW </xen:comment>


				</xen:contentcheck>
			<xen:elseif is="{$visitor.is_admin} && @uix_previewAdPositions" />
				<div>{xen:phrase 'template'}: ad_sidebar_bottom</div>
			</xen:if>

		</xen:contentcheck>
		</div>
	</div>

</xen:if>

How would i go about implementing this using the above code. Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions