Welcome Guest, Not a member yet? Register   Sign In
URI Segments and links
#3

(07-03-2015, 01:07 AM)Avenirer Wrote: if you want to create links you can create them relative to your domain with echo anchor('whatevercontroller/whatevermodel/params','The link name');

This is not what i want. My problem is not with links. Is the third segment only. If i doesn't pass the third segment in whatever links the links works fine like <a href='whatevercontroller/whateveraction' ></a>

But if i clicked in the edit with the href='whatevercontroller/whateveraction/whateverparam' the uri is www.bla.com/whatevercontroller/whateveraction/whateverparam but if in this screen i clicked in a button to return like this href='whatevercontroller/whateveraction ' the url change only the param putting the controller called like param, like this www.bla.com/whatevercontroller/whateveraction/whatevercontroller

I don't know why when i pass the third param the url bug the link. Just the url doesnt refresh, only set a param with the value of controller of the link clicked
Reply


Messages In This Thread
URI Segments and links - by ramon183 - 07-02-2015, 02:50 PM
RE: URI Segments and links - by Avenirer - 07-03-2015, 01:07 AM
RE: URI Segments and links - by ramon183 - 07-03-2015, 07:44 AM
RE: URI Segments and links - by CroNiX - 07-03-2015, 09:10 AM



Theme © iAndrew 2016 - Forum software by © MyBB