LEAP™ is a content editor’s dream (CMS), a designer’s best option, and the perfect framework for site development.
LEAP™ is simpleLEAPLEAP™ is secureLEAPLEAP™ is SEO-centric

The version file

The role of the version file is to instruct LEAP™ 5 what your initial settings are when first loaded, and at a later date when a user is updating from a supplied distribution of your plugin.

The version.lasso file lives inside the surface of your new plugin directory.

The version.lasso file has the following contents. Obviously, customize to the appropriate information!

<?LassoScript 
	// ==================================
	/*
		Delivers version information and any other pertinent info we would like to share
	*/
	// ==================================
	var(moduleConfig = map(
		'name' 			= 'Hello World',
		'parentModule'	= '',
		'description'		= 'A demo Content Plugin.',
		'iconClass'		= 'hello',
		'version'			= 1,
		'leapVersion'		= 5,
		'menu'			= 'content',
		)
	)
?>
  • The "name" is what will appear in the "Add Content" menu.
  • "Description" is a brief description outlining what your plugin does.
  • "IconClass" refers to the css class of the menu icon. The naming convention and sample CSS is explained here in detail.
  • "Version" is an integer that applies to your plugin's version. Increment this according to your release process. This will be viewed in the update procedure to determine if an update is required from the central repository or not.
  • "LeapVersion" should remain static at 5 until further notice.
  • For a content plugin, "Menu" should be defined as "content".

© Copyright LEAP™ 2017 | Privacy Policy | Design by Treefrog Inc.