Jump to:

23379 Posts in 18298 Topics by 2867 members

General Questions

SilverStripe Forums » General Questions » nested HasManyComplexTableField

General questions about getting started with SilverStripe that don't fit in any of the categories above.

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

Page: 1
Go to End
Author Topic: 677 Views
  • marcink
    Community Member
    89 Posts

    nested HasManyComplexTableField Link to this post


    i want to have a page type with hmctf, and inside this hmctf i want to have another hmctf...

    for example, i would like to add any number of divs to my page, each div with a image - this would be the 1st hmctf.
    to each image, there are any number of attributes - the 2nd hmctf, inside the 1st.

    is that possible?

    or is there a better way?

  • Aram
    Community Member
    598 Posts

    Re: nested HasManyComplexTableField Link to this post

    Hi Marcink

    I doubt this is possible without *a lot* of work rewriting ComplexTableField and probably a load of the javascript which runs in the CMS.......not a good idea unless you like headaches ;)

    Probably one ctf with a dynamic dropdown to select the image would be the closest you can get without a lot of hassle.

    Hope that helps

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.