What Are @ Codes
At or instead @ codes are shortcodes from Bulletin Board Systems (BBS) before the Internet came around. @ Codes existed in the dominant software called PC Board. To simplify development, provide extensive growth, and make the software easier. We adopted @ codes for their overall security that lasted over a dozen years without incident.
A key benefit of @ variables is that they allow you to write your information/code once and use it over and over again. You can use @ codes one of two ways. There are core @ codes and user defined @ codes.
Structure
The structure of an @ code is very simple. Every @ code has the following:
- They start and end with an @ symbol. This is why they are called @ codes.
- Every character between the @ symbols must be UPPERCASE.
- Spaces are not allowed. If there is ever a reason that a space is needed you will need to replace it with %20.
- Every @ variable starts with a definer of the module it is associated with. For example, NEWSANDEVENTLIST can be seen as @NEWSANDEVENTLIST@
- Variables
- An @ code can be further extended using module specific codes. As an example, you can do add |TOP:5 into an event list (e.g., @NEWSANDEVENTLIST|TOP:5@ to see only the top 5 events.
Core System @ Codes
The core system has @ variables that can be used as well. Inside of Application Settings, there in the category called "website". Everything in the website category is available using as an @ code. You can create an unlimited number of @ codes in the website category. Below ___ are additional parameters. You can remove the ___ and get the default value for each system @ code.
Note: For an item to be seen the module must be enabled or no results will be returned.
- @ ACCOUNTLIST___ @: Shows the accounts within the system to a logged in user.
- @ MEMBERLIST___ @: This is the same as the ACCOUNTLIST except you don't have to be logged in. This is available to anyone visiting the site.
- @ BLOGLIST___ @: A list of all the blogs within the system.
- @ CMS___ @: Yeti Steps CMS (Content Management System) specific variables.
- @ DOWNLOADLIST___ @: A list of available downloads.
- @ FOODLIST___ @: List of all food items.
- @ gallery___ @: List of all items in a gallery.
- @ GRAPHCHART___ @: Creates and shows a specific chart.
- @ JOBPOSTING___ @: A list of the available jobs.
- @ KBARTICLE___ @: A list of KB Articles.
- @ MAP___ @: A map of the accounts within the system on a Google or other defined map.
- @ NEWSANDEVENTS___ @: A list of news and events.
- @ OURTEAM___ @: Members that are associated to the primary Account Code that meet the requested criteria. Great for About Team pages.
- @ PAGELIST___ @: A list of all the pages within a specific category.
- @ PLOTRESULTS___ @: A list of plot results for our agriculture clients.
- @ PRODUCTCATEGORY___ @: A list of product categories.
- @ ROBOTS___ @: Robots.txt file information.
- @ PRODUCTLIST___ @: List of all products within the system.
- @ SILENTAUCTIONLIST___ @: A list of silent auction items.
- @ SYSTEMALERT___ @: Presents the system alerts within a page.
- @ TESTIMONIAL___ @: A list of all approved testimonials.
Default Website @ Codes
- @ RANDOMNUMBER___ @: A randomly generated number.
- @ PORTALMENUVERTICAL___ @: The portal menu in a vertical format.
- @ CURRENTIPADDRESS @: The visiting users current IP address.
- @ RSS @: An RSS listing of the site.
- @ SITEMAP @: Sitemap.xml information.
- @ SITEMAPHTML @: Sitemap information in HTML format.
- @ YEAR @: The current year. Great for use in the footer of websites for the year copyright.
- @ NOW @: The current date/time.
- @ LOGGEDINADDRESSIDENTIFIER @: For logged in users. Their unique 36-character address identifier.
- @ LOGGEDINADDRESSADDRESSNUMBER @: For logged in users. Their address number in the system.
- @ LOGGEDINDISPLAYNAME @: For logged in users. The users display name.
- @ LOGGEDINEMAILADDRESS @: For logged in users. The users email address.
- @ LOGGEDINGROUPLEVEL @: For logged in users. The group level the user belongs to.
- @ LOGGEDINISADMIN @: For logged in users. Whether the user is administrative user or not.
- @ LOGGEDINSESSIONID @: For logged in users. The users unique session ID.
- @ LOGGEDINTIMEZONE @: For logged in users. The users defined time zone.
- @ LOGGEDINUSERIDENTIFIER @: For logged in users. The users unique 36-character identifier.
- @ ALERTDANGERCOLORBACK @: Alert Danager color background
- @ ALERTDANGERCOLORFORE @: Alert Danger color foreground
- @ ALERTINFOCOLORBACK @: Alert Information color background
- @ ALERTINFOCOLORFORE @: Alert Information color foreground
- @ ALERTSUCCESSCOLORBACK @: Success color background
- @ ALERTSUCCESSCOLORFORE @: Success color foreground
- @ ALERTWARNINGCOLORBACK @: Warning color background
- @ ALERTWARNINGCOLORFORE @: Warning color foreground
- @ BUSINESSADDRESS @: The physical address of your business location
- @ BUSINESSCITY @: The city your business is in
- @ BUSINESSCOUNTIES @: What counties your business works in
- @ BUSINESSCOUNTRY @: The country your business is in
- @ BUSINESSDESCRIPTION @: A short description of your business
- @ BUSINESSEMAILADDRESS @: The primary email address people should use to contact your business. This address is used as the default email forward for many of the modules in the system.
- @ BUSINESSFAX @: The fax number to your business
- @ BUSINESSGOOGLEMAP @: A link to Google Map. This is not the IFRAME shareable for the map. This is when someone clicks a link it goes to Google Maps.
- @ BUSINESSHOURS @: The hours your business is open
- @ BUSINESSLATITUDE @: The latitude to where your business is located.
- @ BUSINESSLOCATION @: This is the address, city, state, and postal code of your address.
- @ BUSINESSLOGO @: This is your primary logo
- @ BUSINESSLONGITUDE @: The longitude to where your business is located.
- @ BUSINESSNAME @: This is the name of your business.
- @ BUSINESSPHONE @: This is the phone number of your business.
- @ BUSINESSPHONETOLLFREE @: This is the toll-free number of your business.
- @ BUSINESSPOSTALCODE @: This is the postal code of where your business is located.
- @ BUSINESSPRICERANGE @: $, $$, $$$, $$$$, or $$$$$ on how expensive your products and services are.
- @ BUSINESSSINCE @: This is the starting date of your business.
- @ BUSINESSSTATE @: This is the state of where your business is located.
- @ BUSINESSTAGLINE @: This is the tag line you use for your business.
- @ BUSINESSTYPE @: This is the type of business you are in.
- @ BUSINESSURL @: This is the primary URL of your web address.
- @ FOOTER @: This is the footer of your website.
- @ HEADER @: This is the header of your website.
- @ BUSINESSNAMEMENU @: Business name for menus.
- @ BUSINESSNAMEPORTAL @: Business name for the customer service portal.
- @ BUSINESSPHONELINK @: Business phone number as a clickable link.
- @ BUSINESSPHONETOLLFREELINK @: Business toll free number as a clickable link.
- @ CACHEHTTPCACHEABILITY @: HTTP Cacheability setting.
- @ CACHEMAXAGESECONDS @: How long should the cache be in seconds.
- @ CONTENTMINLENGTHBEFORECONTENTADD @: Minimum content length.
- @ DATETBD @: What to display when a date is set to TBD (To Be Determined).
- @ DEFAULTLANGUAGE @: Default language for the site.
- @ DROPDOWNHEIGHT @: The drop down height in pixels.
- @ DROPDOWNWIDTH @: The drop down width in pixels.
- @ ERRORLOGGINGLEVEL @: The current error logging level.
- @ FAVICON @: The location of the FavIcon.
- @ FOOTER @: The sites page footer.
- @ FORCESSL @: Should the site force SSL on the user.
- @ FORCESSLWWW @: Should the site force SSL and force www on the user.
- @ GOOGLEMAPAPIKEY @: The Google Map API Key.
- @ GOOGLETAG @: Google Tag Code.
- @ GRIDHEIGHT @: Grid Height.
- @ GRIDMARKENABLE @: Grid mark enabled.
- @ GRIDNOROWSMESSAGE @: Grid no rows message.
- @ GRIDPAGESIZE @: Number of rows displayed for grids.
- @ GRIDPAGESIZEOPTIONS @: The grid page size options.
- @ HEADER @: The websites page header.
- @ ICONDELETE @: Delete icon.
- @ ICONDOWNLOAD @: Download icon.
- @ ICONEDIT @: Edit icon.
- @ ICONTASK @: Task icon.
- @ ICONVIEW @: View icon.
- @ MENUITEMCHECKEDFORMATNO @: No icon.
- @ MENUITEMCHECKEDFORMATYES @: Yes icon
- @ LAZYLOADBLANKIMAGE @: Image to use for lazy loading.
- @ LAZYLOADCLASSNAMEMAXAGESECONDS @: Lazy loading maximum seconds.
- @ MAXRESULTCOUNT @: Maximum record size count.
- @ MINFILTERLENGTH @: Minimum characters that must be typed before lookups happen in the database.
- @ PORTALFAVICON @: FavIcon for the portal
- @ PORTALURL @: The Customer Service portal URL.
- @ SESSIONTIMEOUT @: The session timeout value.
- @ SEVERITYEMAIL @: Error logging level for email.
- @ SEVERITYGLOBALERRORS @: Error logging level for global errors.
- @ SEVERITYINFO @: Error logging level for informational messages.
- @ SEVERITYSAVE @: Error logging level for saving errors.
- @ SEVERITYSELECT @: Error logging level for selecting information from the database.
- @ SHOWERRORSTOSCREEN @: Should errors be displayed to the screen.
- @ SHOWRADNOTIFICATION @: Should a popup notification be displayed on form submitting.
- @ SOCIALFACEBOOK @: This is your page address for Facebook.
- @ SOCIALINSTAGRAM @: This is your page address for Instagram.
- @ SOCIALLINKEDIN @: This is your page address for LinkedIn.
- @ SOCIALPINTEREST @: This is your page address for Pinterest.
- @ SOCIALTWITTER @: This is your page address for Twitter.
- @ SOCIALYOUTUBE @: This is your page address for YouTube.
- @ UNDERCONSTRUCTIONENABLED @: Is the site "Under Construction" page enabled.
- @ USELAZYLOAD @: Should lazy loading be adding to all images within the site.
Additional @ Code Notes
At codes are unique in that they can contain any type of valid HTML. This can include items like:
- @ CSS: Any type of styling can be included.
- @ HTML: You can include any HTML, images, etc. so that you have consistency across multiple pages.
- @ jQuery / JavaScript: Include jQuery/JavaScript that is specific and beneficial to include.