trsteel88 / TrsteelCkeditorBundle

Symfony2 bundle for easy integration of the CKEditor WYSIWYG
97 stars 58 forks source link

Error in Internal link in version mobile? #43

Closed angelinafox87 closed 11 years ago

angelinafox87 commented 11 years ago

If you are writing a content and you want to create a internal link, its works well, like as "/articles/test" but if you have a website with mobile version, this link only works in a version, not in both?.

For example:

Lorem Ipsum is simply INTERNAL-LINK dummy text of the printing and typesetting industry.

this link go to /article/test.

You are seeing this page (inside version mobile): www.example.com/mobile/article-example

when you clic in INTERNAL-LINK you will go to: www.example.com/article/test

instead of: www.example.com/mobile/article/test

PD. Sorry for my english

trsteel88 commented 11 years ago

This is not an editor issue. You must determine which content to display the user based on their device

angelinafox87 commented 11 years ago

But why you can not to use the same content for all?

trsteel88 commented 11 years ago

You can, you just need to detect the mobile device on the page you are linking to.

angelinafox87 commented 11 years ago

I use a code for detect the mobile device and this code decide if you to version mobile o not. But, How could I use it for this? Could yor show me a example please?

angelinafox87 commented 11 years ago

you can close this issue but I think it's a important bug