Jump to:

10851 Posts in 2517 Topics by 1793 members

All other Modules

SilverStripe Forums » All other Modules » Customization image gallery -> product page

Discuss all other Modules here.

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

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

    Customization image gallery -> product page Link to this post

    Hi,

    I want to use image gallery modul for Silverstripe like the product page, but I have small problem with URL.

    In original image gallery is the patch for example /photogallery/album/my_gallery

    I need to change this URL like this: /photogallery/my_gallery ... without /album/

    In code is

    public function Link()
       {
          $name = $this->Folder()->Name;
          if(!$name) {
             $name = $this->FolderID;
          }
          return $this->ImageGalleryPage()->Link('album/'.$name);
       }

    If I delete 'album/' ... so page not found.

    Exist any solution for it?

    Thanx

    390 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.