Page 1 of 1

Custom Extension Stucture

Posted: 16 Nov 2017, 05:10
by Doveman
I am still learning Aimeos so please forgive my lack of understanding.
You have already verified my setup for customizing templates, now I need to verify that I have the custom extension directory setup correctly for modifications to database setup and queries.
zlcsymfony is the name of my custom extension
I placed the setup schema for the tables I need to modify in zlcsymfony / lib / custom / setup / default / schema / tablename.php
and the queries in zlcsymfony / lib / custom / config / mshop / tablename.php

Is that correct.

Re: Custom Extension Stucture

Posted: 16 Nov 2017, 21:35
by aimeos
Doveman wrote: I placed the setup schema for the tables I need to modify in zlcsymfony / lib / custom / setup / default / schema / tablename.php
and the queries in zlcsymfony / lib / custom / config / mshop / tablename.php
It's not <tablename> but the data "domain". For example, "attribute", "customer" and "product" are domains that contain tables like "attribute_type", "customer_address" and "product_property_type". So you have
  • zlcsymfony / lib / custom / config / mshop / attribute.php
    zlcsymfony / lib / custom / config / mshop / customer.php
    zlcsymfony / lib / custom / config / mshop / product.php