Customizing Structured Root Selectors


(Adam Carvosso) #1

I have created an asset listing page to contain a series of single calendar event objects. These are sorted into folders based on the month they occur in. This functions as outlined in the example Root Selector from the Squiz Manuals. There are two things I'd like to know more information about in relation to customizing this selector.

 

structuret4qb4.png

 

 

(apologies for ugly design)

 

  1. An option to list assets from all folders appears at the top of the Root Selector listings. Is there a way to remove this using settings in Squiz? I don't see anything there and I fear that there is not.
  2. Is there a way to make this not require a submit button, such that selecting an option is equivalent to submitting it? I'm assuming that I can do this with JS but I want to know whether or not that's a fools errand before I dip my feet too far into the water there. 

 

Thanks for any advice people might have. 


(Bart Banda) #2
  1. An option to list assets from all folders appears at the top of the Root Selector listings. Is there a way to remove this using settings in Squiz? I don't see anything there and I fear that there is not.
  2. Is there a way to make this not require a submit button, such that selecting an option is equivalent to submitting it? I'm assuming that I can do this with JS but I want to know whether or not that's a fools errand before I dip my feet too far into the water there. 

 

  1. I think it depends on your root node settings. I think you may be able to set the level of root nodes to show and then just select level 1 from the root node. Alternatively you can easily hide it using CSS.
  2. If you want to make it automatically update the list when clicking on a radio button you would have to write some custom JS yes.