Search found 3 matches
- Thu Mar 13, 2008 3:18 pm
- Forum: Joombie Coding Q/A
- Topic: 500 - Unable to load router
- Replies: 2
- Views: 394
Re: 500 - Unable to load router
Unfortunately this didn't fix my problem, but I did look at the smartsef plugin code and borrowed some of their logic which seemed to work. After working with some other possible solutions and looking at the joomla library router class things started to make sense. Here is what worked for me: $logen...
- Wed Mar 12, 2008 9:52 pm
- Forum: Joombie Coding Q/A
- Topic: 500 - Unable to load router
- Replies: 2
- Views: 394
500 - Unable to load router
I have a system plugin that I need to parse the current URL, but when I try to instantiate the joomla application router I get the following error:
500 - Unable to load router
I am using the method onAfterInitialise
500 - Unable to load router
I am using the method onAfterInitialise
Code: Select all
function onAfterInitialise() {
$router = &JApplication::getRouter();
}
- Wed Mar 12, 2008 3:02 am
- Forum: Joombie Coding Q/A
- Topic: Retreive current requested id and type
- Replies: 0
- Views: 195
Retreive current requested id and type
I am writing a plugin where I need to check to see if the requested "resource" is an article, category or section. How do I: a) tell if the requested resource is a section, category or article b) get the id of the section, category or article that is being requested. ::NOTE:: SEF (stock Jo...