You are here: Home > Variable Content


Variable Content

Variable Content (vcontent) is providing an opportunity for variables in CMSimple content. If you need to maintain duplicate content (prices, tariffs, dues, etc.) on the same page or different pages on your CMSimple site so you need Variable Content plugin. The content of License section on this website is created by Variable Content plugin
1. License



Remove Link License:




2. Installation 

Download and uncompress vcontent_XH.zip
Upload the entire vcontent directory to  your "plugins" directory. 

3. Configuration

Define variable names and their values in the admin part of this plugin

The Key is a variable name, Content is variable value visible on the page. Comment is optional and is never shown. It can be used to remember what the variable does. Define only one variable pr. line. 

var1 | <p>some content text or html</p> | optional description of variable
var2 |value of var2 |

To activate insert { {{vcontent();}}} some place on a page (preferably at the end of page content) and variable names wrapped in the wrapper string from plugin config (default is #).

It may looks like this:

#var1# as a placeholder for the var1 value.{ {{vcontent();}}}

After the page is loaded #var1# will be replaced by the corresponding value. Vcontent is javascript based and works both on variables on the page and plugins output containing variables.

NB! your call to content in template must be wrapped in
<div id="content"><?php echo content();?></div>

4. Compatibility

Variable Content plugin is tested with CMSimple versions1.7 and php version 7.  

5. History

version 2.0.0 january 2018 rewrited to jQuery. compatibility with CMSimple XH ver 1.7 and higher but will probably run with any version of CMSimple.

version 1.1 released january 2009

  • added string parameter for replacement of variables in plugins f. ex.: vcontent (gallery (xxx));  will llook for variables defined in gallery plugin.

version 1.0 released december 2008.

6. Known problems

If you experience conflicts with other jQuery based plugins try moving the call to the vcontent(); function either at the front or at the end of the page

7. Future Development

2lang functionality.

8. Disclaimer

This CMSimple plugin is distributed in the hope that it will be useful - without any warranty; without even the implied warranty of fitnes for a particualr purpose.

© simpleSolutions 2008-2018.

This page is powered by
CMSimple plugin: Tooltip and Modalbox © simpleSolutions


All plugins on this site are validated according to CMSimple_XH standard 





Newsbox Rotator demo


Hold the cursor over Newsbox Rotator area to pause rotation.Move the mouse outside area to continue rotation.

In CMSimple XH not published news are not visible in News Rotator. 



Newsbox Rotator demo

Newsbox Rotator Test 1

Newsbox_1 test test test


test1 test2 test3 test4 test5 test6 test7 test8 test9 

Newsbox Rotator demo

CMSimple plugin: Newsbox Rotator
© simpleSolutions
dow Meeting weekly event

Last update:

Powered by CMSimple | Template by simpleSolutions

(X)html | css | Login