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
Hello! - 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: Hello! (/showthread.php?tid=2332)



Hello! - suny4you - 2011-11-03

Hello!

Im new to GS and i was searching some conditional tags! for example IF HOME, or IF INDEX, if page XXXX do this.....

are something similar available?


Hello! - mvlcek - 2011-11-03

suny4you Wrote:Hello!

Im new to GS and i was searching some conditional tags! for example IF HOME, or IF INDEX, if page XXXX do this.....

are something similar available?

It's just php with some functions, e.g. to test for the index page:
Code:
<?php if (return_page_slug() == 'index') { ?> ... <?php } ?>

See the wiki for more information.