Below you will find documentation on how to use our software. This contains easy-to-use steps by step guides with helpful screenshots on how to configure and get the best results.


Chapter 6: Creating the Package

Okay, if you have been following this tutorial, you should have created similar files as follows:

+files_inlinemycck   [FILES_INLINE + COMPONENT NAME]
---mycck.php   [COMPONENT NAME]
	---+mycck	[COMPONENT NAME]
	    --------category.php   	[TYPE NAME as explained in XML]
	    ----------item.php        [TYPE NAME as explained in XML]
	    -----------blog.php       [TYPE NAME as explained in XML]
inlinemyck.xml  [INLINE +  COMPONENT NAME].xml

This will differ according to your component, but, in general, it should be similar as in our component.

Note: You may or may not have the extensions folder in your package. It all depends if you went with the plugin override or the component/template override method as discussed in Chapter 2: Approach 1 [Plugin override] , Approach 2 [Component override] and Approach 3 [Template override].


Your full XML for the inline editing app extension should look like this:

<?xml version="1.0" encoding="utf-8"?>
<extension version="3.2" type="file" method="upgrade">
	<author>WebxSolution Ltd</author>
	<creationDate>March 2015</creationDate>
	<copyright>>Copyright (C) 2015 All rights reserved</copyright>
	<license>GNU General Public License version 2</license>
	<authorEmail>This email address is being protected from spambots. You need JavaScript enabled to view it.</authorEmail>
	<description>This plugin provides an extension for ARK inline editing to add support for MyCCK</description>
	<!-- set up data for  inline lookup table     //-->

		<!-- allowable views for inline editing //-->
		<!-- add context element if context is different to extension Name //-->
		<!-- extension types to be used for inline editing //-->
		<!-- details for Joomla versioning system //-->
		<!-- location for MyCCK main inline editing extension type file //--> 
		<files folder="extensions" target="plugins/content/arkcontent/extensions">
		<!-- location for context types for MyCCK  inline editing extension //-->
		<files folder="contexts/mycck" target="plugins/ajax/inlinecontent/contexts/mycck">
	<!-- details for Joomla versioning system //-->

Now, zip all your files, basically, zip up the root folder that contains your files and folders you created. So, you will create a zip file like [FILES_INLINE + COMPONENT NAME].zip such as in our case.

Okay, now, we will create a Joomla package file, so that we can easily install and manage our inline editing app using Joomla’s Extension Manager.

Joomla package zipped file should contain the following:

+pkg_inlinemycck	[PKG + COMPONENT NAME]
	---------files_inlinemycck.php(Zip file you created above.)
pkg_inlinemycck.xml		[PKG_INLINE + COMPONENT NAME].xml

The [PKG_INLINE_ + COMPONENT Name].xml should have similar content to our

Pkg_inlinemycck.xml file:

<?xml version="1.0" encoding="utf-8"?>
<extension version="3.2" type="package" method="upgrade">
	<name>Package - Inline MyCCK Editing for Ark Editor</name>
	<author>WebxSolution Ltd</author>
	<creationDate>July 2015</creationDate>
	<description>This package provides an extension for ArK inline editing, adding support for MyCCK</description>

	<files folder="packages">
		<file type="file" id="inlinemycck"></file>

So, zip up those files to create the inline editing package, when you are ready to install your inline editing app.

Okay, that is it, you should be good to go!


WebxSolution Ltd and this site is not affiliated with or endorsed by The Joomla! Project™. Any products and services provided through this site are not supported or warrantied by The Joomla! Project or Open Source Matters, Inc. Use of the Joomla!® name, symbol, logo and related trademarks is permitted under a limited license granted by Open Source Matters, Inc.

Copyright © 2009 - 2018 WebxSolution Ltd
Powered by JoomlaWired