How to change home page title

How to configure and adapt Aimeos based shops as developer
Forum rules
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
arif1988
Posts: 10
Joined: 11 Feb 2024, 10:49

How to change home page title

Post by arif1988 » 11 Feb 2024, 17:00

I am working in aimeos shop but i cant change the home page title, currently its showing Home|Aimeos, any one can help me??

User avatar
aimeos
Administrator
Posts: 8169
Joined: 01 Jan 1970, 00:00

Re: How to change home page title

Post by aimeos » 11 Feb 2024, 17:25

"Aimeos" is the name of the site you can change in the Settings panel of the admin backend.
If you want a totally different title, you have to overwrite the Aimeos header templates and Blade templates, e.g.:
- https://github.com/aimeos/ai-client-htm ... er.php#L94
- https://github.com/aimeos/aimeos-larave ... ade.php#L4
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

arif1988
Posts: 10
Joined: 11 Feb 2024, 10:49

Re: How to change home page title

Post by arif1988 » 12 Feb 2024, 07:46

thanks for reply , I tried to change the file you referred, but still my public home is showing title Home | Aimeos, but when i loged into my shop there the title changed according to my shop name but i need change title of public home page which is now Home | Aimeos,
please help me to solve this.
Last edited by arif1988 on 12 Feb 2024, 07:46, edited 1 time in total.

User avatar
aimeos
Administrator
Posts: 8169
Joined: 01 Jan 1970, 00:00

Re: How to change home page title

Post by aimeos » 12 Feb 2024, 07:49

Clear the content cache using:

Code: Select all

php artisan aimeos:clear
For development, disable caching:
https://github.com/aimeos/aimeos-laravel#hints
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

arif1988
Posts: 10
Joined: 11 Feb 2024, 10:49

Re: How to change home page title

Post by arif1988 » 13 Feb 2024, 09:48

Thanks a ton, i am able to change public title by your support, another issue i am facing is, when i try to shere my site in facebook its showing demo homepage, how can i change it, waiting for your cordial support.

User avatar
aimeos
Administrator
Posts: 8169
Joined: 01 Jan 1970, 00:00

Re: How to change home page title

Post by aimeos » 15 Feb 2024, 08:30

Facebook uses the OpenGraph data in the page header to render a preview:
https://github.com/aimeos/ai-client-htm ... p#L96-L109

Change the image and the text in the "Home" category but keep in mind that Facebook and others cache the OpenGraph data for a while so it might take days until the new image and texts are visible.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply