The following warnings occurred:
Warning [2] Undefined array key "threadviews_countguests" - Line: 745 - File: showthread.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/showthread.php 745 errorHandler->error_callback
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
/inc/functions_post.php 830 postParser->parse_message
/showthread.php 916 build_postbit
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
/inc/functions_post.php 861 postParser->parse_message
/showthread.php 916 build_postbit
Warning [2] Undefined property: MyLanguage::$thread_modes - Line: 46 - File: showthread.php(1650) : eval()'d code PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/showthread.php(1650) : eval()'d code 46 errorHandler->error_callback
/showthread.php 1650 eval




Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
sub-pages into one page
#6
I just looked at your drawing more closely, you are actually looking at something more modular that I was thinking by using pages as modules and templates as modules as we'll.

I think I have an idea.
Perhaps
Each template needs to know if it's in side another template, else it will include the header and stuff.

The template also needs to know when to load children as includes somehow.

The template also needs to have it own custom functions for getting page content when it is loaded as a module subpage

It also need a custom nav how do you determine which pages are subpages and not actual children for the menu.
Probably not menu checkbox alone, any ideas? Tags?
NEW: SA Admin Toolbar Plugin | View All My Plugins
- Shawn A aka Tablatronix
Reply


Messages In This Thread
sub-pages into one page - by Timbow - 2014-02-05, 07:52:19
RE: sub-pages into one page - by shawn_a - 2014-02-05, 08:30:03
RE: sub-pages into one page - by Timbow - 2014-02-05, 08:43:57
RE: sub-pages into one page - by shawn_a - 2014-02-05, 10:32:51
RE: sub-pages into one page - by shawn_a - 2014-02-05, 10:40:35
RE: sub-pages into one page - by shawn_a - 2014-02-05, 10:52:56
RE: sub-pages into one page - by shawn_a - 2014-02-05, 14:29:54
RE: sub-pages into one page - by Timbow - 2014-02-05, 18:24:10
RE: sub-pages into one page - by Timbow - 2014-02-20, 00:29:40
RE: sub-pages into one page - by Timbow - 2014-02-20, 02:04:31
RE: sub-pages into one page - by shawn_a - 2014-02-20, 02:40:48
RE: sub-pages into one page - by shawn_a - 2014-02-20, 02:56:43
RE: sub-pages into one page - by shawn_a - 2014-02-20, 03:12:23
RE: sub-pages into one page - by Timbow - 2014-02-20, 04:51:16
RE: sub-pages into one page - by shawn_a - 2014-02-20, 05:18:01
RE: sub-pages into one page - by Timbow - 2014-02-21, 01:15:38
RE: sub-pages into one page - by smsHH - 2017-09-29, 02:10:28



Users browsing this thread: 1 Guest(s)