Jump to:

10849 Posts in 2516 Topics by 1792 members

All other Modules

SilverStripe Forums » All other Modules » How can I change the $Layout of the flickr service pages

Discuss all other Modules here.

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

Page: 1
Go to End
Author Topic: 1239 Views
  • mrwindupbird
    Avatar
    Community Member
    26 Posts

    How can I change the $Layout of the flickr service pages Link to this post

    I've tried naming the file "FlickrService.ss", "FlickrGallery.ss", and "FlickrWidget.ss" as those are the names of the PHP files... I tried putting them in the themes layout directory as well as the flickrservice layout directory (which I had to create), and I can't seem to get it to work...

    Essentially, what I am trying to implement is a sub-menu design specific for my gallery pages and a sub-menu design specific for my music pages... Any tips? Learning as I go, thanks in advance for your help!

  • UncleCheese
    Avatar
    4085 Posts

    Re: How can I change the $Layout of the flickr service pages Link to this post

    You don't need to rename anything. Just create an override template in your theme directory. So if you want to customize /flickr/templates/Layout/Flickr.ss, you would create /your_theme/templates/Layout/Flickr.ss. Run a ?flush=1 and you should be good to go.

  • mrwindupbird
    Avatar
    Community Member
    26 Posts

    Re: How can I change the $Layout of the flickr service pages Link to this post

    Perhaps there's some miscommunication... I tried doing just that. It didn't work. I guess my point is that the override template has to have a name matching the page it will override, and I cannot figure out what the page name is. I have tried ?flush=1 and ?flush=all with no luck..

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