Welcome Guest, Not a member yet? Register   Sign In
dropping the function from the uri
#2

[eluser]Colin Williams[/eluser]
1. Use a _remap() method in your classifieds controller. _remap() will be called regardless of the second URI parameter. You can then server up the appropriate method with whatever arguments you need. Read the Controllers section of the user guide for more details.

2. CI does not "latch" onto any URL by default. By default, it is just an index.php file that only executes when it's requested. You have probably employed mod_rewrite rules in order to get the index.php file to be requested regardless of the URI. So, you need to modify your mod_rewrite rules so this doesn't happen for the /forum URI.

3. You can put these assets anywhere you want. But remember, just as in no. 2, you need to make sure you aren't telling apache to rewrite requests for these assets to the index.php file.


Messages In This Thread
dropping the function from the uri - by El Forum - 01-14-2009, 01:23 PM
dropping the function from the uri - by El Forum - 01-14-2009, 03:13 PM
dropping the function from the uri - by El Forum - 01-14-2009, 03:21 PM
dropping the function from the uri - by El Forum - 01-14-2009, 03:28 PM
dropping the function from the uri - by El Forum - 01-14-2009, 03:43 PM
dropping the function from the uri - by El Forum - 01-14-2009, 03:43 PM
dropping the function from the uri - by El Forum - 01-14-2009, 03:48 PM



Theme © iAndrew 2016 - Forum software by © MyBB