XF 2.0 Logo link

The url you enter under "Home page URL " should be used by the logo.
admin.php?options/groups/basicBoard/#homePageUrl

//Edit: wrong variable specified
 
You can modify the PAGE_CONTAINER template:
Replace
<a class="uix_logo" href="{{ ($xf.options.logoLink && $xf.homePageUrl) ? $xf.homePageUrl : link('index') }}">
with
HTML:
<xf:if is="$template == 'EWRporta_articles_index'">
    <a class="uix_logo" href="https://www.joyfreak.com">
<xf:else />
    <a class="uix_logo" href="https://www.joyfreak.com/forums/">
</xf:if>

the more elegant way would be via "Template modifications" but for that you would have to use debug mode
 
Last edited:
I wanted to expand on this and have it so all pages of the XenPorta add-on redirects to the home page when clicked on logo? rather than just limiting to one template/page "EWRporta_articles_index". Any way of doing this?

Many thanks in advance!
 
Back
Top Bottom