You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In this scenario, I have a mosaic template that I would like to render the same way for each new event page that is created for my Plone site. I have had success with injecting attributes of the event into the template via the /@@layouts-editor interface, but I am having a lot of trouble with adding a custom tile to the template programatically.
Below I included the code under consideration, and I seem to have many of the attributes correctly filled in for "data-tiledata," though this error is thrown every time in the terminal:
KeyError: 'Please traverse to @@edit-tile/tilename/id'
I am convinced this has something to do with the "uid" key in the "data-tiledata" attribute., based on the error above, and when I create a new event, I am unable to open the form that is usually completed for collection tiles.
Am I not referencing a collection the correct way? Is there some syntax I can use for the UID injection that is dynamic and not hard-coded explicitly to an alpha-numeric ID?
The text was updated successfully, but these errors were encountered:
In this scenario, I have a mosaic template that I would like to render the same way for each new event page that is created for my Plone site. I have had success with injecting attributes of the event into the template via the /@@layouts-editor interface, but I am having a lot of trouble with adding a custom tile to the template programatically.
Below I included the code under consideration, and I seem to have many of the attributes correctly filled in for "data-tiledata," though this error is thrown every time in the terminal:
KeyError: 'Please traverse to @@edit-tile/tilename/id'
I am convinced this has something to do with the "uid" key in the "data-tiledata" attribute., based on the error above, and when I create a new event, I am unable to open the form that is usually completed for collection tiles.
Am I not referencing a collection the correct way? Is there some syntax I can use for the UID injection that is dynamic and not hard-coded explicitly to an alpha-numeric ID?
The text was updated successfully, but these errors were encountered: