URL Friendly

Questions and answers about change of functions, design, hosting etc.

Moderators: Koduc, Xpycm

Forum rules
Pay attention! Forum is not a means for guaranteed support of clients and users. An answer as well as a quick answer is not supposed on the forum. We post messages as soon as possible.

The message limit on the forum is 3 messages per day.
If you want to say "thank you" then use the function "Give good reputation point", which is a green icon "plus" under the nickname of the person, who answered the message.

URL Friendly

Postby ucolin » 03 Mar 2015, 14:02

ucolin
Stranger
 
Posts: 2
Joined: 03 Mar 2015, 13:49
Reputation point: 0


Re: URL Friendly

Postby ucolin » 03 Mar 2015, 15:14

Please help, I have done many tests and does not work.

This is the rule change:

'<lang:\w{2}>/search' => 'quicksearch/main/mainsearch',

thx
ucolin
Stranger
 
Posts: 2
Joined: 03 Mar 2015, 13:49
Reputation point: 0

Re: URL Friendly

Postby support » 04 Mar 2015, 09:36

Hello.

Procedure:
In protected/components/CustomUrlManager there is a method parseUrl which is responsible for links' analysis. Using this method you can modify your link, fill the array $_GET and get a standard url "quicksearch/main/mainsearch".

Though it is a non-trivial task and can be completed only as a paid customization. You can get an estimation filling our form "Contacts" http://monoray.net/contact
support
Citizen
Citizen
 
Posts: 136
Joined: 28 Dec 2011, 13:14
Reputation point: 0


Return to Questions and help for changes

Who is online

Users browsing this forum: No registered users and 54 guests