Jump to content

Change URL of Forums logo


tpasa

Recommended Posts

The logo redirects to the location where the Invision Community software is installed. To amend this behaviour, you would need to modify the tempate named logo to:

{{if isset( \IPS\Theme::i()->logo['front']['url'] ) AND \IPS\Theme::i()->logo['front']['url'] !== null }}
{{$logo = \IPS\File::get( 'core_Theme', \IPS\Theme::i()->logo['front']['url'] )->url;}}
<a href='YOUR URL HERE' id='elLogo' accesskey='1'><img src="{$logo}" alt='{setting="board_name" escape="true"}'></a>
{{else}}
<a href='{setting="base_url"}' id='elSiteTitle' accesskey='1'>{setting="board_name"}</a>
{{endif}}

 

Link to comment
Share on other sites

On 2/6/2023 at 5:36 AM, Marc Stridgen said:

You would need to modify your templates in order to achieve this. There is no way in which to do this without editing your templates

Wow, that's crazy. You guys seriously took that away? Why? Seems like an easy option to be able to modify besides messing with code. Where's the easy button? 

Link to comment
Share on other sites

39 minutes ago, tpasa said:

Wow, that's crazy. You guys seriously took that away? Why? Seems like an easy option to be able to modify besides messing with code. Where's the easy button? 

You could ALWAYS change the logo and it has always pointed to the application’s root path. So if you have IPB in domain.com/forum,  the logo would always take you to /forum when you clicked on the logo. 

It has never been possible to pick for the logo to be mapped to a custom URL. 

Link to comment
Share on other sites

  • 2 weeks later...
On 2/6/2023 at 1:57 PM, Nathan Explosion said:

And for those making use of the following setting (in General Configuration), there is a present attached...

Could contain: Page, Text

 

Could contain: Page, Text, File, Webpage

(NE) Site URL 1.0.0.xml 2.8 kB · 2 downloads

Hello! 

I have exactly that question  -  but from the image, I cannot see, 

where is that visible on the forum?

I enabled it,  but I dont see the reference to the main website  somewhere ,     where should I look for ?

thank you

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...