Post by » Thu Sep 08, 2016 9:37 pm

H don't know i can post my idea here or not, if no, then tell me ,
I am a joomla user before opencart one, joomla has a nice approach for positions on the template, as a designer you define your positions in theme's config file inside theme's folder, and within index.php ( main file for template ) you can echo content of any position with just one line code.

in opencart, designer can use one of 4 posions (left , right , top and bottom). yes he can add new positions to his theme but he will need to hack some core files or create ocmod modules.

my idea is :
opencart add such config.xml file for themes and in this file defines some info like verion , designer's info , email , and so on and list of positions on the theme, so in core file, before any thing, opens this file, read position lists and load modules or controllers or view or any thing else that user added into that positions. else is same, in the template file print modules using echo $position-name;

excuse me for my bad English :)

اگر پیامتون در این انجمن ندیده باشم با من از طریق وبسایتم در تماس باشید.

New member


Fri Oct 09, 2015 11:16 pm

Who is online

Users browsing this forum: No registered users and 3 guests