templaza / astroid-framework

Powerful framework for designers and developers to create responsive, fast & robust Joomla based websites and templates.
https://astroidframe.work/
GNU General Public License v3.0
86 stars 15 forks source link

Change Website-Link for Logo #748

Open MichaelMGK opened 2 months ago

MichaelMGK commented 2 months ago

I am looking for a solution to use a different link as added in configuration.php of Joomla. Currently, when click to logo I reach this URL. But I want to change it comfortable by adding a Link in configuration of android.

Or is there an other solution available?

Best regards Michael

Chacapamac commented 2 months ago

• What logo you are talking about? If you talk about the “ $live_site = 'http://yourwebsite.com'” in Joomla “configuration.php”. This link HAVE to be the URL of your front page and cannot be modified.

• When you said ..

Currently, when click to logo I reach this URL.

Do you mean the logo of your website?

• Not sure to understand the following quote, what exactly you want to do?

But I want to change it comfortable by adding a Link in configuration of android.

sonvnn commented 2 months ago

@MichaelMGK to change your logo url. You can use template override this file https://github.com/templaza/astroid-framework/blob/master/framework/frontend/logo.php#L52

To override copy content and paste to templates/{your-template}/html/frontend/logo.php Edit line 52 $logo_link = 'https://yourcustomurl';

Hope it can help

Chacapamac commented 2 months ago

That is interesting @sonvnn — Maybe to add in documentation.