When I wrote this code, only me and God knew how it works. Now only God knows…


GR Old

Secondary nav bar
  • _secondaryNavBar.title -
Banner
  • bannerType - generalBannerSlider
  • Theme - default
  • slides
    • generalBannerSliderData[0].title -
    • generalBannerSliderData[0].image -
    • generalBannerSliderData[0].subtitle - SASR
    • generalBannerSliderData[0].description - Congratulations to the TGRSA teams on your inaugural participation in the SASR race!
    • generalBannerSliderData[1].title -
    • generalBannerSliderData[1].image -
    • generalBannerSliderData[1].subtitle - Junior Academy
    • generalBannerSliderData[1].description - Don’t miss the action
    • generalBannerSliderData[2].title -
    • generalBannerSliderData[2].image -
    • generalBannerSliderData[2].subtitle - Motorsport
    • generalBannerSliderData[2].description -
    • generalBannerSliderData[3].title -
    • generalBannerSliderData[3].image -
    • generalBannerSliderData[3].subtitle - Merchandise
    • generalBannerSliderData[3].description -
Spacer
  • seperator -
  • theme - black
  • spacerType - custom
  • custom.mobile - 80
  • custom.tabletPortrait - 80
  • custom.tabletLandscape - 80
  • custom.desktop - 135
  • custom.largeDesktop - 135
GR Tabbed Two Column Cards
  • showPagination - true
  • tabbedTwoColumnCardsData
    • Card[0]
      • tabbedTwoColumnCardsData[0].cards[0] - South African Safari Rally (SASR)
      • tabbedTwoColumnCardsData[0].subtitle -
      • tabbedTwoColumnCardsData[0].expiryDate -
      • tabbedTwoColumnCardsData[0].description.items[0].content - <p>The tough world of rally-raid racing is heading to South Africa in 2025 with the launch of the first-ever South African Safari Rally (SASR), part of the World Rally-Raid Championship (W2RC). From 18 to 24 May, top drivers, co-drivers, and riders from around the globe will gather at Sun City in the North West Province to take on a carefully designed route that offers both stunning scenery and a serious challenge for people and machines alike.</p>
      • tabbedTwoColumnCardsData[0].imgPosition - left
      • tabbedTwoColumnCardsData[0].buttons - Yes
Image
  • tabbedTwoColumnCardsData
    • Card[0]
      • tabbedTwoColumnCardsData[0].cards[0].image.items[0].image -
Spacer
  • seperator -
  • theme - black
  • spacerType - custom
  • custom.mobile - 80
  • custom.tabletPortrait - 80
  • custom.tabletLandscape - 80
  • custom.desktop - 135
  • custom.largeDesktop - 135
GR Events (Flume) 2
  • _grEvents.title -
  • _grEvents.heading -
  • _grEvents.subHeading -
Spacer
  • seperator -
  • theme - black
  • spacerType - custom
  • custom.mobile - 80
  • custom.tabletPortrait - 80
  • custom.tabletLandscape - 80
  • custom.desktop - 135
  • custom.largeDesktop - 135
Adaptive content banner
  • title - GR
  • description - Gazoo Racing South Africa
  • backgroundImage -
  • slides
    • slides[0].title -
    • slides[0].subtitle -
    • slides[0].description - Legendary Toughness Meets Ultimate Performance
    • slides[0].video -
    • slides[0].image -
    • buttons
      • buttons[0].button.linkLabel - Experience Hilux
      • buttons[0].button.linkUrl - /vehicles/hilux-double-cab
      • buttons[0].button.linkWindow - false
    • slides[1].title - 86
    • slides[1].subtitle -
    • slides[1].description - Born To Perform
    • slides[1].video -
    • slides[1].image -
    • buttons
      • buttons[0].button.linkLabel - Experience GR 86
      • buttons[0].button.linkUrl - /vehicles/gr86
      • buttons[0].button.linkWindow - false
    • slides[2].title -
    • slides[2].subtitle -
    • slides[2].description - Born To Perform
    • slides[2].video -
    • slides[2].image -
    • buttons
      • buttons[0].button.linkLabel - Experience GR Yaris
      • buttons[0].button.linkUrl - /vehicles/gr-yaris
      • buttons[0].button.linkWindow - false
Spacer
  • seperator -
  • spacerType - custom
  • custom.mobile - 80
  • custom.tabletPortrait - 80
  • custom.tabletLandscape - 80
  • custom.desktop - 135
  • custom.largeDesktop - 135
Slider deck
  • title - GR Merchandise
  • deckType - general
  • withbackgroundTheme - false
  • stretch cards - false
  • number of columns -
  • theme - grTheme
  • generalData
    • generalData[0].title - GR T-Shirt (Ladies And Mens)
    • generalData[0].content - <p><br /></p>
    • generalData[0].image -
    • ------------------------------------------------------------------------
    • generalData[1].title - GR Cooler Bag
    • generalData[1].content - <p><br /></p>
    • generalData[1].image -
    • ------------------------------------------------------------------------
    • generalData[2].title - Gazoo Diagonal T-Shirt (Unisex)
    • generalData[2].content - <p><br /></p>
    • generalData[2].image -
    • ------------------------------------------------------------------------
    • generalData[3].title - <br>
    • generalData[3].content -
    • ------------------------------------------------------------------------
  • cssId - gr-merchandise
Spacer
  • seperator -
  • spacerType - custom
  • custom.mobile - 80
  • custom.tabletPortrait - 80
  • custom.tabletLandscape - 80
  • custom.desktop - 60
  • custom.largeDesktop - 60
RSS Feed Slider
  • Title - Toyota Connect
  • Category - 502
