Welcome Guest, Not a member yet? Register   Sign In
Main navigation and sub navigation question
#2

[eluser]gstjohn[/eluser]
If I understand the question correctly, the simplest solution seems to be to have a controller named 'about' and a function within it named 'faq'. That should get you the desired URL.

Code:
class About extends Controller {
    function About() {
        parent::Controller();
    }
    
    // URL: http://www.somedomain.com/index.php/about -OR- http://www.somedomain.com/index.php/about/index
    function index() { ... }
    
    // URL: http://www.somedomain.com/index.php/about/faq
    function faq() { ... }
    
    ...
}


Messages In This Thread
Main navigation and sub navigation question - by El Forum - 12-12-2008, 02:41 PM
Main navigation and sub navigation question - by El Forum - 12-12-2008, 03:16 PM
Main navigation and sub navigation question - by El Forum - 12-12-2008, 06:19 PM



Theme © iAndrew 2016 - Forum software by © MyBB