Adding New Page Throught Dashboard

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!
webmaster
Posts: 16
Joined: 10 Feb 2024, 11:08

Adding New Page Throught Dashboard

Post by webmaster » 13 Mar 2024, 09:52

hello i am trying to add new page throught cms with route like in the image below
Screenshot_39.png
Screenshot_39.png (10.7 KiB) Viewed 19633 times
and i added the route to the categories path like this :
Screenshot_40.png
Screenshot_40.png (11.87 KiB) Viewed 19633 times
but i get error A non-recoverable error occured and logs says : Route [/demo] not defined.
#0 C:\xampp\htdocs\myshop\vendor\aimeos\ai-laravel\src\Base\View\Helper\Url\Laravel.php(62): Illuminate\Routing\UrlGenerator->route('/demo', Array, false)

how can i fix this without adding route manually in code :

Aimeos : 2023.10
Php :8.2.12
Composer : 2.6.0

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

Re: Adding New Page Throught Dashboard

Post by aimeos » 14 Mar 2024, 09:17

The value in "URL target" for categories and products must be a Laravel route name or TYPO3 page ID but not an URL path.
In the CMS, the URLs are relative to the base path defined for the "aimeos_page" route.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply