[fixed]Not working links to pages with Czech characters in..
[fixed]Not working links to pages with Czech characters in..
After the update of CMS 2.1.6 to 2.2 beta2 not work all the internal links to pages with Czech accents in the name.
URL and Alias these pages contains any of the characters in the national character set. These are mainly latin small/capital letters with caron, acute and more.
On this page you will find a table Czech characters:
https://cs.wikipedia.org/wiki/Unicode#Unicode_8.0
In version 2.1.6, everything worked well. Can you return to the previous method, or when you create a URL alias convert these characters to standard latin?
In this state, it is useless for me.
URL and Alias these pages contains any of the characters in the national character set. These are mainly latin small/capital letters with caron, acute and more.
On this page you will find a table Czech characters:
https://cs.wikipedia.org/wiki/Unicode#Unicode_8.0
In version 2.1.6, everything worked well. Can you return to the previous method, or when you create a URL alias convert these characters to standard latin?
In this state, it is useless for me.
- Rolf
- Dev Team Member
- Posts: 7825
- Joined: Wed Apr 23, 2008 7:53 am
- Location: The Netherlands
- Contact:
Re: Not working links to pages with Czech characters in the
Created a page with Title and Menu name "pět emoji modifikátorů"
https://www.cmscanbesimple.com/index.ph ... 1tor%C5%AF
After that I created a menu button "Test" with an internal link to that page and it works for me...
https://www.cmscanbesimple.com/index.ph ... 1tor%C5%AF
After that I created a menu button "Test" with an internal link to that page and it works for me...
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Re: Not working links to pages with Czech characters in the
Tested again on fresh instalation 2.2 beta svn: not working! Link points to homepage.
To repeat bug:
admin - Add new content - Title: Čeština krásná
New content have alias "čeština-krásná".
In Content manager edit another page and create here CMSMS link to page with title "Čeština krásná". Submit, go to edited page and try new created link.
It will point to home page instead of the alias "čeština-krásná".
To repeat bug:
admin - Add new content - Title: Čeština krásná
New content have alias "čeština-krásná".
In Content manager edit another page and create here CMSMS link to page with title "Čeština krásná". Submit, go to edited page and try new created link.
It will point to home page instead of the alias "čeština-krásná".
-
- Support Guru
- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
- Location: Fernie British Columbia, Canada
Re: Not working links to pages with Czech characters in the
Sorry, but I also cannot reproduce this.
I followed your steps exactly and cannot reproduce this issue. With pretty urls enabled, or disabled.
But as a reminder in your diagnosing efforts. There are two parts to the problem:
a: the URL that is generated by the internal page link
b: routing to the proper page when the URL is requested.
You can isolate part a from part b by looking at the URL that is generated in the output HTML. if it is correct, but when you click on that link it still goes to another page, then you have an issue with mod_rewrite or your server's rewrite rules.
I followed your steps exactly and cannot reproduce this issue. With pretty urls enabled, or disabled.
But as a reminder in your diagnosing efforts. There are two parts to the problem:
a: the URL that is generated by the internal page link
b: routing to the proper page when the URL is requested.
You can isolate part a from part b by looking at the URL that is generated in the output HTML. if it is correct, but when you click on that link it still goes to another page, then you have an issue with mod_rewrite or your server's rewrite rules.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Re: Not working links to pages with Czech characters in the
There is a problem in generated HTML code, a href="" is empty:
but below it is okay in:
Code: Select all
<article class='content' id='main'>
<h1>test </h1>
<p>Link to page : <a href="">Čeština krásná</a></p>
</article>
Code: Select all
<span class='previous'>Previous page: <a href="/čeština-krásná" title="Čeština krásná" >Čeština krásná</a></span>
Re: Not working links to pages with Czech characters in the
In a database table: cms_content_props - content_en is:
I think that it does not interpret correctly "{cms_selflink href='čeština-krásná'}" to Alias, command returns an empty result.
Code: Select all
<p>Link to page : <a href="{cms_selflink href='čeština-krásná'}">Čeština krásná</a></p>
Re: Not working links to pages with Czech characters in the
I do not know if I've properly described what does not work...
I need to fix first sentence in the report: Internal links with national characters do not work when they are inserted or edited by MicroTiny or TinyMCE in content of page. From the menu links woks well.
I need to fix first sentence in the report: Internal links with national characters do not work when they are inserted or edited by MicroTiny or TinyMCE in content of page. From the menu links woks well.
-
- Support Guru
- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
- Location: Fernie British Columbia, Canada
Re: Not working links to pages with Czech characters in the
This is because tinymce intentionally converts special characters to html entities on form submission. That's just the way it works. So {cms_selflink href='Čeština-krásná'} will be converted to {cms_selflink href=''čeština-krásná'} on save... there is nothing we can do about that.Internal links with national characters do not work when they are inserted or edited by MicroTiny or TinyMCE in content of page. From the menu links woks well.
You have the ability to specify the alias when editing the page content though.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Re: Not working links to pages with Czech characters in the
I think this not only error in Tiny editor..
If I put the same link to the news, I get a different result:
it seems that internal links in the news do not work.
If I put the same link to the news, I get a different result:
Code: Select all
<p><a href="{cms_selflink href='čeština-krásná'}">XXX</a></p>
-
- Support Guru
- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
- Location: Fernie British Columbia, Canada
Re: Not working links to pages with Czech characters in the
The issue that you're seeing there is because {eval} is not called by default on core templates.
I have made a modification to the {cms_selflink} plugin to do an entity_decode on the href or page parameter before processing it. We'll see if that solves the issue without causing more problems.
I have made a modification to the {cms_selflink} plugin to do an entity_decode on the href or page parameter before processing it. We'll see if that solves the issue without causing more problems.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Re: [fixed]Not working links to pages with Czech characters
[edited]
Please do not post code modifications on this forum.
CMSMS 2.0+ supports UTF-8 characters in page aliases and URL's just like modern browsers do. We will not be implementing a translation to latin characters as there is more than just the european languages to worry about.
Please do not post code modifications on this forum.
CMSMS 2.0+ supports UTF-8 characters in page aliases and URL's just like modern browsers do. We will not be implementing a translation to latin characters as there is more than just the european languages to worry about.
Re: [fixed]Not working links to pages with Czech characters
I'm sorry.
Ok, I know about that. But it seems that even your code has a issue with the full implementation of the UTF-8.
Ok, I know about that. But it seems that even your code has a issue with the full implementation of the UTF-8.