Add page to JQAdmin
Posted: 21 Dec 2017, 18:28
First of all I want to congratulate you on this awesome project. I am really enjoying all the functionalities and want to compliment you on the professional implementation.
The question I have is:
I just added a contact page to the frontend. This page enables customers to contact the shop owner and thus displays the contact details. Also it contains a contact form.
I want to introduce a functionality that will enable the shop owner to enter his/her contact details (e-mail, phone number etc.) and then show these details on the contact page. I tried adding a page to the jqadmin backend, but haven't been able to do this. Do you have any pointer on how to go about adding a new page to the jqadmin?
What I have tried:
Adding the admin.php to my config directory and adding a new line ('contact') to the jqadm/navbar array item. Also I copied ext/ai-admin-jqadm/admin/jqadm/src/Admin/JQAdm/Plugin folder to ext/xenoshop/admin/jqadm/src/Admin, where xenoshop is my extension name. Following this, I replaced all occurrences of Plugin and plugin with Contact and contact. I am probably doing this totally wrong or I have forgotten something, because nothing happens, not even an error. Could you please point me in the right direction? I couldn't find anything about this on the forum or on https://aimeos.org/docs/Laravel.
Thanks in advance!
System/installation details:
- Aimeos 2017.10.3
- Laravel 5.5.*
- PHP 7.1
- Linux (Ubuntu 16.04.1)
The question I have is:
I just added a contact page to the frontend. This page enables customers to contact the shop owner and thus displays the contact details. Also it contains a contact form.
I want to introduce a functionality that will enable the shop owner to enter his/her contact details (e-mail, phone number etc.) and then show these details on the contact page. I tried adding a page to the jqadmin backend, but haven't been able to do this. Do you have any pointer on how to go about adding a new page to the jqadmin?
What I have tried:
Adding the admin.php to my config directory and adding a new line ('contact') to the jqadm/navbar array item. Also I copied ext/ai-admin-jqadm/admin/jqadm/src/Admin/JQAdm/Plugin folder to ext/xenoshop/admin/jqadm/src/Admin, where xenoshop is my extension name. Following this, I replaced all occurrences of Plugin and plugin with Contact and contact. I am probably doing this totally wrong or I have forgotten something, because nothing happens, not even an error. Could you please point me in the right direction? I couldn't find anything about this on the forum or on https://aimeos.org/docs/Laravel.
Thanks in advance!
System/installation details:
- Aimeos 2017.10.3
- Laravel 5.5.*
- PHP 7.1
- Linux (Ubuntu 16.04.1)