Spacer
  • seperator -
  • theme - black
  • spacerType - preset
  • mobile - 50
  • tabletPortrait - 75
  • tabletLandscape - 100
  • desktop - 135
  • largeDesktop - 150
Spacer
  • seperator -
  • spacerType - custom
  • custom.mobile - 10
  • custom.tabletPortrait - 10
  • custom.tabletLandscape - 20
  • custom.desktop - 50
  • custom.largeDesktop - 50
Slider deck
  • title - LATEST NEWS
  • deckType - news
  • withbackgroundTheme - false
  • stretch cards - false
  • number of columns - 4
  • theme - grTheme
  • Categories
    • newsData.categories[0].category_id - 3
Spacer
  • seperator -
  • spacerType - custom
  • custom.mobile - 10
  • custom.tabletPortrait - 10
  • custom.tabletLandscape - 80
  • custom.desktop - 100
  • custom.largeDesktop - 100
Spacer
  • seperator -
  • theme - black
  • spacerType - custom
  • custom.mobile - 10
  • custom.tabletPortrait - 10
  • custom.tabletLandscape - 20
  • custom.desktop - 50
  • custom.largeDesktop - 50
Text
  • theme - gr
  • title - EXPERIENCE GR
Spacer
  • seperator -
  • theme - black
  • spacerType - custom
  • custom.mobile - 10
  • custom.tabletPortrait - 10
  • custom.tabletLandscape - 20
  • custom.desktop - 60
  • custom.largeDesktop - 60
Two Column - Text with Image
  • componentType - textWithImage
  • textWithImageData.title - GR Zone
  • textWithImageData.theme - gr
  • textWithImageData.video - https://devtoyotaflumemedia.blob.core.windows.net/toyotacms23/videos/Flume_Toyota%20GR%20Website%20Banner_2.mp4
  • textWithImageData.description - <p>Visit a GR Zone near you to get the latest and greatest GR range.</p> <p> </p>
Image
  • textWithImageData.image -

    https://devtoyotaflumemedia.blob.core.windows.net/toyotacms23/attachments/clp3xh9780fdclkakcdxonfjs-gr-home-side-block-motus-bedfordview-626x450.0.97.1252.704.full.jpg

  • textWithImageData.imgPosition - left
Spacer
  • seperator -
  • theme - black
  • spacerType - preset
  • mobile - 50
  • tabletPortrait - 75
  • tabletLandscape - 100
  • desktop - 135
  • largeDesktop - 150
Two Column - Text with Image
  • componentType - textWithImage
  • textWithImageData.title - Advanced TGR Driving Academy
  • textWithImageData.theme - gr
  • textWithImageData.video - https://media.cdntoyota.co.za/videos/Comp%206.mp4
  • textWithImageData.description - <p>Boost your defensive driving skills with this advanced course that offers theory sessions and practical driving experience.</p>
  • textWithImageData.buttons
    • htmlTextData.buttons[0].defaultButton
      • htmlTextData.buttons[0].button.linkLabel - Learn More
      • htmlTextData.buttons[0].button.linkUrl - /gr/driving-academy
      • htmlTextData.buttons[0].button.linkWindow - false
Image
  • textWithImageData.image -

    https://devtoyotaflumemedia.blob.core.windows.net/toyotacms23/attachments/cloezq9jp0cp9l0ak6aomqrf0-gr-home-side-block-advaced-driving-academy-302x192.0.22.604.339.full.png

  • textWithImageData.imgPosition - right
Spacer
  • seperator -
  • theme - black
  • spacerType - preset
  • mobile - 50
  • tabletPortrait - 75
  • tabletLandscape - 100
  • desktop - 135
  • largeDesktop - 150
Two Column - Text with Image
  • componentType - textWithImage
  • textWithImageData.title - Junior Academy
  • textWithImageData.theme - gr
  • textWithImageData.video - https://media.cdntoyota.co.za/videos/Comp%205.mp4
  • textWithImageData.description - <p>The aim of the TGRSA Motorsport Development Programme is to grow the participation of minority groups in South African motorsport, by finding, nurturing, and developing both new and existing talent.</p>
  • textWithImageData.buttons
    • htmlTextData.buttons[0].defaultButton
      • htmlTextData.buttons[0].button.linkLabel - Learn More
      • htmlTextData.buttons[0].button.linkUrl - /discover/csr/junior-academy
      • htmlTextData.buttons[0].button.linkWindow - false
Image
  • textWithImageData.image -

    https://devtoyotaflumemedia.blob.core.windows.net/toyotacms23/attachments/clam3799600vt0pnvfqdhftml-junior-academy-banner.0.0.1920.1080.full.png

  • textWithImageData.imgPosition - left
Spacer
  • seperator -
  • theme - black
  • spacerType - preset
  • mobile - 50
  • tabletPortrait - 75
  • tabletLandscape - 100
  • desktop - 135
  • largeDesktop - 150
Banner
  • bannerType - generic
  • Theme - gr
  • genericData.isProductBanner - false
  • genericData.withBreadCrumb - false
  • genericData.preTitle - Experience
  • genericData.title - GR Global
  • genericData.textTheme - gr
  • genericData.textTheme - gr
  • backgroundImage -
  • genericData.buttons[0].defaultButton
    • genericData.buttons[0].button.linkLabel - Visit GR Global
    • genericData.buttons[0].button.linkUrl - https://toyotagazooracing.com/
    • genericData.buttons[0].button.linkWindow - true
Spacer
  • seperator -
  • theme - black
  • spacerType - preset
  • mobile - 50
  • tabletPortrait - 75
  • tabletLandscape - 100
  • desktop - 135
  • largeDesktop - 150