Reply New Topic
2019/9/16 14:06:41
#1
Offline
Webmaster

Re: New admin theme - no change

<p>I think I found the reason. When you look at the code in the admin sections, they all use hardcoded paths to the system module. Not all of the pages are in <a href="https://github.com/ImpressCMS/impresscms/blob/branches/impresscms_1.4/htdocs/modules/system/icms_version.php">the icms_version.php file</a> as templates.</p>

<p>For example, when I take the <a href="https://github.com/ImpressCMS/impresscms/blob/branches/impresscms_1.4/htdocs/modules/system/admin/customtag/main.php">/htdocs/modules/system/admin/customtags/main.php</a> file, and change the last line that says</p>

<p>$icmsAdminTpl->display(ICMS_MODULES_PATH . "/system/templates/admin/customtag/system_adm_customtag.html");</p>

<p>and change it to&nbsp;</p>

<p>$icmsAdminTpl->display("db:/admin/customtag/system_adm_customtag.html");</p>

<p>I get a nice white section where the custom tag manager used to be. I think it is something related with the paths in the filename, but I'm still looking into that to make sure.</p>

_________________

Me on Ohloh


Subject Poster Date
     New admin theme - no change fiammybe 2019/8/31 14:59:48
       Re: New admin theme - no change fiammybe 2019/9/3 2:09:52
         Re: New admin theme - no change skenow 2019/9/3 19:34:30
       Re: New admin theme - no change fiammybe 2019/9/3 22:13:01
       Re: New admin theme - no change fiammybe 2019/9/16 14:06:41
Reply New Topic extras
 Previous Topic   Next Topic
You can view topic.
You can start a new topic.
You can reply to posts.
You cannot edit your posts.
You cannot delete your posts.
You cannot add new polls.
You cannot vote in polls.
You cannot attach files to posts.
You can post without approval.