Open dumithsalinda opened 3 years ago
Is it possible to access the database from the layout , the same way which can access in the blocks. model.php and config.php
Thank you
Yes, your layout can be a view.php that can include any php code to access other data sources. However at the moment it does not support a model.php file yet.
view.php
model.php
Is it possible to access the database from the layout , the same way which can access in the blocks. model.php and config.php
Thank you