Welcome Guest! The admin login information are, username: demo password: demo
Everyone has full access to this site with an administration account and is able to change everything on it. Because of this sometimes the site may look out of order (menus may not appear, links may not function, additional text may be shown (or not) and so on) but please be patient as this demo will be restored to its original state every hour. Thank you for you understanding!

Side Content on all Pages

Sat, 25 Jul 2009 05:43:18 BST by admin, 1309 views

This is a post that will be shown on all pages and in a Block. To do this just create a new post in your Home menu and set it to display on all pages and define a block for it and there you go.

Comments (0)

Content Codes

Sat, 25 Jul 2009 08:31:36 BST by admin, 11 views

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% = 2010-03-11 21:48:37
  • %NOW_DATE% = 2010-03-11
  • %NOW_YEAR% = 2010
  • %NOW_MONTH% = 03
  • %NOW_DAY% = 11
  • %PAGE_TITLE% = jCore - the Webmaster's Multisite CMS
  • %SITE_URL% = http://demo.jcore.net/
  • %JCORE_VERSION% = 0.4
  • %META_TITLE% = jCore - the Webmaster's Multisite CMS
  • %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} = Translated text
  • {random}1/10{/random} = 8
  • {url}uri{/url} = /content-codes?
  • {url}server{/url} = demo.jcore.net
  • {url}sessionid{/url} = ceae7dbc2170a16a2122235c11df0f37
  • {url}root{/url} =
  • {url}title{/url} = Content Codes - jCore - the Webmaster's Multisite CMS
  • {url}description{/url} = Content Codes. 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.