Jump to:

17452 Posts in 4473 Topics by 1971 members


SilverStripe Forums » Archive » give a dataObject a template and url

Our old forums are still available as a read-only archive.

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

Page: 1
Go to End
Author Topic: 1011 Views
  • cobiashi
    Community Member
    5 Posts

    give a dataObject a template and url Link to this post

    I have a specialized sort of gallery that I need to work on.

    gallery holders (page_type) can hold other gallery holders and can hold galleries
    galleries can hold many pictures
    pictures can be in many galleries (many to many)

    Each Picture needs its own page as it has pricing information and background info, etc. However, for convenience sake and because each "picture" can belong in other "galleries", I find the datatype interface of a complextable a bit easier for both the client and I to understand.

    Is there a way to assign a url to the datatype and have it be read by silverstripe, as well as assign a template to the datatype?


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.