tpasa Posted February 5, 2023 Posted February 5, 2023 Ok, I'm at a lost. I've searched and searched and I can' find a way to change the URL on the logo at the top of the forum. I've always had it pointed to my actual website but now it just takes me to the main forums. Any help would be appreciated. My forums are at https://forum.orioleshangout.com/forums/
Marc Posted February 6, 2023 Posted February 6, 2023 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
Meddysong Posted February 6, 2023 Posted February 6, 2023 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}} Â
Nathan Explosion Posted February 6, 2023 Posted February 6, 2023 And for those making use of the following setting (in General Configuration), there is a present attached... Â (NE) Site URL 1.0.0.xml SeNioR-, Marc, Meddysong and 3 others 3 2 1
tpasa Posted February 7, 2023 Author Posted February 7, 2023 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?Â
Marc Posted February 7, 2023 Posted February 7, 2023 37 minutes ago, tpasa said: You guys seriously took that away? This has never been a feature of the Invision Community series
Randy Calvert Posted February 7, 2023 Posted February 7, 2023 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.Â
tpasa Posted February 7, 2023 Author Posted February 7, 2023 8 hours ago, Marc Stridgen said: This has never been a feature of the Invision Community series Guess my former It guy who did play with code made our point to the main site. Oh well.
MeMaBlue Posted February 22, 2023 Posted February 22, 2023 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...  (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
Nathan Explosion Posted February 22, 2023 Posted February 22, 2023 7 minutes ago, MeMaBlue said: where should I look for ? In the HTML source code:
MeMaBlue Posted February 22, 2023 Posted February 22, 2023 No , I mean, as a user/guest will i see the main website link url / name somewhere, on the forum, as a title , clickable or not ?  Â
Nathan Explosion Posted February 22, 2023 Posted February 22, 2023 And I mean that you will see that change in the source code - that's what the setting does, nothing else as far as I am aware (if it did something else I would have mentioned it) MeMaBlue 1
MeMaBlue Posted February 22, 2023 Posted February 22, 2023 and what purpose is that for? seo? or something else?
Marc Posted February 22, 2023 Posted February 22, 2023 1 hour ago, MeMaBlue said: and what purpose is that for? seo? or something else? Have a read here if its something you are interested in 🙂 https://moz.com/blog/json-ld-for-beginners MeMaBlue 1
Recommended Posts