Dokan plugin Dashboard Front-end template
Author | Posts |
---|---|
September 26, 2014 at 5:56 pm 27586 | |
Yann | Hello, Is it a way to edit the Dashboard Front-end template ... Before the plugin it was possible . Thanks a lot See you soon |
September 27, 2014 at 6:12 pm 27626 | |
Sekander Badsha | Hello Christophe, Give it a try and let me know if you need more detailed information. |
September 30, 2014 at 11:34 am 27764 | |
malcolm | Hello, I’ve tried this and it still doesn’t work. Please help |
September 30, 2014 at 6:09 pm 27801 | |
Sekander Badsha | Hello Malcom, |
September 30, 2014 at 9:29 pm 27817 | |
malcolm |
I need more detailed information. I place the dokan folder in the theme and it still didnt register the changes. |
October 1, 2014 at 9:45 am 27841 | |
Hyungang | Hello Sekander, Could you help on this? Best, |
October 11, 2014 at 6:06 pm 28169 | |
Sekander Badsha | Hello Malcom and Hyungang, |
October 14, 2014 at 3:27 pm 28363 | |
Hyungang | This reply has been marked as private. |
October 18, 2014 at 4:56 pm 28627 | |
Sekander Badsha | Hello Hyungang, What you have to do is, now as Dokan is available as a plugin, you do not need to make child themes. You have to make a folder in your theme and rename it to dokan and place files inside it. But the change you are trying is a core feature and can not be done without changing the plugin files. The codes for downloadable products can be found at templates/orders/order-details.php line number 128 to 135 and You can comment those lines out. But note that, as you are changing the core files, these changes will be lost upon update. Or alternatively you can inspect the classes where the option for downloading is being displayed and can make them |
October 20, 2014 at 3:55 pm 28726 | |
Yann | Hello Sekander I have to report customizing most templates with the Dokan plugin is impossible do tue a bug in the code of the Dokan plugin in this file: /includes/theme-functions.php in this function: dokan_get_template_part() You check for the default templates (in the $dokan->plugin_path() directory) before you check the overridden templates ( in $dokan->template_path() ). Except when optional second parameter $name is provided, which is not used for most templates anyway. So in effect front-end admin templates for store and product are never overridden because the default templates are always present in the plugin directory, so the overridden templates will never get loaded. I’ll be happy to help you correct the Dokan plugin if you give me access to you Bitbucket project (my Bitbucket login is yann_dubois) |
October 20, 2014 at 10:35 pm 28757 | |
Brenda | I am a new user. I just downloaded the Dokan theme and Dokan plugin a couple days ago. It makes no sense to me that if I’m using the Dokan theme why the seller dashboard isn’t able to be modified (e.g. the black/red color palate of the dashboard seller menu) with the rest of the them. What gives? I am not trying to modify the plugin. I’d just like the skin/color palate of the seller dashboard to match the rest of the site. Please advise. |
October 22, 2014 at 9:05 pm 28884 | |
Sekander Badsha | Hello Yann, I have reported them to the developer team. You will get reply on your original thread. Hello Brenda, Here I have written a tutorial for you http://docs.wedevs.com/change-dokan-dashboard-menu-color/ |
October 22, 2014 at 10:08 pm 28891 | |
Yann | @Sekander : thanks. I will continue tracking the issue in the original thread. |