10704 Posts in 2385 Topics by 1763 members
|Go to End|
25 April 2012 at 9:22pm
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?
25 April 2012 at 10:16pm
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,
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?
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!
26 April 2012 at 7:30pm
I renamed the name of the folder through CMS interface and I have it:-)
|Go to Top|