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
Component Sorting
#6
Thats an interesting idea... it could be done by doing what we have in GS now... In the template you could do something like this:
Code:
<?php

if ( return_page_slug() == 'about' ) {
    get_component('about-component');
} elseif ( return_page_slug() == 'index' ) {
    get_component('homepage-component');
} else {
    get_component('generic-component');
}

?>
- Chris
Thanks for using GetSimple! - Download

Please do not email me directly for help regarding GetSimple. Please post all your questions/problems in the forum!
Reply


Messages In This Thread
Component Sorting - by g.net - 2009-08-23, 23:04:07
Component Sorting - by ccagle8 - 2009-08-24, 00:04:13
Component Sorting - by join - 2009-10-05, 11:44:41
Component Sorting - by n00dles101 - 2009-10-09, 23:06:55
Component Sorting - by TwentyTwoBelow - 2009-10-14, 00:35:33
Component Sorting - by ccagle8 - 2009-10-14, 11:12:03
Component Sorting - by TwentyTwoBelow - 2009-10-15, 03:01:35
Component Sorting - by jeffmiller - 2009-10-21, 06:39:59
Component Sorting - by badcat - 2009-10-21, 12:41:21



Users browsing this thread: 2 Guest(s)