Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # ---
- # Import editorial content for athletes, events, sports and teams from CSV files. Data can be viewed in HMC under "Asics content".
- # ---
- $contentCatalog=aebContentCatalog
- $contentCatalogVersion=catalogVersion(CatalogVersion.catalog(Catalog.id[default=$contentCatalog]),CatalogVersion.version[default=Staged])[default=$contentCatalog:Staged]
- $productCatalog=aebProductCatalog
- $productCatalogName=Asics UK Product Catalog
- $productCV=catalogVersion(catalog(id[default=$productCatalog]),version[default='Staged'])[unique=true,default=$productCatalog:Staged]
- $siteResource=jar:com.asics.aeb.initialdata.constants.AsicsInitialDataAebConstants&/AsicsInitialDataAeb/core/import/aeb/contentCatalogs
- $jarResourceCms=jar:com.asics.aeb.initialdata.constants.AsicsInitialDataAebConstants&/AsicsInitialDataAeb/core/import/aeb/cockpits/cmscockpit
- $jarImageResourceAsicsCore=jar:com.asics.aeb.initialdata.setup.InitialDataAebSystemSetup&/AsicsInitialDataAeb/core/import/aeb/contentCatalogs/images
- $lang=en
- # ################## Friends, Articles and Stories listing page components ################### #
- INSERT_UPDATE CMSParagraphComponent;$contentCatalogVersion[unique=true];uid[unique=true];name;&componentRef;
- ;;header-listPage;headerContent;header-listPage
- INSERT_UPDATE CMSEditorialContentParagraphComponent;$contentCatalogVersion[unique=true];uid[unique=true];name;;contentType(code);&componentRef;
- ;;featuredComponent-listPage;Featured CMSEditorialContentParagraphComponent;featuredContent;FEATURED;featuredComponent-listPage
- ;;friendsComponent-listPage;Friends CMSEditorialContentParagraphComponent;friendContent;FRIENDS;friendsComponent-listPage
- ;;storiesComponent-listPage;Stories CMSEditorialContentParagraphComponent;storiesContent;STORIES;storiesComponent-listPage
- ;;eventsComponent-listPage;Events CMSEditorialContentParagraphComponent;eventsContent;EVENTS;eventsComponent-listPage
- UPDATE ContentSlot;$contentCatalogVersion[unique=true];uid[unique=true];cmsComponents(uid,$contentCatalogVersion);
- ;;FriendsStoriesEventsSlot-listPage;featuredComponent-listPage,friendsComponent-listPage,storiesComponent-listPage,eventsComponent-listPage
- ;;EditorialContentHeaderSlot-listPage;header-listPage
- # CMS Editorial Details Page Components
- # CMS Editorial paragraph Component
- INSERT_UPDATE CMSEditorialHeaderParagraphComponent;$contentCatalogVersion[unique=true];uid[unique=true];name;headline[lang=$lang];subHeadline[lang=$lang];authorName[lang=$lang];photographerName[lang=$lang];date;&componentRef
- ;;editorialFriend1-header-detailsPage;Editorial Header paragraph component;johanna TIENSUU STÅLNACKE;Climbing instructor and free skier;Anna Hansson;Hans Johansson;2014-07-21;editorialFriend1-header-detailsPage
- ;;editorialStory1-header-detailsPage;Editorial Header paragraph component;hiking THE HIMALAYAS;A journey through the kingdom of snow;Edina Samson;Jason Ackerman;2014-08-15;editorialStory1-header-detailsPage
- ;;editorialEvent1-header-detailsPage;Editorial Header paragraph component;"HAGLÖFS OPEN 5";"5 Hours of running and mountain biking in some of the best scenery Britain has to offer.";;;;editorialEvent1-header-detailsPage
- INSERT_UPDATE CMSEditorialTextParagraphComponent;$contentCatalogVersion[unique=true];uid[unique=true];name;headline[lang=$lang];preamble[lang=$lang];content[lang=$lang];&componentRef
- ;;editorialFriend1-text1-detailsPage; Editorial Text paragraph component;johanna HAS ALWAYS LOVED THE MOUNTAINS;"It began when she was four years old, in her local slopes around Kiruna in the very north of Sweden, then continued in Riksgränsen and the Alps. At 16 she discovered mountaineering and climbing, which was to replace ten years of gymnastics. Climbing came naturally to her. She was already strong and enjoyed steep slopes.";"At 153 centimetres above sea level, she can hardly boast about her reach, but she has turned it into a challenge to find alternative routes up the mountain side. She uses technique and cunning, teaching the body to use small handholds and making heelhook moves and dynos to compensate for her height. This has only served to reinforce her fascination for the experience of climbing as a lifestyle. Not losing focus and keeping her wits about her at all times, in all situations, irrespective of position, weather or exposure; all this, as well as taking good care of herself and her friends in the mountains, is what has made climbing so very rewarding.";editorialFriend1-text1-detailsPage
- ;;editorialFriend1-text2-detailsPage; Editorial Text paragraph component;;;"Skiing is her second passion. In winter the skis come out, and the climbing skins and crampons give her full access to the alpine environment and its range of adventures. In short: She likes to climb up and ski down. That is the way she wants it to be, forever.";editorialFriend1-text2-detailsPage
- ;;editorialStory1-text1-detailsPage; Editorial Text paragraph component;it all STARTS WITH AN IDEA;"Born and raised in Shanghai, Shen Wei is a fine art photographer currently based in New York City. Before going to the States, he’s never even held a camera. But once he did, he never stopped. He was inspired by the medium and began exploring the power of photography. As he founded his new calling, Wei went back to China and captured moments that showed traces of the country he remembered.";"The collection shows cities like Chengdu, Guilin, and Wuhan, where it’s still developing. He chose these cities because it reminded him a lot about the old things, to which he grew up with.";editorialStory1-text1-detailsPage
- ;;editorialStory1-text2-detailsPage; Editorial Text paragraph component;;;"<p>Born and raised in Shanghai, Shen Wei is a fine art photographer currently based in New York City. Before going to the States, he’s never even held a camera. But once he did, he never stopped. He was inspired by the medium and began exploring the power of photography. As he founded his new calling, Wei went back to China and captured moments that showed traces of the country he remembered.</p><p>The collection shows cities like Chengdu, Guilin, and Wuhan, where it’s still developing. He chose these cities because it reminded him a lot about the old things, to which he grew up with.</p>";editorialStory1-text2-detailsPage
- ;;editorialEvent1-text1-detailsPage; Editorial Text paragraph component;"5 Hours of running and mountain biking";"Concept - You will have 5 hours to visit as many checkpoints (controls) as you can. Some can only be collected by mountain bike others by foot.";"There are 7 events, each event is on the first Sunday of every month from October through to April.There are 7 events, each event is on the first Sunday of every month from October through to April.There are 7 events, each event is on the first Sunday of every month from October through to April.There are 7 events, each event is on the first Sunday of every month from October through to April.";editorialEvent1-text1-detailsPage
- ;;editorialEvent1-text2-detailsPage; Editorial Text paragraph component;;;"<p>The 2013/14 Open 5 series kicks off in the picturesque Victorian spa town of Ilkley in West Yorkshire. - See more at: http://www.openadventure.com/open5/2013-14/ilkley-october.php#sthash.VURt6HEY.dpuf</p><p>This is the first time Open Adventure has visited this corner of the Yorkshire Dales and veteran Open5 competitor Sue Booth is hoping to show you the delights that Ilkely and the surrounding hills have to offer. - See more at: http://www.openadventure.com/open5/2013-14/ilkley-october.php#sthash.VURt6HEY.dpuf</p><p>Lying on the River Wharfe in Wharfedale, on the edge of the Yorkshire Dales, Ilkley is the official starting point of the Dales Way. Famous for Betty's Tea Rooms, the Cow and Calf rocks and the beautiful Ilkley Moor - the subject of the notorious Yorkshire anthem ""On Ilkla Moor Baht 'at"". - See more at: http://www.openadventure.com/open5/2013-14/ilkley-october.php#sthash.VURt6HEY.dpuf</p>";editorialEvent1-text2-detailsPage
- INSERT_UPDATE CMSEditorialMediaComponent;$contentCatalogVersion[unique=true];uid[unique=true];name;visible;width(code)[default='TWELVECOLUMN'];videoUrl;thumbnailImage(code,$contentCatalogVersion);enlargedImage(code,$contentCatalogVersion);
- ;;editorial-media-1;editorial-media-1;true;TWELVECOLUMN;www.youtube.com;editorial-slider-media-1;editorial-slider-large-media-1
- ;;editorial-media-2;editorial-media-2;true;TWELVECOLUMN;www.youtube.com;editorial-slider-media-2;editorial-slider-large-media-2
- INSERT_UPDATE CMSEditorialMediaSliderContainer;$contentCatalogVersion[unique=true];uid[unique=true];name;simpleCMSComponents(uid, $contentCatalogVersion);&componentRef
- ;;editorial-slider-container-1;editorial-slider-container-1;editorial-media-1,editorial-media-2;editorial-slider-container-1
- INSERT_UPDATE CMSArticleMediaComponent;$contentCatalogVersion[unique=true];uid[unique=true];name;visible;width(code);videoUrl;thumbnailImage(code,$contentCatalogVersion);enlargedImage(code,$contentCatalogVersion)
- ;;article-media-1;article-media-1;true;TWELVECOLUMN;www.youtube.com;article-slider-media-1;article-slider-large-media-1
- ;;article-media-2;article-media-2;true;TWELVECOLUMN;www.youtube.com;article-slider-media-2;article-slider-large-media-2
- INSERT_UPDATE CMSArticleMediaSliderContainer;$contentCatalogVersion[unique=true];uid[unique=true];name;simpleCMSComponents(uid, $contentCatalogVersion);&componentRef
- ;;article-slider-container-1;article-slider-container-1;article-media-1,article-media-2;article-slider-container-1
- INSERT_UPDATE HaglofsFriendPage;uid[unique=true];name;title;$contentCatalogVersion[unique=true];masterTemplate(uid,$contentCatalogVersion)[default='FriendPageTemplate'];defaultPage[default=false];approvalStatus(code)[default='approved']
- ;arminNeurauterHaglofsFriendPage;Friend Page Armin Neurauter;Armin Neuraute
- ;jorgenAamotHaglofsFriendPage;Friend Page Jorgen Aamot;Jorgen Aamot
- ;lottenRappHaglofsFriendPage;Friend Page Lotten Rapp;Lotten Rapp
- ;marcusHellnerHaglofsFriendPage;Friend Page Marcus Hellner;Marcus Hellner
- ;saidBelhajHaglofsFriendPage;Friend Page Said Belhaj;Said Belhaj
- INSERT_UPDATE CMSHaglofsFriendRestriction;uid[unique=true];friends(code);pages(uid,$contentCatalogVersion);$contentCatalogVersion[unique=true]
- ;arminNeurauterCMSHaglofsFriendRestriction;armin-neurauter;arminNeurauterHaglofsFriendPage
- ;jorgenAamotCMSHaglofsFriendRestriction;jorgen-aamot;jorgenAamotHaglofsFriendPage
- ;lottenRappCMSHaglofsFriendRestriction;lotten-rapp;lottenRappHaglofsFriendPage
- ;marcusHellnerCMSHaglofsFriendRestriction;marcus-hellner;marcusHellnerHaglofsFriendPage
- ;saidBelhajCMSHaglofsFriendRestriction;said-belhaj;saidBelhajHaglofsFriendPage
- # Create ContentSlots for Friend Page
- INSERT_UPDATE ContentSlot;$contentCatalogVersion[unique=true];uid[unique=true];name;active;cmsComponents(uid,$contentCatalogVersion);
- ;;HeadArticleContentSlot-arminNeurauterHaglofsFriendPage;Default HeadArticleContent for Friend Page Armin Neurauter;true;editorialFriend1-header-detailsPage
- ;;TextArticleContentSlot-arminNeurauterHaglofsFriendPage; Default TextArticle Content Slot for Friend Page Armin Neurauter;true;editorialFriend1-text1-detailsPage,editorial-slider-container-1,editorialFriend1-text2-detailsPage
- ;;GridSliderContentSlot-arminNeurauterHaglofsFriendPage; Default GridSlider Content Slot for Friend Page Armin Neurauter;true;
- ;;FeaturedVerticleContentSlot-arminNeurauterHaglofsFriendPage; Default Featured Verticle Content Slot for Friend Page Armin Neurauter;true;
- ;;OtherFriendsContentSlot-arminNeurauterHaglofsFriendPage; Default Other Friends Content Slot for Friend Page Armin Neurauter;true;
- # ContentSlotForPage for Friend Page
- INSERT_UPDATE ContentSlotForPage;$contentCatalogVersion[unique=true];uid[unique=true];position[unique=true];page(uid,$contentCatalogVersion)[unique=true];contentSlot(uid,$contentCatalogVersion)[unique=true]
- ;;HeadArticleContent-FriendPage;HeadArticleContent;arminNeurauterHaglofsFriendPage;HeadArticleContentSlot-arminNeurauterHaglofsFriendPage
- ;;TextArticleContentSlot-FriendPage;TextArticleContent;arminNeurauterHaglofsFriendPage;TextArticleContentSlot-arminNeurauterHaglofsFriendPage
- ;;GridSliderContentSlot-FriendPage;GridSliderContent;arminNeurauterHaglofsFriendPage;GridSliderContentSlot-arminNeurauterHaglofsFriendPage
- ;;FeaturedVerticleContentSlot-FriendPage;FeaturedVerticleContent;arminNeurauterHaglofsFriendPage;FeaturedVerticleContentSlot-arminNeurauterHaglofsFriendPage
- ;;OtherFriendsContentSlot-FriendPage;OtherFriendsContent;arminNeurauterHaglofsFriendPage;OtherFriendsContentSlot-arminNeurauterHaglofsFriendPage
- INSERT_UPDATE HaglofsStoryPage;uid[unique=true];name;title;$contentCatalogVersion[unique=true];masterTemplate(uid,$contentCatalogVersion)[default='StoryPageTemplate'];defaultPage[default=false];approvalStatus(code)[default='approved']
- ;sleepingBagConceptHaglofsStoryPage;Story Page Developing our new sleeping bag concept;Developing our new sleeping bag concept
- ;experienceWhyLessIsMoreHaglofsStoryPage;Story Page Experience why Less Is More;Experience why Less Is More
- ;springSkiingInSvalbardHaglofsStoryPage;Story Page Spring Skiing In Svalbard;Spring Skiing In Svalbard
- ;takeALookAtOurWorkshopHaglofsStoryPage;Story Page Take a look at our workshop;Take a look at our workshop
- ;updatedVojdAbsBackpackHaglofsStoryPage;Story Page Updated vojd abs backpack for the winter 2015;Updated vojd abs backpack for the winter 2015
- INSERT_UPDATE CMSHaglofsStoryRestriction;uid[unique=true];stories(code);pages(uid,$contentCatalogVersion);$contentCatalogVersion[unique=true]
- ;sleepingBagRestriction;developing-our-new-sleeping-bag-concept;sleepingBagConceptHaglofsStoryPage
- ;experienceWhyLessIsMoreRestriction;experience-why-less-is-more;experienceWhyLessIsMoreHaglofsStoryPage
- ;springSkiingInSvalbardRestriction;spring-skiing-in-svalbard;springSkiingInSvalbardHaglofsStoryPage
- ;takeALookAtOurWorkshopRestriction;take-a-look-at-our-workshop;takeALookAtOurWorkshopHaglofsStoryPage
- ;updatedVojdAbsBackpackRestriction;updated-vojd-abs-backpack-for-the-winter-2015;updatedVojdAbsBackpackHaglofsStoryPage
- # Create ContentSlots for Story Page
- INSERT_UPDATE ContentSlot;$contentCatalogVersion[unique=true];uid[unique=true];name;active;cmsComponents(uid,$contentCatalogVersion);
- ;;HeadArticleContentSlot-sleepingBagConceptHaglofsStoryPage;Default HeadArticleContent for Story Page sleepingBagConcept;true;editorialStory1-header-detailsPage
- ;;TextArticleContentSlot-sleepingBagConceptHaglofsStoryPage; Default TextArticle Content Slot for Story Page sleepingBagConcept;true;editorialStory1-text1-detailsPage,editorial-slider-container-1,editorialStory1-text2-detailsPage
- ;;GridSliderContentSlot-sleepingBagConceptHaglofsStoryPage; Default GridSlider Content Slot for Story Page sleepingBagConcept;true;
- ;;FeaturedContentSlot-sleepingBagConceptHaglofsStoryPage; Default Featured Content Slot for Story Page sleepingBagConcept;true;
- ;;OtherArticlesVerticleContentSlot-sleepingBagConceptHaglofsStoryPage; Default Other Articles Verticle Content Slot for Story Page sleepingBagConcept;true;
- # ContentSlotForPage for Story Page
- INSERT_UPDATE ContentSlotForPage;$contentCatalogVersion[unique=true];uid[unique=true];position[unique=true];page(uid,$contentCatalogVersion)[unique=true];contentSlot(uid,$contentCatalogVersion)[unique=true]
- ;;HeadArticleContent-StoryPage;HeadArticleContent;sleepingBagConceptHaglofsStoryPage;HeadArticleContentSlot-sleepingBagConceptHaglofsStoryPage
- ;;TextArticleContentSlot-StoryPage;TextArticleContent;sleepingBagConceptHaglofsStoryPage;TextArticleContentSlot-sleepingBagConceptHaglofsStoryPage
- ;;GridSliderContentSlot-StoryPage;GridSliderContent;sleepingBagConceptHaglofsStoryPage;GridSliderContentSlot-sleepingBagConceptHaglofsStoryPage
- ;;FeaturedContentSlot-StoryPage;FeaturedContent;sleepingBagConceptHaglofsStoryPage;FeaturedContentSlot-sleepingBagConceptHaglofsStoryPage
- ;;OtherArticlesVerticleContentSlot-StoryPage;OtherArticlesVerticleContent;sleepingBagConceptHaglofsStoryPage;OtherArticlesVerticleContentSlot-sleepingBagConceptHaglofsStoryPage
- INSERT_UPDATE HaglofsEventPage;uid[unique=true];name;title;$contentCatalogVersion[unique=true];masterTemplate(uid,$contentCatalogVersion)[default='HaglofsEventPageTemplate'];defaultPage[default=false];approvalStatus(code)[default='approved']
- ;haglofsArticWeekendEventPage;Event Page Haglofs Arctic Weekend;Haglofs Arctic Weekend
- ;mountainMarathonEventPage;Event Page Haglofs Highlander Mountain Marathon;Haglofs Highlander Mountain Marathon
- ;halofsOpen5EventPage;Event Page lotten;lotten
- ;joinUsAtRiksgrnsenEventPage;Event Page Join us at Riksgrnsen;Join us at Riksgrnsen
- ;theStrathpufferEventPage;Event Page The Strathpuffer;The Strathpuffer
- INSERT_UPDATE CMSHaglofsEventRestriction;uid[unique=true];events(code);pages(uid,$contentCatalogVersion);$contentCatalogVersion[unique=true]
- ;haglofsArticWeekendEventRestriction;haglofs-artic-weekend;haglofsArticWeekendEventPage
- ;mountainMarathonEventRestriction;haglofs-highlander-mountain-marathon;mountainMarathonEventPage
- ;halofsOpen5EventRestriction;halofs-open-5;halofsOpen5EventPage
- ;joinUsAtRiksgrnsenEventRestriction;join-us-at-riksgrnsen;joinUsAtRiksgrnsenEventPage
- ;theStrathpufferEventRestriction;the-strathpuffer;theStrathpufferEventPage
- # Create ContentSlots for Event Page
- INSERT_UPDATE ContentSlot;$contentCatalogVersion[unique=true];uid[unique=true];name;active;cmsComponents(uid,$contentCatalogVersion);
- ;;HeadArticleContentSlot-halofsOpen5EventPage;Default HeadArticleContent for Event Page halofsOpen5;true;editorialEvent1-header-detailsPage
- ;;TextArticleContentSlot-halofsOpen5EventPage; Default TextArticle Content Slot for Event Page halofsOpen5;true;editorialEvent1-text1-detailsPage,editorial-slider-container-1,editorialEvent1-text2-detailsPage
- ;;GridSliderContentSlot-halofsOpen5EventPage; Default GridSlider Content Slot for Event Page halofsOpen5;true;
- ;;FeaturedContentSlot-halofsOpen5EventPage; Default Featured Content Slot for Event Page halofsOpen5;true;
- ;;OtherEventsVerticleContentSlot-halofsOpen5EventPage; Default Other Events Verticle Content Slot for Event Page halofsOpen5;true;
- # ContentSlotForPage for Event Page
- INSERT_UPDATE ContentSlotForPage;$contentCatalogVersion[unique=true];uid[unique=true];position[unique=true];page(uid,$contentCatalogVersion)[unique=true];contentSlot(uid,$contentCatalogVersion)[unique=true]
- ;;HeadArticleContent-EventPage;HeadArticleContent;halofsOpen5EventPage;HeadArticleContentSlot-halofsOpen5EventPage
- ;;TextArticleContentSlot-EventPage;TextArticleContent;halofsOpen5EventPage;TextArticleContentSlot-halofsOpen5EventPage
- ;;GridSliderContentSlot-EventPage;GridSliderContent;halofsOpen5EventPage;GridSliderContentSlot-halofsOpen5EventPage
- ;;FeaturedContentSlot-EventPage;FeaturedContent;halofsOpen5EventPage;FeaturedContentSlot-halofsOpen5EventPage
- ;;OtherEventsVerticleContentSlot-EventPage;OtherEventsVerticleContent;halofsOpen5EventPage;OtherEventsVerticleContentSlot-halofsOpen5EventPage
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement