Jump to:

10930 Posts in 2613 Topics by 1810 members

All other Modules

SilverStripe Forums » All other Modules » Non latin characters - image gallery

Discuss all other Modules here.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 459 Views
  • Gaudino
    Avatar
    Community Member
    8 Posts

    Non latin characters - image gallery Link to this post

    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

  • Juanitou
    Avatar
    Community Member
    323 Posts

    Re: Non latin characters - image gallery Link to this post

    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

  • Gaudino
    Avatar
    Community Member
    8 Posts

    Re: Non latin characters - image gallery Link to this post

    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?

  • Juanitou
    Avatar
    Community Member
    323 Posts

    Re: Non latin characters - image gallery Link to this post

    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!

  • Gaudino
    Avatar
    Community Member
    8 Posts

    Re: Non latin characters - image gallery Link to this post

    Hi Juan,

    I renamed the name of the folder through CMS interface and I have it:-)

    Thx Pavel

    459 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.