How can i create text page teamplate (like About Us)
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!
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Re: How can i create text page teamplate (like About Us)
My src/views/catalog/detail.blade.php from package aimeos-laravel is:
Code: Select all
@extends('moderation-theme::base')
@section('aimeos_header')
<?= $aiheader['locale/select'] ?? '' ?>
<?= $aiheader['basket/mini'] ?? '' ?>
<?= $aiheader['catalog/tree'] ?? '' ?>
<?= $aiheader['catalog/search'] ?? '' ?>
<?= $aiheader['catalog/stage'] ?? '' ?>
<?= $aiheader['catalog/detail'] ?? '' ?>
<?= $aiheader['catalog/session'] ?? '' ?>
@stop
@section('aimeos_head_basket')
<?= $aibody['basket/mini'] ?? '' ?>
@stop
@section('aimeos_head_nav')
<?= $aibody['catalog/tree'] ?? '' ?>
@stop
@section('aimeos_head_locale')
<?= $aibody['locale/select'] ?? '' ?>
@stop
@section('aimeos_head_search')
<?= $aibody['catalog/search'] ?? '' ?>
@stop
@section('aimeos_stage')
<?= $aibody['catalog/stage'] ?? '' ?>
@stop
@section('aimeos_body')
<?= $aibody['catalog/detail'] ?? '' ?>
@stop
@section('aimeos_aside')
<?= $aibody['catalog/session'] ?? '' ?>
@stop
-
- Posts: 27
- Joined: 02 Feb 2022, 10:43
Re: How can i create text page teamplate (like About Us)
doesn't work at all or only on a web server?
we had a problem that everything worked locally, but when transferring to the aws server, it was not displayed
we had a problem that everything worked locally, but when transferring to the aws server, it was not displayed
Re: How can i create text page teamplate (like About Us)
It doesn't work anywhere unfortunately.
-
- Posts: 27
- Joined: 02 Feb 2022, 10:43
Re: How can i create text page teamplate (like About Us)
try adding to PageController.php(aimeos-laravel\src\Aimeos\Shop\Controller\PageController.php) this line
"foreach( app( 'config' )->get( 'shop.page.cms', ['cms/page', 'catalog/tree', 'catalog/search'] ) as $name )"
"foreach( app( 'config' )->get( 'shop.page.cms', ['cms/page', 'catalog/tree', 'catalog/search'] ) as $name )"
Re: How can i create text page teamplate (like About Us)
Thanks, but even after this change, the menu still does not show.
-
- Posts: 27
- Joined: 02 Feb 2022, 10:43
Re: How can i create text page teamplate (like About Us)
last. check pls \aimeos-laravel\src\views\page\index.blade.php @section('aimeos_nav')
<?= $aibody['catalog/tree'] ?? '' ?> it must be there
and of course, clear the entire cache wherever possible
<?= $aibody['catalog/tree'] ?? '' ?> it must be there
and of course, clear the entire cache wherever possible
Re: How can i create text page teamplate (like About Us)
Yes, that is already in there and all caches etc have been cleared but still no menu
-
- Posts: 27
- Joined: 02 Feb 2022, 10:43
Re: How can i create text page teamplate (like About Us)
src/Aimeos/Shop/Controller/PageController.php
src/views/page/index.blade.php
our problem was solved by editing these two files.
I have answered everything I knew on this issue
src/views/page/index.blade.php
our problem was solved by editing these two files.
I have answered everything I knew on this issue
Re: How can i create text page teamplate (like About Us)
It seems my files already have these changes but the menu is still absent. Thanks for providing your help though.
Maybe Aimeos can help further.
Maybe Aimeos can help further.
Re: How can i create text page teamplate (like About Us)
First of all: Don't change any files in the vendor directory! Never!
You won't be able to update your installation any more to get bugfixes and security fixes.
If you are working with different themes, make sure you have adapted the templates of your custom theme(s).
@yep: Make sure that your "pages" section in the ./config/shop.php file contains this to display the categories in the CMS pages: https://github.com/aimeos/aimeos/blob/m ... op.php#L61
You won't be able to update your installation any more to get bugfixes and security fixes.
If you are working with different themes, make sure you have adapted the templates of your custom theme(s).
@yep: Make sure that your "pages" section in the ./config/shop.php file contains this to display the categories in the CMS pages: https://github.com/aimeos/aimeos/blob/m ... op.php#L61
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star