List of Curly Bracket Functions

WebEd Curly Brackets allow the editor to quickly insert special WebEd functionality into the page content. The purpose is to provide a fast way for complex content to be added to any page

(The list of curly bracket in database:https://docs.google.com/spreadsheets/d/15Av4-llg2anH3MQO7xPYEl4yNjplMolipCjIqTJ8_ug/edit#gid=784054389 )

Module

Curly Bracket

Parameters

Description

Site Setting

{SettingValue_SettingName}

  • SettingName: the setting name to get

Get setting value from name and render

Banner

Banner ID is invalid. Please check the data again.

  • ParentId: the banner Id to load

Get banner by id and render

Page

Page ID is invalid. Please check the data again.

  • PageId: the page id

Render page content by id

Associated Location

{AssociatedLocations_LocationType}

  • LocationType: the type of location

Find all locations of type and render using template

Associated Location

{InteractiveGoogleMap_LocationType}

  • LocationType: the type of location

Get interactive google map of location where user can click on each location to see the details

Associated Location

{LocationsOnMapByIds_LocationIds}

  • LocationIds: the list of id will be displayed, separate by a semicolon

Get maps by location ids and render using template

Associated Location

{LocationsOnMapById_LocationId_Template}

  • LocationId: the location id to load

  • Template: the template to render

    • If empty then get default template

Get location by id and render using template

Associated Location

{LocationsOnMapByData
_LocationName
_LatLong
_AddressLine1
_AddressLine2
_Suburb
_State
_Postcode
_Country
_Phone
_Email
_Website
_Template}

  • LocationName: the location name information

  • LatLong: lat long information, separate by semicolon

  • AddressLine1: the address line 1 information

  • AddressLine2: the address line 2 information

  • Suburb: the suburb information

  • State: the state information

  • Postcode: the postcode information

  • Country: the country information

  • Phone: the phone information

  • Email: the email information

  • Website: the website information

  • Template: the template for rendering

    • If empty, use the default template

Display the map by input information and template

Associated Location

{LocationsOnMap_LocationTypeId
_CategoryId
_BrandId
_EventId}

  • LocationTypeId: the location type id

  • CategoryId: the category id for loading related locations

  • BrandId: the product band id for loading related locations

  • EventId: the event id for loading related locations

Get locations from various input parameters and render using template

Associated Location

{LocationsOnMap}

parameters come from the request url:

  • LocationTypeId: the location type id

  • CategoryId: the category id for loading related locations

  • BrandId: the product band id for loading related locations

  • EventId: the event id for loading related locations

Get locations from various input parameters from url and render using template

Associates

{PresentAssociates}

 

Get all locations that ToDate >= now and render

Associates

{NewAssociates}

 

Get all locations that IsNew = true and render

Associates

{AssociatesByType_Type}

  • Type: the associate type

Get all associates by type and render

Associates

{AllAssociates}

 

Get all associates and render

Products

{Categories}

 

Get all product categories with brand = 1 and render

Message

{MessageOfTheDay}

 

Get random newest message and present

Highlight

{Highlights}

 

Get all highlights and render

Photo Gallery

{Photogallery_Folder}

  • Folder: the sub photo gallery folder name in /photo_gallery directories

Get all images in folder and render using template

Career

{CareersList}

 

Get all careers and render

Group Message

 

Get all messages of current user and render

UsedCars

{UsedCars}

 

Get vehicle listing and render

Event

{EventsCalendar}

 

Get event calendar and render !?

Event

{EventsListings}

 

Get event listing and render using template

Event

{EventsListingByCategory_CategoryId}

 

Get events by category and render using template

Event

{EventsListingByLocation_LocationId}

  • LocationId: the location of event

Get all events of location and render using template

Event

{EventListDropDown}

   

Event

{EventDetails_EventId}

  • EventId: the event id to render

Get event by id and render

Event

{EventRegistration_EventId}

  • EventId: the event id to render

Get event reregistration by id and render

Competition

{Competition_CompetitionId}

  • EventId: the event id to render

Get competition by id and render

Page

{DisplayTaggedPages_tagCategory
_tagName
_numberToShow
_displayHeading
_displayCaption
_displayContent
_headingAsLink
_captionAsLink
_contentAsLink}

 

Display page by tag

Protected Documents

     

    Get protected documents and render

    Testimonial

    Testimonials

     

     

    Get random testimonials and render

    Testimonial

    {DynamicTestimonials_Count}

    • Count: the number of testimonials to print

    Get a number of testimonials and render by template

    Tell A Friend

    {TellAFriend}

     

    Get tell a friend

    Campaign

    {Campaign_Code}

    • Code: the campaign code

    Get campaign by code and render

    Product

    {ShoppingCart}

     

    Render shopping cart

    News

    {News}

     

    Get RSS feed from CC and render

    News

    • The number of news to show

    Get a number of news and render using template

    News

    {NewsListingDateFormat_DateFormat}

    • DateFormat: The format of date to print out

    Get news listing and print out with date format

    News

    {NewsListingByCategory_CategoryId}

    • CategoryId: the id of category

    Get news of category and render using template

    News

     

    Show news, if url has news id then render news details

    News

    {NewsListingDynamic_IsArchive_CategoryIds
    _Count_DateFormat_Template}

    • IsArchive: display archive news or not

    • CategoryIds: the category ids, separate by semicolon

    • Count: the number of news

    • DateFormat: the format of date

    • Template: the template to render

      • If empty then get default one

    Render news listing by template, if url has news id then render news details

    News

    {NewsListingOnly_IsArchive_CategoryIds
    _Count_DateFormat_Template}

    • IsArchive: display archive news or not

    • CategoryIds: the category ids, separate by semicolon

    • Count: the number of news

    • DateFormat: the format of date

    • Template: the template to render

      • If empty then get default one

    Render news listing by template

    News

    {ArchivedNewsListing}

     

    Show archive news

    News

    {ArchivedNewsListingByCategory_CategoryId}

    • CategoryId: the id of category

    Get archive news of category and render using template

    News

    {RelatedNews_CategoryIds_Count_Template}

    • CategoryIds: list categories

    • Count: number of news items

    • Template: the template to render

    Get related news item with current categories

    News

    {NewsCategoryTitle_NewsId_Separator}

    • NewsId: the id of news

    • Separator: Split categories by separator

    Get news categories title and split by separator

    Roll over Thumbnails

     

       

    Roll over Thumbnails

     

    • GroupName: the group name

    • Height: the height of image

    Render roll over thumbnails of group

    Rotating Images

    Group ID is invalid. Please check the data again.

    • Width: the image's width

    • Height: the image's height

    • Speed the rotating image's speed

    • GroupName: the group name of rotating image to load

      • If empty then get all

    Get rotating images from setup parameters and render

    Rotating Images

    {DynamicRotatingImages_GroupName_Template}

    • GroupName: the group name of rotating image to load

    • Template: the template name

      • If empty then get default one

    Get rotating images by group name and render using template

    Survey

    {Survey_SurveyId_ContactId}

       

    Survey

    {SurveyResults_SurveyId_ContactId}

       

    Snippets

    {SnippetsListing_CategoryId_ShowRoot}

    • CategoryId: the snippet category to load

    • ShowRoot: show root categories or not

    Get the list of snippets with categories and render using template

    Vehicles

    {Vehicles_EnableSearch
    _Type
    _Make
    _Model
    _Stock
    _Template}

    • EnableSearch: enable search or not

      • 1 = yes

      • 0 = no

    • Type: the vehicle type

      • 0: All

      • 1: Demo

      • 2: Used

      • Prefer url params (it means site search with that params)

    • Make: the make information

      • Prefer url params (it means site search with that params)

    • Stock: the stock information

      • Prefer url params (it means site search with that params)

    • Template: the template to render

      • If empty then get default one

    Get vehicle listing and render using template