GetSimple Support Forum
Disable page with Choose Theme - Printable Version

+- GetSimple Support Forum (http://get-simple.info/forums)
+-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3)
+--- Forum: Developer Discussions (http://get-simple.info/forums/forumdisplay.php?fid=8)
+--- Thread: Disable page with Choose Theme (/showthread.php?tid=645)



Disable page with Choose Theme - kirillaristov - 2010-04-17

I often using page with theme components, but for open its I must twice click: Theme -> Edit Components.

When Im tired to do it, I opened admin/theme.php; comment all code and add
Quote:header ("Location: /admin/components.php");

Now Im click on Theme tub and instantly get to Theme Components.

I hope it might help someone.


Disable page with Choose Theme - Zegnåt - 2010-04-18

A better way to do this, without disabling the complete theme page, is to just link the “Theme” tab to the components page. Open /admin/template/include-nav.php and edit line 29:
Code:
<li><a class="theme" href="theme.php" accesskey="t" ><?php echo $i18n['TAB_THEME'];?></a></li>
To this:
Code:
<li><a class="theme" href="components.php" accesskey="t" ><?php echo $i18n['TAB_THEME'];?></a></li>

I haven’t tested this but it should work.