Welcome Guest, Not a member yet? Register   Sign In
HTML helper: adding classes to li using ul()

I'm using the HTML helper to print out the main navigation of my site in an unordered list. Is there any way I can add a class="active" to a list item?

$this->uri->segment(2) == "red"
I'd like to add class="active" to the html output for that element.

$list = array(

Theme © iAndrew 2016 - Forum software by © MyBB