chuntse Posted January 10, 2016 Posted January 10, 2016 Hi, Firstly thanks for all the people contributed on this addons. I deployed the Dynamic Template System on my store and I found something couldn't be implementing. I disable a box to display on index.php, but the box will not display on the pages of index.php?cPath=1,index.php?cPath=2,index.php?cPath=3 and etc. I tried to deploy some codes to generate the all pages which contains cPath in the /admin/includes/functions/general.php and appended the pages for selection in the backend module box. When I select the page which generated by codes and it didn't work. Should I modify the following codes in osc_template.php to implement what I need? But the pages is in every box and index.php?cPath=1 doesn't contain pages. // bof Dynamic Template System if(!isset($mb->pages) && ($mb->isEnabled())){ $this->pages = 'all'; $mb->execute(); }else{ if(($mb->isEnabled()) && (($mb->pages === 'all') || (in_array($PHP_SELF , explode(';' , $mb->pages))))){ $mb->execute(); } } // eof Dynamic Template System Anyone has idea to do it? chuntse Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.