Welcome Guest, Not a member yet? Register   Sign In
Remove controller name for affiliate system
#7

[eluser]Mantero[/eluser]
[quote author="cideveloper" date="1297716662"][quote author="Coccodrillo" date="1297714846"]in that case:

Code:
$route[‘(:any)’] = ‘affiliate/$1’;
[/quote]

That will not work since he has other controllers. Thus his other controllers will be routed to "affiliate/controller_name". I dont really have a solution but I just know this did not work for me. If I am wrong please let me know so I can fix my code.

Maybe hooks are a better solution?[/quote]

yes, the problem is because I have other controller as well..

can we make exception for the routes?

I mean if I have Controller1,Controller2,Controller3, except all these controller will goes to affiliate controller...are this possible?


Messages In This Thread
Remove controller name for affiliate system - by El Forum - 02-14-2011, 05:58 AM
Remove controller name for affiliate system - by El Forum - 02-14-2011, 06:07 AM
Remove controller name for affiliate system - by El Forum - 02-14-2011, 06:44 AM
Remove controller name for affiliate system - by El Forum - 02-14-2011, 08:01 AM
Remove controller name for affiliate system - by El Forum - 02-14-2011, 08:20 AM
Remove controller name for affiliate system - by El Forum - 02-14-2011, 08:51 AM
Remove controller name for affiliate system - by El Forum - 02-14-2011, 09:08 AM
Remove controller name for affiliate system - by El Forum - 02-14-2011, 09:16 AM
Remove controller name for affiliate system - by El Forum - 02-14-2011, 09:20 AM
Remove controller name for affiliate system - by El Forum - 02-14-2011, 09:24 AM
Remove controller name for affiliate system - by El Forum - 02-14-2011, 09:41 AM
Remove controller name for affiliate system - by El Forum - 02-16-2011, 01:42 AM



Theme © iAndrew 2016 - Forum software by © MyBB