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
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
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
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
Active State - Printable Version

+- GetSimple Support Forum (http://get-simple.info/forums)
+-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3)
+--- Forum: Feature Requests (http://get-simple.info/forums/forumdisplay.php?fid=7)
+--- Thread: Active State (/showthread.php?tid=267)



Active State - oToom - 2009-12-31

Sorry, i didn't know where about to post this.

But my question is, on some templates there is an active state (on the link).

Example:
Code:
<li><a href="index.html" class="active">Home</a></li>

But. because we use get_navigation() and it does it all for us.
Is there a way to get that active state, onto the active page?

If not, any way you think you could implement it?

Cheers
Ant


Active State - n00dles101 - 2009-12-31

not quiet sure I understand what you need here.
Current page is always the active one.


Active State - ccagle8 - 2009-12-31

For the main GS site, this is what I use for my CSS to get active states. The key here is that GS always puts the class current on the "active" link's LI element.


Code:
#bodycontent .sidebar ul.nav {list-style:none;margin:0 0 30px 0;width:250px;}

#bodycontent .sidebar ul.nav li {margin:0 0 3px 0;}

#bodycontent .sidebar ul.nav li a {display:block;padding:10px 15px;}

#bodycontent .sidebar ul.nav li a:link, #bodycontent .sidebar ul.nav li a:visited {
background:#436467;
color:#DBE2E3;
}

#bodycontent .sidebar ul.nav li a:hover, #bodycontent .sidebar ul.nav li.current a {
background:#111;
color:#fff;
}



Active State - oToom - 2010-01-04

I forgot to say thanks for this, i'll give it a shot!
Cheers chris!


Active State - oToom - 2010-01-18

Okay, Chris i just got around to this again as i'm coding my new layout for my portfolio.
Just a quick question, is there any special html?

Are you making any classes in the a href? Is it class="current"?

Tbh i don't get this Tongue. Any explination please.


Active State - internet54 - 2010-01-18

GS adds the class current to the page that is open.
You just need to style the .current condition in your css file and your good to go.


Active State - oToom - 2010-01-18

Yah, sorry i done it now Big Grin. I'll pos tmy site in the using gs part.