Jump to:

5537 Posts in 1737 Topics by 1223 members

Customising the CMS

SilverStripe Forums » Customising the CMS » Updating the LHS Site Tree in the Content Editing Section

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

Page: 1
Go to End
Author Topic: 822 Views
  • elgordo
    Avatar
    Community Member
    70 Posts

    Updating the LHS Site Tree in the Content Editing Section Link to this post

    I'm currently working on a gallery where both the photograph and gallery extend Page, so that they can be translated easily. It is relatively straightforward to set up, but I wanted a bulk upload facility. I've managed to add a bulk upload tab which appears to be working, in that images uploaded in bulk using the Uploadify form fields are converted to Photographs and added correctly into the database. The Uploadify widget refreshes itself when I delete the references to the bulk uploaded files, but I am not sure how to go about updating the gallery object in the left hand tree menu in order to show the newly added pictures. Currently I have to refresh the entire page.

  • elgordo
    Avatar
    Community Member
    70 Posts

    Re: Updating the LHS Site Tree in the Content Editing Section Link to this post

    To see an example of what I mean I have put my current code in progress on github, https://github.com/gordonbanderson/Silverstripe-Translatable-Gallery/

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