These are chat archives for luyadev/luya

25th
Feb 2017
Klaus Mergen
@kmergen
Feb 25 2017 11:38
Hi, I must come back again to the url problem build with ```Url::to or Url::toRoute
Basil
@nadar
Feb 25 2017 11:39
sure?
Klaus Mergen
@kmergen
Feb 25 2017 11:45
blob
Yes. For e.g. I have integrated a contactmanager module in my site (a contact form with yii captcha). Problem is here the url to the captcha image. you get the wrong url to captcha image. It is clear if you use a yii widget which creates urls with to or toRoute you get always the wrong url.
Basil
@nadar
Feb 25 2017 11:48
So you have an action with a view which integrates this widget?
and it should be /site/default/captcha?
Klaus Mergen
@kmergen
Feb 25 2017 11:55
blob
How you can see, if I go to my default german url it do the job as expected. I think this cannot be a normal behavior that the url change in this manner if I only change the language.
Basil
@nadar
Feb 25 2017 12:00
@kmergen please wirte me a private message, as i need to dive deeper in your code and problem, i am sure we can fix it! thanks for helping improve luya!