• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Template Links

#1
Hello,

I'm editing a template, adding a link to it, which when viewed looks like this:

However, when I click it, it does this animation in the top right:

and doesn't actually take me to the link.

When I click on links that users have posted, it works fine. I know my HTML syntax is correct, as when I hover over the button I can see the link at the bottom left.

Is there a way to fix this, so it'll actually take me to the link?

Thanks.
 

Jake B.

Well-known member
#2
Hello,

I'm editing a template, adding a link to it, which when viewed looks like this:

However, when I click it, it does this animation in the top right:

and doesn't actually take me to the link.

When I click on links that users have posted, it works fine. I know my HTML syntax is correct, as when I hover over the button I can see the link at the bottom left.

Is there a way to fix this, so it'll actually take me to the link?

Thanks.
What classes do you have on the anchor?
 
#5
What code did you add to that template, and where did you add it?
Just before the watch thread button code:
Code:
<xen:if is="{$canEditThread}">
            <xen:if is="in_array({$forum.node_id}, array(7))">
                <div class="linkGroup">
                    <li><a href="<removed for security reasons>">Mark as Fixed</a></li>
                </div>
            </xen:if>
        </xen:if>