Skip to content
This repository has been archived by the owner on Dec 23, 2021. It is now read-only.

"get_controller()", "get_function()" and "get_parameters()" are missing. #16

Closed
Shuro opened this issue Sep 11, 2013 · 2 comments
Closed

Comments

@Shuro
Copy link

Shuro commented Sep 11, 2013

Hey Steven,
thank you for your great work, but I've got one problem:
https://github.com/sjlu/CodeIgniter-Bootstrap/wiki/URL

AFAIK you describe three functions that are missing:

  • get_controller()
  • get_function()
  • get_parameters()

As a beginner with CI I wanted to use them to highlight my navbar, do you know an another way to do this?

@sjlu
Copy link
Owner

sjlu commented Sep 11, 2013

Use the is_active method that I provide. That helps you identify if the current path matches your site_url method in your href.

So wrap is_active with and if statement and provide a CSS class if so.

@Shuro
Copy link
Author

Shuro commented Sep 11, 2013

Okay, thanks. I had been spoiled by the functions of the symphony-framework. :)

@Shuro Shuro closed this as completed Sep 11, 2013
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants