The following warnings occurred: | |||||||||||||||||||||||||||||||||||||||||||||
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
|
output parent's name but not "index" - 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: output parent's name but not "index" (/showthread.php?tid=2389) |
output parent's name but not "index" - Connie - 2011-11-20 what would be the correct condition to echo the sitename when parent = "index" get_parent(); echoes "index" in subpages of homepage but in that case I do want the sitename ;=( output parent's name but not "index" - yojoe - 2011-11-21 try with: Code: <?php if (get_parent(FALSE) == "index") { output parent's name but not "index" - Connie - 2011-11-21 yojoe Wrote:try with: thanks, I will try that, I think I did not test with parameter "false" cheers, Connie |