10390 Posts in 2201 Topics by 1712 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 275 Views |
-
Non latin characters - image gallery

25 April 2012 at 9:22pm
Hi,
I have a little problem with image gallery module. My website is in Czech. When I want to create new photo gallery page my URL adress is not a correctly.
My photo gallery name is for example Louis Vuitton - Budapešť, Maďarsko, but Silverstripe module generate URL louis-vuitton-budapes-ma-arsko. Some non latin characters are missing in URL adress.
My Silverstripe version is 2.4.7.
Can anyone help me?
Thx Pavel
-
Re: Non latin characters - image gallery

25 April 2012 at 10:16pm
Hi Pavel,
The Link() function in the ImageGalleryAlbum class is created on the basis of the Folder associated with the Album, which is created in the assets folder when you create the album. So, you have to replace the name of the assets folder, i.e. louis-vuitton-budapest-madarsko.
Hope it helps,
Juan -
Re: Non latin characters - image gallery

25 April 2012 at 11:13pm
Thank you for your replay Juan, but this solution dont work for me. If I rename the folder, this concrete photo gallery is missing and the URL stay louis-vuitton-budapest-madarsko.
I need some function in PHP code for it, because this web is form my client and he have not a skills to do same changes on FTP.
Any other ideas please?
-
Re: Non latin characters - image gallery

26 April 2012 at 12:40am
Did you rename the folder through the assets CMS interface? You could also do it directly in the File MySQL table, but you shouldn’t touch it through FTP for evident reasons!
-
Re: Non latin characters - image gallery

26 April 2012 at 7:30pm
Hi Juan,
I renamed the name of the folder through CMS interface and I have it:-)
Thx Pavel
| 275 Views | ||
|
Page:
1
|
Go to Top |

