The following warnings occurred:
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/printthread.php 203 postParser->parse_message
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/printthread.php 203 postParser->parse_message



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.