Unicode slugs - Support
Moderator: General Support Moderators
Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
-
- Joomla! Apprentice
- Posts: 5
- Joined: Wed May 12, 2010 4:57 am
Re: Unicode slugs - Support
Good news. I changed from Windows server to Linux and now everything is working great!
Thanks for this amazing plugin...
Thanks for this amazing plugin...
- infograf768
- Joomla! Master
- Posts: 19133
- Joined: Fri Aug 12, 2005 3:47 pm
- Location: **Translation Matters**
Re: Unicode slugs - Support
Please type here the Japanese characters that don't show OK for you.
Jean-Marie Simonet / infograf
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group
-
- Joomla! Fledgling
- Posts: 1
- Joined: Mon Sep 13, 2010 5:50 pm
Re: Unicode slugs - Support
Hello,
Need help
I have my test hosting running on windows 2003 server + apache
joomla 1.5.15
joomfish
How to configure slug plugin to work with joomfish ?
Thank You in advance .
Need help
I have my test hosting running on windows 2003 server + apache
joomla 1.5.15
joomfish
How to configure slug plugin to work with joomfish ?
Thank You in advance .
-
- Joomla! Apprentice
- Posts: 17
- Joined: Sat May 30, 2009 12:42 pm
Re: Unicode slugs - Support
Hi:
I wanted to know if the plugin will work in HEBREW sites? will the alias be in hebrew??
I wanted to know if the plugin will work in HEBREW sites? will the alias be in hebrew??
- infograf768
- Joomla! Master
- Posts: 19133
- Joined: Fri Aug 12, 2005 3:47 pm
- Location: **Translation Matters**
Re: Unicode slugs - Support
Yes. Just test.zonhal wrote:Hi:
I wanted to know if the plugin will work in HEBREW sites? will the alias be in hebrew??
Jean-Marie Simonet / infograf
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group
-
- Joomla! Apprentice
- Posts: 17
- Joined: Sat May 30, 2009 12:42 pm
Re: Unicode slugs - Support
works, THANKS!!!
-
- Joomla! Enthusiast
- Posts: 152
- Joined: Tue Sep 21, 2010 2:39 pm
Re: Unicode slugs - Support
infograf
Thank you very much for this great extension.
Unfortunately like others, I have come across problems when editing articles in the front-end...
Editing articles works when that article is in the frontpage, so no unicode-nonlatin characters are present in the url, just the name of the domain (in latin characters)
I get the 404 error when I try to edit an article from inside a section or category in the front-end, that is when unicode non-latin characters (greek in my case) are present in the url when I click the edit icon in the front end.
I found the patch that must be applied, but I could not figure out how to install the "utf8_base64_encode_decode.patch" file.
I browsed this thread and I saw that you had offered a compressed archive of files/folders for one to upload to their joomla install directory.
But I found an error in that archive
in the "components" folder you have a second folder, "com_contents", whereas the correct folder would have to be "com_content"
Also, this compressed pack also includes a file in a place which - according to the code within the .patch file - should not be there, i.e. the "icon.php" file in the "components" folder, whereas it should be only (?) in the "components/com_content/helpers" folder.
Could you please check that archive for both errors (or possible others) and verify that all that needs to be installed gets installed in the right place?
The above error might result in people trying out the patch but reporting that it is not working, whereas the fix might be to correct the target folder.
Please verify....your work is much appreciated and we are very grateful.
Thank you very much for this great extension.
Unfortunately like others, I have come across problems when editing articles in the front-end...
Editing articles works when that article is in the frontpage, so no unicode-nonlatin characters are present in the url, just the name of the domain (in latin characters)
I get the 404 error when I try to edit an article from inside a section or category in the front-end, that is when unicode non-latin characters (greek in my case) are present in the url when I click the edit icon in the front end.
I found the patch that must be applied, but I could not figure out how to install the "utf8_base64_encode_decode.patch" file.
I browsed this thread and I saw that you had offered a compressed archive of files/folders for one to upload to their joomla install directory.
But I found an error in that archive
in the "components" folder you have a second folder, "com_contents", whereas the correct folder would have to be "com_content"
Also, this compressed pack also includes a file in a place which - according to the code within the .patch file - should not be there, i.e. the "icon.php" file in the "components" folder, whereas it should be only (?) in the "components/com_content/helpers" folder.
Could you please check that archive for both errors (or possible others) and verify that all that needs to be installed gets installed in the right place?
The above error might result in people trying out the patch but reporting that it is not working, whereas the fix might be to correct the target folder.
Please verify....your work is much appreciated and we are very grateful.
-
- Joomla! Enthusiast
- Posts: 152
- Joined: Tue Sep 21, 2010 2:39 pm
Re: Unicode slugs - Support
I report that I copied "controller.php", "icon.php" and "string.php" files in the appropriate places (did not copy "icon.php" in the "components" folder, as is found in the compressed archive) and the problem of editing/saving from the front-end has been solved...
The files do work!! Thank you very much!!!
The files do work!! Thank you very much!!!
- infograf768
- Joomla! Master
- Posts: 19133
- Joined: Fri Aug 12, 2005 3:47 pm
- Location: **Translation Matters**
Re: Unicode slugs - Support
Great
Indeed this hack needs being redone.
the patch was OK
Will look if it is still up-to-date though since I released it.
Indeed this hack needs being redone.
the patch was OK
Will look if it is still up-to-date though since I released it.
Jean-Marie Simonet / infograf
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group
-
- Joomla! Enthusiast
- Posts: 152
- Joined: Tue Sep 21, 2010 2:39 pm
Re: Unicode slugs - Support
Great, thank you very much...
...one more thing...I don't want to take advantage of your good will, but I would appreciate if you could tell us how that *.patch file is installed.
I have googled it, yet I have found no instruction on how to use and apply "*.patch" files...
Cheers.
EDIT
Wait, I think I got it...I thought there was an automatic way to apply the patch, but it seems the "*.patch" file just points you to the changes, the lines in the code that must be changed...
Here is the link that explains how to read a .patch file
http://docs.joomla.org/Learn_more_about_patch_files
...one more thing...I don't want to take advantage of your good will, but I would appreciate if you could tell us how that *.patch file is installed.
I have googled it, yet I have found no instruction on how to use and apply "*.patch" files...
Cheers.
EDIT
Wait, I think I got it...I thought there was an automatic way to apply the patch, but it seems the "*.patch" file just points you to the changes, the lines in the code that must be changed...
Here is the link that explains how to read a .patch file
http://docs.joomla.org/Learn_more_about_patch_files
- infograf768
- Joomla! Master
- Posts: 19133
- Joined: Fri Aug 12, 2005 3:47 pm
- Location: **Translation Matters**
Re: Unicode slugs - Support
There is indeed a way to apply a patch and it is using eclipse or another svn client.
Jean-Marie Simonet / infograf
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group
-
- Joomla! Enthusiast
- Posts: 152
- Joined: Tue Sep 21, 2010 2:39 pm
Re: Unicode slugs - Support
hmm no idea what those are...will try to look into it.
If, however you make any changes to the patch, it would be great if these were offered also in the format of ready folders/files
The manual way (cutting/pasting code from the .patch file) is indeed very time consuming
If, however you make any changes to the patch, it would be great if these were offered also in the format of ready folders/files
The manual way (cutting/pasting code from the .patch file) is indeed very time consuming
-
- Joomla! Apprentice
- Posts: 10
- Joined: Wed May 19, 2010 8:47 pm
Re: Unicode slugs - Support
hi infograf768,
sorry for my english and thank a lot for the plugin!!!
I have problem with the these characters:
"מ" and "א"
When an alias contain one of this characters i get 404 error page.
this happends only on windows servers (with xampp if it matters), on linux its work fine.
i can't move to linux server, is there any solution for this on windows server?
with all greetings!
yehuda
sorry for my english and thank a lot for the plugin!!!
I have problem with the these characters:
"מ" and "א"
When an alias contain one of this characters i get 404 error page.
this happends only on windows servers (with xampp if it matters), on linux its work fine.
i can't move to linux server, is there any solution for this on windows server?
with all greetings!
yehuda
-
- Joomla! Apprentice
- Posts: 5
- Joined: Tue Nov 30, 2010 10:07 am
- Location: Berlin
- Contact:
Re: Unicode slugs - Support
It doesn´t work well with Vietnamese PLease have support for this language
Thanks a lot
Thanks a lot
- infograf768
- Joomla! Master
- Posts: 19133
- Joined: Fri Aug 12, 2005 3:47 pm
- Location: **Translation Matters**
Re: Unicode slugs - Support
Indeed, there may be issues on Windows with some unicode glyphs.
We are solving this issue in 1.6 but it would require a hack to be solved on 1.5 as this is due to a php bug.
Will see if this could be implemented in a next 1.5 release
We are solving this issue in 1.6 but it would require a hack to be solved on 1.5 as this is due to a php bug.
Will see if this could be implemented in a next 1.5 release
Jean-Marie Simonet / infograf
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group
-
- Joomla! Apprentice
- Posts: 10
- Joined: Wed May 19, 2010 8:47 pm
Re: Unicode slugs - Support
Thanks!!!infograf768 wrote:Indeed, there may be issues on Windows with some unicode glyphs.
We are solving this issue in 1.6 but it would require a hack to be solved on 1.5 as this is due to a php bug.
Will see if this could be implemented in a next 1.5 release
-
- Joomla! Apprentice
- Posts: 5
- Joined: Tue Nov 30, 2010 10:07 am
- Location: Berlin
- Contact:
Re: Unicode slugs - Support
Thanks for Your questions, but Component and mod of 1.6 comatible with 1.5???
-
- Joomla! Apprentice
- Posts: 5
- Joined: Tue Nov 30, 2010 10:07 am
- Location: Berlin
- Contact:
Re: Unicode slugs - Support
Thanks for this plugin, it works good on hosteurope.de
- infograf768
- Joomla! Master
- Posts: 19133
- Joined: Fri Aug 12, 2005 3:47 pm
- Location: **Translation Matters**
Re: Unicode slugs - Support
This plugin is no more necessary in 1.6ledieuanh wrote:Thanks for Your questions, but Component and mod of 1.6 comatible with 1.5???
We implemented the functionnality in core.
Jean-Marie Simonet / infograf
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group
-
- Joomla! Apprentice
- Posts: 10
- Joined: Wed May 19, 2010 8:47 pm
Re: Unicode slugs - Support
wow! this is good news!!!
-
- Joomla! Fledgling
- Posts: 4
- Joined: Tue Dec 28, 2010 11:01 pm
Re: Unicode slugs - Support
Hello
I'm running a fresh install of Joomla v1.5.22. When enabeling this plugin I get the follow ing error:
Fatal error: Cannot redeclare class jfilteroutput in /xxxx/xxxx/vhtdocs/www.testsite.com/plugins/system/unicode ... output.php on line 24
I read some previous posts about clashes with other plugins but no other extra plugins have been installed. I have installed the K2 component:
http://extensions.joomla.org/extensions ... I7fQ%3D%3D
but scanning all of the files this does not contain any references to 'class JFilterOutput'.
Can you think of any other reasons for this error?
Cheers
Martin
I'm running a fresh install of Joomla v1.5.22. When enabeling this plugin I get the follow ing error:
Fatal error: Cannot redeclare class jfilteroutput in /xxxx/xxxx/vhtdocs/www.testsite.com/plugins/system/unicode ... output.php on line 24
I read some previous posts about clashes with other plugins but no other extra plugins have been installed. I have installed the K2 component:
http://extensions.joomla.org/extensions ... I7fQ%3D%3D
but scanning all of the files this does not contain any references to 'class JFilterOutput'.
Can you think of any other reasons for this error?
Cheers
Martin
- infograf768
- Joomla! Master
- Posts: 19133
- Joined: Fri Aug 12, 2005 3:47 pm
- Location: **Translation Matters**
Re: Unicode slugs - Support
You may have to contact K2 devs.
I see in their code (K2_v2.4.1) that they take into account unicodeslug plugin if enabled:
if(JPluginHelper::isEnabled('system', 'unicodeslug'))
$this->alias = JFilterOutput::stringURLSafe($this->alias);
else {
Also I would do a grep on the full site to see if the class is redeclared somewhere.
I see in their code (K2_v2.4.1) that they take into account unicodeslug plugin if enabled:
if(JPluginHelper::isEnabled('system', 'unicodeslug'))
$this->alias = JFilterOutput::stringURLSafe($this->alias);
else {
Also I would do a grep on the full site to see if the class is redeclared somewhere.
Jean-Marie Simonet / infograf
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group
-
- Joomla! Fledgling
- Posts: 4
- Joined: Tue Dec 28, 2010 11:01 pm
Re: Unicode slugs - Support
Thanks for the quick response infograf768.
To start with I uninstalled both the unicode slug and K2 then reinstalled just the Unicode slug and as soon as I enabled it the same problem occured?
Any ideas? I will also follow your other instructions and see what they may turn up.
Cheers
Martin
To start with I uninstalled both the unicode slug and K2 then reinstalled just the Unicode slug and as soon as I enabled it the same problem occured?
Any ideas? I will also follow your other instructions and see what they may turn up.
Cheers
Martin
-
- Joomla! Fledgling
- Posts: 4
- Joined: Tue Dec 28, 2010 11:01 pm
Re: Unicode slugs - Support
I've done a complete search of the site and this has turned up nothing apart from the 2 instances:
/libraries/joomla/filter/filteroutput.php
/plugins/system/unicodeslug/filteroutput.php
This to me suggests that the error happens because of the declaration in the first file. Should JFilterOutput in unicodeslug be extending the original declaration rather than being called JFilterOutput?
/libraries/joomla/filter/filteroutput.php
/plugins/system/unicodeslug/filteroutput.php
This to me suggests that the error happens because of the declaration in the first file. Should JFilterOutput in unicodeslug be extending the original declaration rather than being called JFilterOutput?
- infograf768
- Joomla! Master
- Posts: 19133
- Joined: Fri Aug 12, 2005 3:47 pm
- Location: **Translation Matters**
Re: Unicode slugs - Support
Nope. The full class has to be overriden as otherwise core would have to be hacked and in this case it would be easier to add a new function.mwPeaknet wrote:Should JFilterOutput in unicodeslug be extending the original declaration rather than being called JFilterOutput?
You are the first to get this error and I have honestly no idea why.
Could you reorder the system plugins and make sure unicodeslug loads first?
Jean-Marie Simonet / infograf
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group
-
- Joomla! Fledgling
- Posts: 4
- Joined: Tue Dec 28, 2010 11:01 pm
Re: Unicode slugs - Support
Hello
Checked the plugin page and the unicode slug is set at 0 in the order for the system plugins.
I have run get_called_class() at the bottom of administrator/index.php, the output is below.
As you can see JFilterOutput is declared by the system and then later on it attempts to declare it again from the unicode slug - ive renamed the one in unicode slug as JFilterOutput_kill to highlight it.
Does this shed any light on the issue?
Array
(
[0] => stdClass
[1] => __PHP_Incomplete_Class
[2] => Directory
[3] => jloader
[4] => jobject
[5] => jrequest
[6] => jresponse
[7] => jfactory
[8] => jversion
[9] => jerror
[10] => jexception
[11] => jarrayhelper
[12] => jfilterinput
[13] => jfilteroutput
[14] => jroute
[15] => jtext
[16] => jconfig
[17] => jmenu
[18] => juser
[19] => jregistry
[20] => jregistryformat
[21] => jelement
[22] => jparameter
[23] => juri
[24] => jhtml
[25] => jutility
[26] => jobserver
[27] => jevent
[28] => jobservable
[29] => jdispatcher
[30] => jlanguage
[31] => jstring
[32] => jadministratorhelper
[33] => jtoolbarhelper
[34] => jsubmenuhelper
[35] => jtoolbar
[36] => jbutton
[37] => japplication
[38] => japplicationhelper
[39] => jadministrator
[40] => jcomponenthelper
[41] => jframeworkconfig
[42] => jsession
[43] => jsessionstorage
[44] => jsessionstoragedatabase
[45] => jdatabase
[46] => jtable
[47] => jdatabasemysql
[48] => jpath
[49] => jtablesession
[50] => jregistryformatini
[51] => jfolder
[52] => jpluginhelper
[53] => jplugin
[54] => plgsystemunicodeslug
[55] => plgsystemsef
[56] => plgsystemdebug
[57] => jsimplexml
[58] => jsimplexmlelement
[59] => plgsystemremember
[60] => jfilteroutput_kill
[61] => jdocument
[62] => jdocumentrenderer
[63] => jdocumenthtml
[64] => jmodulehelper
[65] => jhtmlbehavior
[66] => gacl
[67] => gacl_api
[68] => jauthorization
[69] => jcontroller
[70] => pluginscontroller
[71] => jmodel
[72] => jview
[73] => pluginsviewplugins
[74] => jpagination
[75] => jpaginationobject
[76] => jhtmlselect
[77] => jhtmlgrid
[78] => jhtmlimage
[79] => jrouter
[80] => jrouteradministrator
[81] => jhtmlform
[82] => jdocumentrenderercomponent
[83] => jdocumentrenderermessage
[84] => jdocumentrenderermodules
[85] => jdocumentrenderermodule
[86] => jadminsubmenu
[87] => jbuttonstandard
[88] => jbuttonhelp
[89] => jhelp
[90] => modmenuhelper
[91] => jtree
[92] => jnode
[93] => jadmincssmenu
[94] => jmenunode
[95] => menushelper
[96] => jdocumentrendererhead
)
Checked the plugin page and the unicode slug is set at 0 in the order for the system plugins.
I have run get_called_class() at the bottom of administrator/index.php, the output is below.
As you can see JFilterOutput is declared by the system and then later on it attempts to declare it again from the unicode slug - ive renamed the one in unicode slug as JFilterOutput_kill to highlight it.
Does this shed any light on the issue?
Array
(
[0] => stdClass
[1] => __PHP_Incomplete_Class
[2] => Directory
[3] => jloader
[4] => jobject
[5] => jrequest
[6] => jresponse
[7] => jfactory
[8] => jversion
[9] => jerror
[10] => jexception
[11] => jarrayhelper
[12] => jfilterinput
[13] => jfilteroutput
[14] => jroute
[15] => jtext
[16] => jconfig
[17] => jmenu
[18] => juser
[19] => jregistry
[20] => jregistryformat
[21] => jelement
[22] => jparameter
[23] => juri
[24] => jhtml
[25] => jutility
[26] => jobserver
[27] => jevent
[28] => jobservable
[29] => jdispatcher
[30] => jlanguage
[31] => jstring
[32] => jadministratorhelper
[33] => jtoolbarhelper
[34] => jsubmenuhelper
[35] => jtoolbar
[36] => jbutton
[37] => japplication
[38] => japplicationhelper
[39] => jadministrator
[40] => jcomponenthelper
[41] => jframeworkconfig
[42] => jsession
[43] => jsessionstorage
[44] => jsessionstoragedatabase
[45] => jdatabase
[46] => jtable
[47] => jdatabasemysql
[48] => jpath
[49] => jtablesession
[50] => jregistryformatini
[51] => jfolder
[52] => jpluginhelper
[53] => jplugin
[54] => plgsystemunicodeslug
[55] => plgsystemsef
[56] => plgsystemdebug
[57] => jsimplexml
[58] => jsimplexmlelement
[59] => plgsystemremember
[60] => jfilteroutput_kill
[61] => jdocument
[62] => jdocumentrenderer
[63] => jdocumenthtml
[64] => jmodulehelper
[65] => jhtmlbehavior
[66] => gacl
[67] => gacl_api
[68] => jauthorization
[69] => jcontroller
[70] => pluginscontroller
[71] => jmodel
[72] => jview
[73] => pluginsviewplugins
[74] => jpagination
[75] => jpaginationobject
[76] => jhtmlselect
[77] => jhtmlgrid
[78] => jhtmlimage
[79] => jrouter
[80] => jrouteradministrator
[81] => jhtmlform
[82] => jdocumentrenderercomponent
[83] => jdocumentrenderermessage
[84] => jdocumentrenderermodules
[85] => jdocumentrenderermodule
[86] => jadminsubmenu
[87] => jbuttonstandard
[88] => jbuttonhelp
[89] => jhelp
[90] => modmenuhelper
[91] => jtree
[92] => jnode
[93] => jadmincssmenu
[94] => jmenunode
[95] => menushelper
[96] => jdocumentrendererhead
)
- infograf768
- Joomla! Master
- Posts: 19133
- Joined: Fri Aug 12, 2005 3:47 pm
- Location: **Translation Matters**
Re: Unicode slugs - Support
Sorry, no idea.
As I said, it's the first time I hear about this issue since the plugin was made available.
As I said, it's the first time I hear about this issue since the plugin was made available.
Jean-Marie Simonet / infograf
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group
-
- Joomla! Fledgling
- Posts: 2
- Joined: Sat Jun 11, 2011 7:07 am
url problem
hi
thanks for your good extention
i'm using it but i have one problem , in the admin panel it works i mean when i type
ویژه های من
it change to
ویژه-های-من
but when i go to my website (www.behzadn.ir) it doesn't work and show the link with date like this
http://www.behzadn.ir/index.php/1390-02 ... 39-34.html
now what can i do?
thanks for your good extention
i'm using it but i have one problem , in the admin panel it works i mean when i type
ویژه های من
it change to
ویژه-های-من
but when i go to my website (www.behzadn.ir) it doesn't work and show the link with date like this
http://www.behzadn.ir/index.php/1390-02 ... 39-34.html
now what can i do?
- infograf768
- Joomla! Master
- Posts: 19133
- Joined: Fri Aug 12, 2005 3:47 pm
- Location: **Translation Matters**
Re: Unicode slugs - Support
Is the alias saved as
ویژه-های-من
?[/right]Please post a screen capture of the editing of a menu item.
Jean-Marie Simonet / infograf
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group
-
- Joomla! Fledgling
- Posts: 2
- Joined: Sat Jun 11, 2011 7:07 am
Re: Unicode slugs - Support
hi
it's ok , sorry i forgot to change alias for section and category
it's ok , sorry i forgot to change alias for section and category