Same Problem with Path but I can not lose it
Forum rules
Always add your TYPO3, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your TYPO3, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Same Problem with Path but I can not lose it
Hello,
I've got the extension from you extension Builder and copied the templates I need under the order like:
typo3conf/ext/my_aimeos/Resources/Private/Extensions/ai-client-html/client/html/templates/catalog/lists/items-body-default.php
my Problem is when I want to use this file two times (one default list and one for carousel list) I copied the file and renamed it into:
typo3conf/ext/my_aimeos/Resources/Private/Extensions/ai-client-html/client/html/templates/catalog/lists/items-body-slider.php
my TS Configuration ist:
client/html/catalog/list/items/default/template-body = catalog/lists/items-body-slider.html
But in Frontend I have Error...so can you please tell me whats gone wrong?
Thank you very much and of course for the top Job
Regards
Gio
I've got the extension from you extension Builder and copied the templates I need under the order like:
typo3conf/ext/my_aimeos/Resources/Private/Extensions/ai-client-html/client/html/templates/catalog/lists/items-body-default.php
my Problem is when I want to use this file two times (one default list and one for carousel list) I copied the file and renamed it into:
typo3conf/ext/my_aimeos/Resources/Private/Extensions/ai-client-html/client/html/templates/catalog/lists/items-body-slider.php
my TS Configuration ist:
client/html/catalog/list/items/default/template-body = catalog/lists/items-body-slider.html
But in Frontend I have Error...so can you please tell me whats gone wrong?
Thank you very much and of course for the top Job
Regards
Gio
Re: Same Problem with Path but I can not lose it
In TYPO3 the configuration path separators are "." not "/":giovinco wrote: client/html/catalog/list/items/default/template-body = catalog/lists/items-body-slider.html
https://aimeos.org/docs/TYPO3/Change_co ... n#Frontend
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
Re: Same Problem with Path but I can not lose it
Thank you for the Answer...I forgot that TS is only with "."..my foul..was very on stress )aimeos wrote:In TYPO3 the configuration path separators are "." not "/":giovinco wrote: client/html/catalog/list/items/default/template-body = catalog/lists/items-body-slider.html
https://aimeos.org/docs/TYPO3/Change_co ... n#Frontend
I adjusted it from :
client/html/catalog/list/items/default/template-body = client/html/catalog/lists/slider/
TO:
plugin.tx_aimeos.settings.client.catalog.lists.default.template-body = client/html/catalog/lists/slider/
There is no Error on frontend but the main "default" html is showen. Can you please tell me what is the right path?
Thank you very and have nice evening
Gio
Re: Same Problem with Path but I can not lose it
The configuration (keep care about the "standard", not "default") must point to your new PHP template, e.g.
If you only want to overwrite the existing template because you won't use it at all, you can simply create a file with the same name in your project-specific extension (client/html/templates/catalog/lists/ folder).
Code: Select all
plugin.tx_aimeos.settings.client.catalog.lists.standard.template-body = client/html/catalog/lists/body-slider.php
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