Welcome Guest, Not a member yet? Register   Sign In
Do change folder names inside the application dir
#6

[eluser]v4et[/eluser]
This dont work
$route['http://www.mysite/maidenhead/index.php/newcomer/signUp'] = 'oldcomer/signup';

Old comer is not a controller just pages functions

Also this didnt work
$route['newcomer/signUp'] = 'oldcomer/signup';

Only newcomer is a controller folder ,but oldcomer dont exist as controller is just a resolution of pages functions
that resolve in the pages as oldcomer

Can you please explain what is rtfm?

In case you mean
$route['newcomer/signUp'] = 'controller/method';
//Or you could do something as silly as this - you get the idea
route['any/route/i/like/can/route/anywhere/i/want'] = 'controller/method';
but instead of a controller can you assign a bare name that dont exist as controller?


Look this is start to function

$route['newcomer/signUp'] =
but in other words what I want is to land in the same page but change the browser url of the page to old comer

since is what is the page content

The point is that the controller newcomer turned in to having oldcomer functionality and oldcomer dont exist as
controller,so my page oldcomer signUp will always resolve to a browser url that is like this
http://mysite/maidenhead/index.php/newcomer/signUp
since newcomer is a controller thats why it will always resolve my oldcomer page to newcomer.like I said
because oldcomer is not controller only newcomer

I guess that for me in order to have my oldcomer page an oldcomer url I would need to change the name of the newcomer controler
or set it to be identified as something else without modifying the final route that is a page
with oldcomer content but brought with a newcomer route

Thanks for enlighting me any more insights be whichever help me get my goals all are anylized and all give me
inspiration to get closer all is truly appreciated thank you very much






Messages In This Thread
Do change folder names inside the application dir - by El Forum - 10-27-2013, 01:29 AM
Do change folder names inside the application dir - by El Forum - 10-28-2013, 06:36 AM
Do change folder names inside the application dir - by El Forum - 10-28-2013, 08:18 AM
Do change folder names inside the application dir - by El Forum - 10-30-2013, 03:15 PM
Do change folder names inside the application dir - by El Forum - 10-30-2013, 03:35 PM
Do change folder names inside the application dir - by El Forum - 10-30-2013, 04:52 PM
Do change folder names inside the application dir - by El Forum - 10-30-2013, 05:13 PM
Do change folder names inside the application dir - by El Forum - 10-30-2013, 05:20 PM
Do change folder names inside the application dir - by El Forum - 10-30-2013, 05:38 PM
Do change folder names inside the application dir - by El Forum - 10-30-2013, 05:48 PM
Do change folder names inside the application dir - by El Forum - 10-30-2013, 06:07 PM
Do change folder names inside the application dir - by El Forum - 10-30-2013, 06:16 PM
Do change folder names inside the application dir - by El Forum - 10-30-2013, 06:22 PM
Do change folder names inside the application dir - by El Forum - 10-30-2013, 06:34 PM
Do change folder names inside the application dir - by El Forum - 10-30-2013, 06:39 PM
Do change folder names inside the application dir - by El Forum - 10-30-2013, 06:41 PM
Do change folder names inside the application dir - by El Forum - 10-30-2013, 06:51 PM
Do change folder names inside the application dir - by El Forum - 10-30-2013, 06:57 PM
Do change folder names inside the application dir - by El Forum - 10-30-2013, 07:01 PM
Do change folder names inside the application dir - by El Forum - 10-30-2013, 07:06 PM
Do change folder names inside the application dir - by El Forum - 10-30-2013, 09:01 PM



Theme © iAndrew 2016 - Forum software by © MyBB