How can I add links to the pages that I created using CMS in the header section?

Help for integrating the Laravel package
Forum rules
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
pamirsawar
Posts: 15
Joined: 17 Aug 2022, 04:19

How can I add links to the pages that I created using CMS in the header section?

Post by pamirsawar » 17 Aug 2022, 04:24

Hi,
I want to add links in the header section of the pages that I created in CMS. Can someone help me the process do I have to create a new component for that or is there already built in solution for it?

laravel version: 9.2
Aimeos version: 2022.07.2
php version: 8.0
env: win 10.

User avatar
VirtualSpy
Advanced
Posts: 122
Joined: 05 Jul 2022, 07:55

Re: How can I add links to the pages that I created using CMS in the header section?

Post by VirtualSpy » 17 Aug 2022, 08:02

According to me you should create your theme and use this theme then you will get packages\your theme\views\base.blade.php from there you can add links in header
https://aimeos.org/docs/latest/laravel/themes/

pamirsawar
Posts: 15
Joined: 17 Aug 2022, 04:19

Re: How can I add links to the pages that I created using CMS in the header section?

Post by pamirsawar » 17 Aug 2022, 08:42

VirtualSpy wrote: 17 Aug 2022, 08:02 According to me you should create your theme and use this theme then you will get packages\your theme\views\base.blade.php from there you can add links in header
https://aimeos.org/docs/latest/laravel/themes/
Yes I have tried that. But I wanted to create something which will allow me to show the enabled links from CMS to header. that way I don't have to change the code everytime I add or remove a page.

Post Reply