Search

I have this config:

{
    "section": {},

    "fields": {

        "Publish date2": {
            "type": "datetime",
            "location": "sidebar",
            "stage": {
                "constructable": "no",
                "draggable": "no",
                "time": "yes",
                "range": "no",
                "prepopulate": "yes"
            },
            "required": "no",
            "show_column": "yes"
        }
    }
}

It seems Scaffolds didn't render the sub-properties (elements of stage). Is it possible to setup sub-elements config?

Same question for SBL which has the select fields[xxx][related_field_id][]. Is it possible to set the related_field_id in xxx.scaffolds.json?

This didn't do the trick:

"Photo album": {
    "type": "selectbox_link_plus",
    "location": "sidebar",
    "view": "checkboxes",
    "related_field_id": 201,
    // "related_field_id": [201],
    // "related_field_id": {"value": 201},
    // "related_field_id": [{"value": 201}],
    "limit": 9999,
    "allow_multiple_selection": "no",
    "show_association": "yes",
    "required": "no",
    "show_column": "yes"
},

Try just using the name instead of the ID, judging by this and this example

I don't believe nested objects is supported at the moment. Could you log an issue please?

There are examples too :) I logged an issue on Github regarding the above.

Do you have any idea when this will be available for S2.3?

I plan to update my extensions to 2.3 in the first week of June. I have started the update on the integration branch.

Ok, thanks. I'm porting my toys to 2.3 and Scaffolds is ... essential :)

Happy coding!

Any updates on this one?

Brendan is on his world tour for 6 months, so I reckon his time working on stuff will be quite sporadic.

Correct. In Paris today actually. I'm next with my laptop in 29 days

Cool. Have a nice holiday!

Create an account or sign in to comment.

Symphony • Open Source XSLT CMS

Server Requirements

  • PHP 5.3-5.6 or 7.0-7.3
  • PHP's LibXML module, with the XSLT extension enabled (--with-xsl)
  • MySQL 5.5 or above
  • An Apache or Litespeed webserver
  • Apache's mod_rewrite module or equivalent

Compatible Hosts

Sign in

Login details