make ppom developer friendly
-
Hi,
First off, great plugin!
I’ve got some issues with making a complete custom design for my client because the templating must be done in your plugin folder and this is not a great developer experience as you might know.Could you consider making this code change to ppom_load_template in the near future?:
function ppom_load_template($file_name, $variables=array('')){ if( is_array($variables)) extract( $variables ); $file_path = apply_filters('ppom_load_template', PPOM_PATH . '/templates/'.$file_name, $file_name, $variables); if( file_exists($file_path)) include ($file_path); else die('File not found'.$file_path); }
This way we can hook into the ‘ppom_load_template’ ourselves and place the custom files where ever we want.
Thanks for looking into this!
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘make ppom developer friendly’ is closed to new replies.