Locate template problem

This topic contains 3 reply and 3 voices, and was last updated by Roberto 9 years, 11 months ago
Viewing 3 Posts - 1 through 3 (of 3 total)
Author Posts
November 21, 2014 at 8:27 pm 30923
Roberto There is a problem with the include_once functions in all the edit/new product pages. Basically if the current theme replaces a page (let's say mytheme/dokan/product-edit.php) all the includes point to the same directory (include_once dirname(__FILE__) . '/edit/sidebar.php'; ?>) . Which means that i have to manually change all the includes in the template files i replace. I believe using a function similar to dokan_get_template ('edit/sidebar.php') would allow an easier replacement of the pages, withouth modifying all of them, or withouth copying all the pages to the theme folder. It would be awesome if from the next version the includes would work in a "wp template style" meaning that first the current theme gets checked, if not, then the template from the plugin gets loaded. Cheers
November 22, 2014 at 3:45 pm 30950
Nayem Nayem

Hello Roberto,

I need to discuss with our developer team about your issue. I will be back to you very soon with their feedback on it.

Thank you 🙂

November 23, 2014 at 10:58 am 30987
towhid towhid

Hello Roberto,

We will take care about this in future version.

Thank You. 🙂

November 24, 2014 at 2:07 pm 31048
Roberto Roberto

Cool.
Thank you guys.

Cheers

Viewing 3 Posts - 1 through 3 (of 3 total)