These codes can be used to access different codes from the system in your post and other places that have a Content. For e.g. you could display a block right here, or show the current server time and so on. There are two ways to call codes, the ones are dynamic codes/script that first will run and then display the result, these codes are always entered like this{script}arguments{/script} , the other way is to display defined values, for e.g. current time and date and so on. These variables can be accessed like this %VARIABLE% . All Global Settings constants/defnitions can also be accessed this way.

These are some of the variables you can use, but these variables (definitions) can always be extended by modules:

  • %NOW% = 2017-11-21 10:04:04
  • %NOW_DATE% = 2017-11-21
  • %NOW_YEAR% = 2017
  • %NOW_MONTH% = 11
  • %NOW_DAY% = 21
  • %PAGE_TITLE% = jCore - the Webmaster's Multisite CMS
  • %SITE_URL% = http://demo.jcore.net/
  • %JCORE_VERSION% = 1.0
  • %META_TITLE% =
  • %META_KEYWORDS% = jcore, cms, content management system, php, mysql, lamp, web cms
  • %META_DESCRIPTION% = jCore is the web Content Management System build especially for webmasters to easily maintenance multiple websites
  • %WEBMASTER_EMAIL% = webmaster @ domain.com
  • %PAGE_TIMEZONE% = Europe/London
  • %PAGE_CHARSET% = utf-8
  • %PAGE_404_ERROR_TEXT% = Will display address not found error text.

The followings are some of the script codes implemented in the core system but these also can be extended by modules easily:

  • {translate}Text to translate{/translate} = Text to translate
  • {random}1/10{/random} = 7
  • {url}uri{/url} = /content-codes?
  • {url}server{/url} = demo.jcore.net
  • {url}sessionid{/url} = dvr62r835mnn0kn7pmuoqhe596
  • {url}root{/url} = http://demo.jcore.net/
  • {url}title{/url} = Content Codes - jCore - the Webmaster's Multisite CMS
  • {url}description{/url} = jCore is the web Content Management System build especially for webmasters to easily maintenance multiple websites
  • {languages}{/languages} = Will display languages link
  • {languages}en{/languages} = Will display only en language link
  • {menus}main-menu{/menus} = Will display the Main Menu Block
  • {menus}main-menu/modules{/menus} = Will only display the Modules menu/submenu items from the Main Menu Block
  • {posts}modules{/posts} = Will display the posts from the Modules menu
  • {posts}news/partial-content{/menus} = Will display the Partial Content post from the news menu
  • {blocks}footer{/blocks} = Will display the footer block and it's content
  • {modules}photogallery{/modules} = Will display the Photo Gallery module while
  • {modules}photogallery/landscapes{/modules} = Will display only the Landscapes gallery and all it's subgalleries from the Photo Gallery
    ....
  • {forms}contact{/forms} = Will display the Contact form. With this option you can display any kind of dynamic form you have.

With content codes you should be able to achive any kind of combination to display a content. You can use content codes in Posts, Blocks (Content field), Photo Gallery (Description field), File Sharing (Description field) and any other modules that have content codes implementation.