Print "Create Locations" of a calendar event?


(Amurray) #1

Hi! I have created a calendar asset, with the following Event Sources:

 

Location to draw events from    CSS Class to apply to the events' display All Cities                                    green
Rome                                        olive
Paris                                         silver
Tokyo                                        lime
London                                     orange
Wagga Wagga                          teal

 

These are folders, that single and reoccuring calendar events get created under, and are colour coded in the Monthly view. Working well!

When the person clicks to view the individual event, I would like to print this city name (idealy also their colour key) on their Type Formats, alongside the other event keywords.

Targeting a folder (or essentially the parent) of an asset understandably is subjective, but is there a keyword combination in existence that targets create locations?

 

I had found these:

Create Locations screen (%locations-%)

%locations-S_fixed_create_locations%
%locations-S_selectable_create_locations%
%locations-S_dynamic_create_locations%
%locations-S_create_location_rules%
%locations-S_additional_create_locations%

 

But unsuccessful in getting values to display.

 

I attempting to target with a newly created metadata field, %metadata-F_{metadata schema field id}% also.

I have created an asset builder to utilise, but might understand if clients would prefer to create events in the Easy Edit suite.

 

Am I on the cusp? Or nowhere close?

Thank you in advance for your ideas!

 


(Nic Hubbard) #2

If you are showing the individual events, are you using a paint layout on those assets? If you are, just nest an Asset Listing in the paint layout, setup the Dynamic Params to be for the current asset, and look up the tree for folder assets (set direct children too). That way, it will find the parent folder that it lives in just like you are wanting.


(Amurray) #3

Thank you for your reply Nic!

Asset listing on the paint layout eh? I'll give it try!