Updated with JCB v3.1.0
This commit is contained in:
parent
6be463453e
commit
e03e55ba03
10
README.md
10
README.md
@ -1,4 +1,4 @@
|
||||
# Hello World (1.0.1)
|
||||
# Hello World (1.1.0)
|
||||
|
||||
|
||||
|
||||
@ -8,8 +8,8 @@
|
||||
+ *Author*: [Llewellyn](mailto:joomla@vdm.io)
|
||||
+ *Name*: [Hello World](https://www.vdm.io)
|
||||
+ *First Build*: 20th September, 2017
|
||||
+ *Last Build*: 3rd March, 2022
|
||||
+ *Version*: 1.0.1
|
||||
+ *Last Build*: 27th May, 2022
|
||||
+ *Version*: 1.1.0
|
||||
+ *Copyright*: Copyright (C) 2015. All Rights Reserved
|
||||
+ *License*: GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||
|
||||
@ -21,8 +21,8 @@ due to [Automated Component Builder](http://joomlacomponentbuilder.com))
|
||||
> (if creating a folder and file took **5 seconds** and writing one line of code took **10 seconds**,
|
||||
> never making one mistake or taking any coffee break.)
|
||||
|
||||
+ *Line count*: **14630**
|
||||
+ *File count*: **139**
|
||||
+ *Line count*: **14677**
|
||||
+ *File count*: **140**
|
||||
+ *Folder count*: **55**
|
||||
|
||||
**27 Hours** or **4 Eight Hour Days** (the actual time the author spent)
|
||||
|
@ -1,4 +1,4 @@
|
||||
# Hello World (1.0.1)
|
||||
# Hello World (1.1.0)
|
||||
|
||||
|
||||
|
||||
@ -8,8 +8,8 @@
|
||||
+ *Author*: [Llewellyn](mailto:joomla@vdm.io)
|
||||
+ *Name*: [Hello World](https://www.vdm.io)
|
||||
+ *First Build*: 20th September, 2017
|
||||
+ *Last Build*: 3rd March, 2022
|
||||
+ *Version*: 1.0.1
|
||||
+ *Last Build*: 27th May, 2022
|
||||
+ *Version*: 1.1.0
|
||||
+ *Copyright*: Copyright (C) 2015. All Rights Reserved
|
||||
+ *License*: GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||
|
||||
@ -21,8 +21,8 @@ due to [Automated Component Builder](http://joomlacomponentbuilder.com))
|
||||
> (if creating a folder and file took **5 seconds** and writing one line of code took **10 seconds**,
|
||||
> never making one mistake or taking any coffee break.)
|
||||
|
||||
+ *Line count*: **14630**
|
||||
+ *File count*: **139**
|
||||
+ *Line count*: **14677**
|
||||
+ *File count*: **140**
|
||||
+ *Folder count*: **55**
|
||||
|
||||
**27 Hours** or **4 Eight Hour Days** (the actual time the author spent)
|
||||
|
@ -2,8 +2,8 @@
|
||||
VDM
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.1
|
||||
@build 3rd March, 2022
|
||||
@version 1.1.0
|
||||
@build 27th May, 2022
|
||||
@created 20th September, 2017
|
||||
@package Hello World
|
||||
@subpackage admin.css
|
||||
|
@ -2,8 +2,8 @@
|
||||
VDM
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.1
|
||||
@build 3rd March, 2022
|
||||
@version 1.1.0
|
||||
@build 27th May, 2022
|
||||
@created 20th September, 2017
|
||||
@package Hello World
|
||||
@subpackage dashboard.css
|
||||
|
@ -2,8 +2,8 @@
|
||||
VDM
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.1
|
||||
@build 3rd March, 2022
|
||||
@version 1.1.0
|
||||
@build 27th May, 2022
|
||||
@created 20th September, 2017
|
||||
@package Hello World
|
||||
@subpackage greeting.css
|
||||
|
@ -2,8 +2,8 @@
|
||||
VDM
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.1
|
||||
@build 3rd March, 2022
|
||||
@version 1.1.0
|
||||
@build 27th May, 2022
|
||||
@created 20th September, 2017
|
||||
@package Hello World
|
||||
@subpackage greetings.css
|
||||
|
@ -2,8 +2,8 @@
|
||||
VDM
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.1
|
||||
@build 3rd March, 2022
|
||||
@version 1.1.0
|
||||
@build 27th May, 2022
|
||||
@created 20th September, 2017
|
||||
@package Hello World
|
||||
@subpackage admin.js
|
||||
|
@ -3,8 +3,8 @@
|
||||
VDM
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.1
|
||||
@build 3rd March, 2022
|
||||
@version 1.1.0
|
||||
@build 27th May, 2022
|
||||
@created 20th September, 2017
|
||||
@package Hello World
|
||||
@subpackage controller.php
|
||||
@ -21,12 +21,13 @@
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
use Joomla\CMS\MVC\Controller\BaseController;
|
||||
use Joomla\Utilities\ArrayHelper;
|
||||
|
||||
/**
|
||||
* General Controller of Hello_world component
|
||||
*/
|
||||
class Hello_worldController extends JControllerLegacy
|
||||
class Hello_worldController extends BaseController
|
||||
{
|
||||
/**
|
||||
* Constructor.
|
||||
|
@ -3,8 +3,8 @@
|
||||
VDM
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.1
|
||||
@build 3rd March, 2022
|
||||
@version 1.1.0
|
||||
@build 27th May, 2022
|
||||
@created 20th September, 2017
|
||||
@package Hello World
|
||||
@subpackage greeting.php
|
||||
@ -21,12 +21,13 @@
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
use Joomla\CMS\MVC\Controller\FormController;
|
||||
use Joomla\Utilities\ArrayHelper;
|
||||
|
||||
/**
|
||||
* Greeting Controller
|
||||
* Greeting Form Controller
|
||||
*/
|
||||
class Hello_worldControllerGreeting extends JControllerForm
|
||||
class Hello_worldControllerGreeting extends FormController
|
||||
{
|
||||
/**
|
||||
* Current or most recently performed task.
|
||||
|
@ -3,8 +3,8 @@
|
||||
VDM
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.1
|
||||
@build 3rd March, 2022
|
||||
@version 1.1.0
|
||||
@build 27th May, 2022
|
||||
@created 20th September, 2017
|
||||
@package Hello World
|
||||
@subpackage greetings.php
|
||||
@ -21,12 +21,13 @@
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
use Joomla\CMS\MVC\Controller\AdminController;
|
||||
use Joomla\Utilities\ArrayHelper;
|
||||
|
||||
/**
|
||||
* Greetings Controller
|
||||
* Greetings Admin Controller
|
||||
*/
|
||||
class Hello_worldControllerGreetings extends JControllerAdmin
|
||||
class Hello_worldControllerGreetings extends AdminController
|
||||
{
|
||||
/**
|
||||
* The prefix to use with controller messages.
|
||||
|
@ -3,8 +3,8 @@
|
||||
VDM
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.1
|
||||
@build 3rd March, 2022
|
||||
@version 1.1.0
|
||||
@build 27th May, 2022
|
||||
@created 20th September, 2017
|
||||
@package Hello World
|
||||
@subpackage hello_world.php
|
||||
@ -21,12 +21,13 @@
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
|
||||
use Joomla\CMS\MVC\Controller\AdminController;
|
||||
use Joomla\Utilities\ArrayHelper;
|
||||
|
||||
/**
|
||||
* Hello_world Controller
|
||||
* Hello_world Admin Controller
|
||||
*/
|
||||
class Hello_worldControllerHello_world extends JControllerAdmin
|
||||
class Hello_worldControllerHello_world extends AdminController
|
||||
{
|
||||
|
||||
}
|
||||
|
@ -3,8 +3,8 @@
|
||||
VDM
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.1
|
||||
@build 3rd March, 2022
|
||||
@version 1.1.0
|
||||
@build 27th May, 2022
|
||||
@created 20th September, 2017
|
||||
@package Hello World
|
||||
@subpackage import.php
|
||||
@ -21,12 +21,13 @@
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
use Joomla\CMS\MVC\Controller\BaseController;
|
||||
use Joomla\Utilities\ArrayHelper;
|
||||
|
||||
/**
|
||||
* Hello_world Import Controller
|
||||
* Hello_world Import Base Controller
|
||||
*/
|
||||
class Hello_worldControllerImport extends JControllerLegacy
|
||||
class Hello_worldControllerImport extends BaseController
|
||||
{
|
||||
/**
|
||||
* Import an spreadsheet.
|
||||
|
@ -3,8 +3,8 @@
|
||||
VDM
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.1
|
||||
@build 3rd March, 2022
|
||||
@version 1.1.0
|
||||
@build 27th May, 2022
|
||||
@created 20th September, 2017
|
||||
@package Hello World
|
||||
@subpackage hello_world.php
|
||||
|
@ -3,8 +3,8 @@
|
||||
VDM
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.1
|
||||
@build 3rd March, 2022
|
||||
@version 1.1.0
|
||||
@build 27th May, 2022
|
||||
@created 20th September, 2017
|
||||
@package Hello World
|
||||
@subpackage headercheck.php
|
||||
|
@ -3,8 +3,8 @@
|
||||
VDM
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.1
|
||||
@build 3rd March, 2022
|
||||
@version 1.1.0
|
||||
@build 27th May, 2022
|
||||
@created 20th September, 2017
|
||||
@package Hello World
|
||||
@subpackage hello_world.php
|
||||
@ -1850,3 +1850,4 @@ abstract class Hello_worldHelper
|
||||
return implode($key);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -3,8 +3,8 @@
|
||||
VDM
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.1
|
||||
@build 3rd March, 2022
|
||||
@version 1.1.0
|
||||
@build 27th May, 2022
|
||||
@created 20th September, 2017
|
||||
@package Hello World
|
||||
@subpackage batch_.php
|
||||
|
@ -3,8 +3,8 @@
|
||||
VDM
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.1
|
||||
@build 3rd March, 2022
|
||||
@version 1.1.0
|
||||
@build 27th May, 2022
|
||||
@created 20th September, 2017
|
||||
@package Hello World
|
||||
@subpackage batchselection.php
|
||||
|
@ -3,8 +3,8 @@
|
||||
VDM
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.1
|
||||
@build 3rd March, 2022
|
||||
@version 1.1.0
|
||||
@build 27th May, 2022
|
||||
@created 20th September, 2017
|
||||
@package Hello World
|
||||
@subpackage details_left.php
|
||||
|
@ -3,8 +3,8 @@
|
||||
VDM
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.1
|
||||
@build 3rd March, 2022
|
||||
@version 1.1.0
|
||||
@build 27th May, 2022
|
||||
@created 20th September, 2017
|
||||
@package Hello World
|
||||
@subpackage metadata.php
|
||||
|
@ -3,8 +3,8 @@
|
||||
VDM
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.1
|
||||
@build 3rd March, 2022
|
||||
@version 1.1.0
|
||||
@build 27th May, 2022
|
||||
@created 20th September, 2017
|
||||
@package Hello World
|
||||
@subpackage publishing.php
|
||||
|
@ -3,8 +3,8 @@
|
||||
VDM
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.1
|
||||
@build 3rd March, 2022
|
||||
@version 1.1.0
|
||||
@build 27th May, 2022
|
||||
@created 20th September, 2017
|
||||
@package Hello World
|
||||
@subpackage trashhelper.php
|
||||
|
@ -3,8 +3,8 @@
|
||||
VDM
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.1
|
||||
@build 3rd March, 2022
|
||||
@version 1.1.0
|
||||
@build 27th May, 2022
|
||||
@created 20th September, 2017
|
||||
@package Hello World
|
||||
@subpackage greeting.php
|
||||
@ -21,14 +21,15 @@
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
use Joomla\CMS\MVC\Model\AdminModel;
|
||||
use Joomla\Registry\Registry;
|
||||
use Joomla\String\StringHelper;
|
||||
use Joomla\Utilities\ArrayHelper;
|
||||
|
||||
/**
|
||||
* Hello_world Greeting Model
|
||||
* Hello_world Greeting Admin Model
|
||||
*/
|
||||
class Hello_worldModelGreeting extends JModelAdmin
|
||||
class Hello_worldModelGreeting extends AdminModel
|
||||
{
|
||||
/**
|
||||
* The tab layout fields array.
|
||||
|
@ -3,8 +3,8 @@
|
||||
VDM
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.1
|
||||
@build 3rd March, 2022
|
||||
@version 1.1.0
|
||||
@build 27th May, 2022
|
||||
@created 20th September, 2017
|
||||
@package Hello World
|
||||
@subpackage greetings.php
|
||||
@ -21,12 +21,13 @@
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
use Joomla\CMS\MVC\Model\ListModel;
|
||||
use Joomla\Utilities\ArrayHelper;
|
||||
|
||||
/**
|
||||
* Greetings Model
|
||||
* Greetings List Model
|
||||
*/
|
||||
class Hello_worldModelGreetings extends JModelList
|
||||
class Hello_worldModelGreetings extends ListModel
|
||||
{
|
||||
public function __construct($config = array())
|
||||
{
|
||||
|
@ -3,8 +3,8 @@
|
||||
VDM
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.1
|
||||
@build 3rd March, 2022
|
||||
@version 1.1.0
|
||||
@build 27th May, 2022
|
||||
@created 20th September, 2017
|
||||
@package Hello World
|
||||
@subpackage hello_world.php
|
||||
@ -21,12 +21,13 @@
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
|
||||
use Joomla\CMS\MVC\Model\ListModel;
|
||||
use Joomla\Utilities\ArrayHelper;
|
||||
|
||||
/**
|
||||
* Hello_world Model
|
||||
* Hello_world List Model
|
||||
*/
|
||||
class Hello_worldModelHello_world extends JModelList
|
||||
class Hello_worldModelHello_world extends ListModel
|
||||
{
|
||||
public function getIcons()
|
||||
{
|
||||
|
@ -3,8 +3,8 @@
|
||||
VDM
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.1
|
||||
@build 3rd March, 2022
|
||||
@version 1.1.0
|
||||
@build 27th May, 2022
|
||||
@created 20th September, 2017
|
||||
@package Hello World
|
||||
@subpackage import.php
|
||||
@ -21,15 +21,16 @@
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
use Joomla\CMS\MVC\Model\BaseDatabaseModel;
|
||||
use Joomla\CMS\Filesystem\File;
|
||||
use Joomla\CMS\Filesystem\Folder;
|
||||
use Joomla\Utilities\ArrayHelper;
|
||||
use PhpOffice\PhpSpreadsheet\IOFactory;
|
||||
|
||||
/**
|
||||
* Hello_world Import Model
|
||||
* Hello_world Import Base Database Model
|
||||
*/
|
||||
class Hello_worldModelImport extends JModelLegacy
|
||||
class Hello_worldModelImport extends BaseDatabaseModel
|
||||
{
|
||||
// set uploading values
|
||||
protected $use_streams = false;
|
||||
|
1
admin/sql/updates/mysql/1.0.1.sql
Normal file
1
admin/sql/updates/mysql/1.0.1.sql
Normal file
@ -0,0 +1 @@
|
||||
|
@ -3,8 +3,8 @@
|
||||
VDM
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.1
|
||||
@build 3rd March, 2022
|
||||
@version 1.1.0
|
||||
@build 27th May, 2022
|
||||
@created 20th September, 2017
|
||||
@package Hello World
|
||||
@subpackage greeting.php
|
||||
@ -21,6 +21,7 @@
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
use Joomla\CMS\Table\Table;
|
||||
use Joomla\Registry\Registry;
|
||||
use Joomla\String\StringHelper;
|
||||
use Joomla\Utilities\ArrayHelper;
|
||||
@ -28,7 +29,7 @@ use Joomla\Utilities\ArrayHelper;
|
||||
/**
|
||||
* Greetings Table class
|
||||
*/
|
||||
class Hello_worldTableGreeting extends JTable
|
||||
class Hello_worldTableGreeting extends Table
|
||||
{
|
||||
/**
|
||||
* Ensure the params and metadata in json encoded in the bind method
|
||||
|
@ -2,8 +2,8 @@
|
||||
VDM
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.1
|
||||
@build 3rd March, 2022
|
||||
@version 1.1.0
|
||||
@build 27th May, 2022
|
||||
@created 20th September, 2017
|
||||
@package Hello World
|
||||
@subpackage submitbutton.js
|
||||
|
@ -3,8 +3,8 @@
|
||||
VDM
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.1
|
||||
@build 3rd March, 2022
|
||||
@version 1.1.0
|
||||
@build 27th May, 2022
|
||||
@created 20th September, 2017
|
||||
@package Hello World
|
||||
@subpackage edit.php
|
||||
|
@ -3,8 +3,8 @@
|
||||
VDM
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.1
|
||||
@build 3rd March, 2022
|
||||
@version 1.1.0
|
||||
@build 27th May, 2022
|
||||
@created 20th September, 2017
|
||||
@package Hello World
|
||||
@subpackage view.html.php
|
||||
@ -21,10 +21,12 @@
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
use Joomla\CMS\MVC\View\HtmlView;
|
||||
|
||||
/**
|
||||
* Greeting View class
|
||||
* Greeting Html View class
|
||||
*/
|
||||
class Hello_worldViewGreeting extends JViewLegacy
|
||||
class Hello_worldViewGreeting extends HtmlView
|
||||
{
|
||||
/**
|
||||
* display method of View
|
||||
|
@ -3,8 +3,8 @@
|
||||
VDM
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.1
|
||||
@build 3rd March, 2022
|
||||
@version 1.1.0
|
||||
@build 27th May, 2022
|
||||
@created 20th September, 2017
|
||||
@package Hello World
|
||||
@subpackage default.php
|
||||
|
@ -3,8 +3,8 @@
|
||||
VDM
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.1
|
||||
@build 3rd March, 2022
|
||||
@version 1.1.0
|
||||
@build 27th May, 2022
|
||||
@created 20th September, 2017
|
||||
@package Hello World
|
||||
@subpackage default_batch_body.php
|
||||
|
@ -3,8 +3,8 @@
|
||||
VDM
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.1
|
||||
@build 3rd March, 2022
|
||||
@version 1.1.0
|
||||
@build 27th May, 2022
|
||||
@created 20th September, 2017
|
||||
@package Hello World
|
||||
@subpackage default_batch_footer.php
|
||||
|
@ -3,8 +3,8 @@
|
||||
VDM
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.1
|
||||
@build 3rd March, 2022
|
||||
@version 1.1.0
|
||||
@build 27th May, 2022
|
||||
@created 20th September, 2017
|
||||
@package Hello World
|
||||
@subpackage default_body.php
|
||||
|
@ -3,8 +3,8 @@
|
||||
VDM
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.1
|
||||
@build 3rd March, 2022
|
||||
@version 1.1.0
|
||||
@build 27th May, 2022
|
||||
@created 20th September, 2017
|
||||
@package Hello World
|
||||
@subpackage default_foot.php
|
||||
|
@ -3,8 +3,8 @@
|
||||
VDM
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.1
|
||||
@build 3rd March, 2022
|
||||
@version 1.1.0
|
||||
@build 27th May, 2022
|
||||
@created 20th September, 2017
|
||||
@package Hello World
|
||||
@subpackage default_head.php
|
||||
|
@ -3,8 +3,8 @@
|
||||
VDM
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.1
|
||||
@build 3rd March, 2022
|
||||
@version 1.1.0
|
||||
@build 27th May, 2022
|
||||
@created 20th September, 2017
|
||||
@package Hello World
|
||||
@subpackage default_toolbar.php
|
||||
|
@ -3,8 +3,8 @@
|
||||
VDM
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.1
|
||||
@build 3rd March, 2022
|
||||
@version 1.1.0
|
||||
@build 27th May, 2022
|
||||
@created 20th September, 2017
|
||||
@package Hello World
|
||||
@subpackage view.html.php
|
||||
@ -21,10 +21,12 @@
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
use Joomla\CMS\MVC\View\HtmlView;
|
||||
|
||||
/**
|
||||
* Hello_world View class for the Greetings
|
||||
* Hello_world Html View class for the Greetings
|
||||
*/
|
||||
class Hello_worldViewGreetings extends JViewLegacy
|
||||
class Hello_worldViewGreetings extends HtmlView
|
||||
{
|
||||
/**
|
||||
* Greetings view display method
|
||||
|
@ -3,8 +3,8 @@
|
||||
VDM
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.1
|
||||
@build 3rd March, 2022
|
||||
@version 1.1.0
|
||||
@build 27th May, 2022
|
||||
@created 20th September, 2017
|
||||
@package Hello World
|
||||
@subpackage default.php
|
||||
|
@ -3,8 +3,8 @@
|
||||
VDM
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.1
|
||||
@build 3rd March, 2022
|
||||
@version 1.1.0
|
||||
@build 27th May, 2022
|
||||
@created 20th September, 2017
|
||||
@package Hello World
|
||||
@subpackage default_main.php
|
||||
|
@ -3,8 +3,8 @@
|
||||
VDM
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.1
|
||||
@build 3rd March, 2022
|
||||
@version 1.1.0
|
||||
@build 27th May, 2022
|
||||
@created 20th September, 2017
|
||||
@package Hello World
|
||||
@subpackage default_vdm.php
|
||||
|
@ -3,8 +3,8 @@
|
||||
VDM
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.1
|
||||
@build 3rd March, 2022
|
||||
@version 1.1.0
|
||||
@build 27th May, 2022
|
||||
@created 20th September, 2017
|
||||
@package Hello World
|
||||
@subpackage view.html.php
|
||||
|
@ -3,8 +3,8 @@
|
||||
VDM
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.1
|
||||
@build 3rd March, 2022
|
||||
@version 1.1.0
|
||||
@build 27th May, 2022
|
||||
@created 20th September, 2017
|
||||
@package Hello World
|
||||
@subpackage default.php
|
||||
|
@ -3,8 +3,8 @@
|
||||
VDM
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.1
|
||||
@build 3rd March, 2022
|
||||
@version 1.1.0
|
||||
@build 27th May, 2022
|
||||
@created 20th September, 2017
|
||||
@package Hello World
|
||||
@subpackage view.html.php
|
||||
@ -21,10 +21,12 @@
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
use Joomla\CMS\MVC\View\HtmlView;
|
||||
|
||||
/**
|
||||
* Hello_world Import View
|
||||
* Hello_world Import Html View
|
||||
*/
|
||||
class Hello_worldViewImport extends JViewLegacy
|
||||
class Hello_worldViewImport extends HtmlView
|
||||
{
|
||||
protected $headerList;
|
||||
protected $hasPackage = false;
|
||||
|
@ -1,15 +1,15 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<extension type="component" version="4" method="upgrade">
|
||||
<name>COM_HELLO_WORLD</name>
|
||||
<creationDate>3rd March, 2022</creationDate>
|
||||
<creationDate>27th May, 2022</creationDate>
|
||||
<author>Llewellyn</author>
|
||||
<authorEmail>joomla@vdm.io</authorEmail>
|
||||
<authorUrl>https://www.vdm.io</authorUrl>
|
||||
<copyright>Copyright (C) 2015. All Rights Reserved</copyright>
|
||||
<license>GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html</license>
|
||||
<version>1.0.1</version>
|
||||
<version>1.1.0</version>
|
||||
<description><![CDATA[
|
||||
<h1>Hello World (v.1.0.1)</h1>
|
||||
<h1>Hello World (v.1.1.0)</h1>
|
||||
<div style="clear: both;"></div>
|
||||
<p></p>
|
||||
<p>Created by <a href="https://www.vdm.io" target="_blank">Llewellyn</a><br /><small>Development started 20th September, 2017</small></p>
|
||||
|
@ -7,7 +7,24 @@
|
||||
<version>1.0.1</version>
|
||||
<infourl title="Hello World!">https://www.vdm.io</infourl>
|
||||
<downloads>
|
||||
<downloadurl type="full" format="zip">https://github.com/Llewellynvdm/Joomla-Hello-World-Component/archive/master.zip</downloadurl>
|
||||
<downloadurl type="full" format="zip">https://git.vdm.dev/joomla/Hello-World-Component/archive/v1.0.1.zip</downloadurl>
|
||||
</downloads>
|
||||
<tags>
|
||||
<tag>stable</tag>
|
||||
</tags>
|
||||
<maintainer>Llewellyn</maintainer>
|
||||
<maintainerurl>https://www.vdm.io</maintainerurl>
|
||||
<targetplatform name="joomla" version="3.*"/>
|
||||
</update>
|
||||
<update>
|
||||
<name>Hello World</name>
|
||||
<description>Hello World</description>
|
||||
<element>com_hello_world</element>
|
||||
<type>component</type>
|
||||
<version>1.1.0</version>
|
||||
<infourl title="Hello World!">https://www.vdm.io</infourl>
|
||||
<downloads>
|
||||
<downloadurl type="full" format="zip">https://git.vdm.dev/joomla/Hello-World-Component/archive/v1.1.0.zip</downloadurl>
|
||||
</downloads>
|
||||
<tags>
|
||||
<tag>stable</tag>
|
||||
|
@ -2,8 +2,8 @@
|
||||
VDM
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.1
|
||||
@build 3rd March, 2022
|
||||
@version 1.1.0
|
||||
@build 27th May, 2022
|
||||
@created 20th September, 2017
|
||||
@package Hello World
|
||||
@subpackage greeting.js
|
||||
|
@ -3,8 +3,8 @@
|
||||
VDM
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.1
|
||||
@build 3rd March, 2022
|
||||
@version 1.1.0
|
||||
@build 27th May, 2022
|
||||
@created 20th September, 2017
|
||||
@package Hello World
|
||||
@subpackage script.php
|
||||
@ -572,7 +572,7 @@ class com_hello_worldInstallerScript
|
||||
echo '<a target="_blank" href="https://www.vdm.io" title="Hello World">
|
||||
<img src="components/com_hello_world/assets/images/vdm-component.jpg"/>
|
||||
</a>
|
||||
<h3>Upgrade to Version 1.0.1 Was Successful! Let us know if anything is not working as expected.</h3>';
|
||||
<h3>Upgrade to Version 1.1.0 Was Successful! Let us know if anything is not working as expected.</h3>';
|
||||
|
||||
// Set db if not set already.
|
||||
if (!isset($db))
|
||||
|
@ -2,8 +2,8 @@
|
||||
VDM
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.1
|
||||
@build 3rd March, 2022
|
||||
@version 1.1.0
|
||||
@build 27th May, 2022
|
||||
@created 20th September, 2017
|
||||
@package Hello World
|
||||
@subpackage greet.css
|
||||
|
@ -2,8 +2,8 @@
|
||||
VDM
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.1
|
||||
@build 3rd March, 2022
|
||||
@version 1.1.0
|
||||
@build 27th May, 2022
|
||||
@created 20th September, 2017
|
||||
@package Hello World
|
||||
@subpackage greeting.css
|
||||
|
@ -2,8 +2,8 @@
|
||||
VDM
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.1
|
||||
@build 3rd March, 2022
|
||||
@version 1.1.0
|
||||
@build 27th May, 2022
|
||||
@created 20th September, 2017
|
||||
@package Hello World
|
||||
@subpackage greetings.css
|
||||
|
@ -2,8 +2,8 @@
|
||||
VDM
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.1
|
||||
@build 3rd March, 2022
|
||||
@version 1.1.0
|
||||
@build 27th May, 2022
|
||||
@created 20th September, 2017
|
||||
@package Hello World
|
||||
@subpackage site.css
|
||||
|
@ -2,8 +2,8 @@
|
||||
VDM
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.1
|
||||
@build 3rd March, 2022
|
||||
@version 1.1.0
|
||||
@build 27th May, 2022
|
||||
@created 20th September, 2017
|
||||
@package Hello World
|
||||
@subpackage site.js
|
||||
|
@ -3,8 +3,8 @@
|
||||
VDM
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.1
|
||||
@build 3rd March, 2022
|
||||
@version 1.1.0
|
||||
@build 27th May, 2022
|
||||
@created 20th September, 2017
|
||||
@package Hello World
|
||||
@subpackage controller.php
|
||||
@ -21,12 +21,13 @@
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
use Joomla\CMS\MVC\Controller\BaseController;
|
||||
use Joomla\Utilities\ArrayHelper;
|
||||
|
||||
/**
|
||||
* Hello_world Component Controller
|
||||
* Hello_world Component Base Controller
|
||||
*/
|
||||
class Hello_worldController extends JControllerLegacy
|
||||
class Hello_worldController extends BaseController
|
||||
{
|
||||
/**
|
||||
* Method to display a view.
|
||||
|
@ -3,8 +3,8 @@
|
||||
VDM
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.1
|
||||
@build 3rd March, 2022
|
||||
@version 1.1.0
|
||||
@build 27th May, 2022
|
||||
@created 20th September, 2017
|
||||
@package Hello World
|
||||
@subpackage greeting.php
|
||||
@ -21,12 +21,13 @@
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
use Joomla\CMS\MVC\Controller\FormController;
|
||||
use Joomla\Utilities\ArrayHelper;
|
||||
|
||||
/**
|
||||
* Greeting Controller
|
||||
* Greeting Form Controller
|
||||
*/
|
||||
class Hello_worldControllerGreeting extends JControllerForm
|
||||
class Hello_worldControllerGreeting extends FormController
|
||||
{
|
||||
/**
|
||||
* Current or most recently performed task.
|
||||
|
@ -3,8 +3,8 @@
|
||||
VDM
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.1
|
||||
@build 3rd March, 2022
|
||||
@version 1.1.0
|
||||
@build 27th May, 2022
|
||||
@created 20th September, 2017
|
||||
@package Hello World
|
||||
@subpackage hello_world.php
|
||||
|
@ -3,8 +3,8 @@
|
||||
VDM
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.1
|
||||
@build 3rd March, 2022
|
||||
@version 1.1.0
|
||||
@build 27th May, 2022
|
||||
@created 20th September, 2017
|
||||
@package Hello World
|
||||
@subpackage category.php
|
||||
|
@ -3,8 +3,8 @@
|
||||
VDM
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.1
|
||||
@build 3rd March, 2022
|
||||
@version 1.1.0
|
||||
@build 27th May, 2022
|
||||
@created 20th September, 2017
|
||||
@package Hello World
|
||||
@subpackage headercheck.php
|
||||
|
@ -3,8 +3,8 @@
|
||||
VDM
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.1
|
||||
@build 3rd March, 2022
|
||||
@version 1.1.0
|
||||
@build 27th May, 2022
|
||||
@created 20th September, 2017
|
||||
@package Hello World
|
||||
@subpackage hello_world.php
|
||||
@ -1611,3 +1611,4 @@ abstract class Hello_worldHelper
|
||||
return implode($key);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -3,8 +3,8 @@
|
||||
VDM
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.1
|
||||
@build 3rd March, 2022
|
||||
@version 1.1.0
|
||||
@build 27th May, 2022
|
||||
@created 20th September, 2017
|
||||
@package Hello World
|
||||
@subpackage route.php
|
||||
|
@ -3,8 +3,8 @@
|
||||
VDM
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.1
|
||||
@build 3rd March, 2022
|
||||
@version 1.1.0
|
||||
@build 27th May, 2022
|
||||
@created 20th September, 2017
|
||||
@package Hello World
|
||||
@subpackage details_left.php
|
||||
|
@ -3,8 +3,8 @@
|
||||
VDM
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.1
|
||||
@build 3rd March, 2022
|
||||
@version 1.1.0
|
||||
@build 27th May, 2022
|
||||
@created 20th September, 2017
|
||||
@package Hello World
|
||||
@subpackage metadata.php
|
||||
|
@ -3,8 +3,8 @@
|
||||
VDM
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.1
|
||||
@build 3rd March, 2022
|
||||
@version 1.1.0
|
||||
@build 27th May, 2022
|
||||
@created 20th September, 2017
|
||||
@package Hello World
|
||||
@subpackage publishing.php
|
||||
|
@ -2,8 +2,8 @@
|
||||
VDM
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.1
|
||||
@build 3rd March, 2022
|
||||
@version 1.1.0
|
||||
@build 27th May, 2022
|
||||
@created 20th September, 2017
|
||||
@package Hello World
|
||||
@subpackage greeting.js
|
||||
|
@ -3,8 +3,8 @@
|
||||
VDM
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.1
|
||||
@build 3rd March, 2022
|
||||
@version 1.1.0
|
||||
@build 27th May, 2022
|
||||
@created 20th September, 2017
|
||||
@package Hello World
|
||||
@subpackage greet.php
|
||||
@ -21,12 +21,13 @@
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
use Joomla\CMS\MVC\Model\ItemModel;
|
||||
use Joomla\Utilities\ArrayHelper;
|
||||
|
||||
/**
|
||||
* Hello_world Greet Model
|
||||
* Hello_world Greet Item Model
|
||||
*/
|
||||
class Hello_worldModelGreet extends JModelItem
|
||||
class Hello_worldModelGreet extends ItemModel
|
||||
{
|
||||
/**
|
||||
* Model context string.
|
||||
|
@ -3,8 +3,8 @@
|
||||
VDM
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.1
|
||||
@build 3rd March, 2022
|
||||
@version 1.1.0
|
||||
@build 27th May, 2022
|
||||
@created 20th September, 2017
|
||||
@package Hello World
|
||||
@subpackage greeting.php
|
||||
@ -21,14 +21,15 @@
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
use Joomla\CMS\MVC\Model\AdminModel;
|
||||
use Joomla\Registry\Registry;
|
||||
use Joomla\String\StringHelper;
|
||||
use Joomla\Utilities\ArrayHelper;
|
||||
|
||||
/**
|
||||
* Hello_world Greeting Model
|
||||
* Hello_world Greeting Admin Model
|
||||
*/
|
||||
class Hello_worldModelGreeting extends JModelAdmin
|
||||
class Hello_worldModelGreeting extends AdminModel
|
||||
{
|
||||
/**
|
||||
* The tab layout fields array.
|
||||
|
@ -3,8 +3,8 @@
|
||||
VDM
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.1
|
||||
@build 3rd March, 2022
|
||||
@version 1.1.0
|
||||
@build 27th May, 2022
|
||||
@created 20th September, 2017
|
||||
@package Hello World
|
||||
@subpackage greetings.php
|
||||
@ -21,12 +21,13 @@
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
use Joomla\CMS\MVC\Model\ListModel;
|
||||
use Joomla\Utilities\ArrayHelper;
|
||||
|
||||
/**
|
||||
* Hello_world Model for Greetings
|
||||
* Hello_world List Model for Greetings
|
||||
*/
|
||||
class Hello_worldModelGreetings extends JModelList
|
||||
class Hello_worldModelGreetings extends ListModel
|
||||
{
|
||||
/**
|
||||
* Model user data.
|
||||
|
@ -3,8 +3,8 @@
|
||||
VDM
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.1
|
||||
@build 3rd March, 2022
|
||||
@version 1.1.0
|
||||
@build 27th May, 2022
|
||||
@created 20th September, 2017
|
||||
@package Hello World
|
||||
@subpackage router.php
|
||||
|
@ -3,8 +3,8 @@
|
||||
VDM
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.1
|
||||
@build 3rd March, 2022
|
||||
@version 1.1.0
|
||||
@build 27th May, 2022
|
||||
@created 20th September, 2017
|
||||
@package Hello World
|
||||
@subpackage default.php
|
||||
|
@ -3,8 +3,8 @@
|
||||
VDM
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.1
|
||||
@build 3rd March, 2022
|
||||
@version 1.1.0
|
||||
@build 27th May, 2022
|
||||
@created 20th September, 2017
|
||||
@package Hello World
|
||||
@subpackage view.html.php
|
||||
@ -21,10 +21,12 @@
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
use Joomla\CMS\MVC\View\HtmlView;
|
||||
|
||||
/**
|
||||
* Hello_world View class for the Greet
|
||||
* Hello_world Html View class for the Greet
|
||||
*/
|
||||
class Hello_worldViewGreet extends JViewLegacy
|
||||
class Hello_worldViewGreet extends HtmlView
|
||||
{
|
||||
// Overwriting JView display method
|
||||
function display($tpl = null)
|
||||
@ -76,12 +78,12 @@ class Hello_worldViewGreet extends JViewLegacy
|
||||
// The uikit css.
|
||||
if ((!$HeaderCheck->css_loaded('uikit.min') || $uikit == 1) && $uikit != 2 && $uikit != 3)
|
||||
{
|
||||
$this->document->addStyleSheet(JURI::root(true) .'/media/com_hello_world/uikit-v2/css/uikit'.$style.$size.'.css', (Hello_worldHelper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/css');
|
||||
JHtml::_('stylesheet', 'media/com_hello_world/uikit-v2/css/uikit'.$style.$size.'.css', ['version' => 'auto']);
|
||||
}
|
||||
// The uikit js.
|
||||
if ((!$HeaderCheck->js_loaded('uikit.min') || $uikit == 1) && $uikit != 2 && $uikit != 3)
|
||||
{
|
||||
$this->document->addScript(JURI::root(true) .'/media/com_hello_world/uikit-v2/js/uikit'.$size.'.js', (Hello_worldHelper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/javascript');
|
||||
JHtml::_('script', 'media/com_hello_world/uikit-v2/js/uikit'.$size.'.js', ['version' => 'auto']);
|
||||
}
|
||||
// load the meta description
|
||||
if (isset($this->item->metadesc) && $this->item->metadesc)
|
||||
|
@ -2,8 +2,8 @@
|
||||
VDM
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.1
|
||||
@build 3rd March, 2022
|
||||
@version 1.1.0
|
||||
@build 27th May, 2022
|
||||
@created 20th September, 2017
|
||||
@package Hello World
|
||||
@subpackage submitbutton.js
|
||||
|
@ -3,8 +3,8 @@
|
||||
VDM
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.1
|
||||
@build 3rd March, 2022
|
||||
@version 1.1.0
|
||||
@build 27th May, 2022
|
||||
@created 20th September, 2017
|
||||
@package Hello World
|
||||
@subpackage edit.php
|
||||
|
@ -3,8 +3,8 @@
|
||||
VDM
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.1
|
||||
@build 3rd March, 2022
|
||||
@version 1.1.0
|
||||
@build 27th May, 2022
|
||||
@created 20th September, 2017
|
||||
@package Hello World
|
||||
@subpackage view.html.php
|
||||
@ -21,10 +21,12 @@
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
use Joomla\CMS\MVC\View\HtmlView;
|
||||
|
||||
/**
|
||||
* Greeting View class
|
||||
* Greeting Html View class
|
||||
*/
|
||||
class Hello_worldViewGreeting extends JViewLegacy
|
||||
class Hello_worldViewGreeting extends HtmlView
|
||||
{
|
||||
/**
|
||||
* display method of View
|
||||
|
@ -3,8 +3,8 @@
|
||||
VDM
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.1
|
||||
@build 3rd March, 2022
|
||||
@version 1.1.0
|
||||
@build 27th May, 2022
|
||||
@created 20th September, 2017
|
||||
@package Hello World
|
||||
@subpackage default.php
|
||||
|
@ -3,8 +3,8 @@
|
||||
VDM
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.1
|
||||
@build 3rd March, 2022
|
||||
@version 1.1.0
|
||||
@build 27th May, 2022
|
||||
@created 20th September, 2017
|
||||
@package Hello World
|
||||
@subpackage view.html.php
|
||||
@ -21,10 +21,12 @@
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
use Joomla\CMS\MVC\View\HtmlView;
|
||||
|
||||
/**
|
||||
* Hello_world View class for the Greetings
|
||||
* Hello_world Html View class for the Greetings
|
||||
*/
|
||||
class Hello_worldViewGreetings extends JViewLegacy
|
||||
class Hello_worldViewGreetings extends HtmlView
|
||||
{
|
||||
// Overwriting JView display method
|
||||
function display($tpl = null)
|
||||
@ -76,12 +78,12 @@ class Hello_worldViewGreetings extends JViewLegacy
|
||||
// The uikit css.
|
||||
if ((!$HeaderCheck->css_loaded('uikit.min') || $uikit == 1) && $uikit != 2 && $uikit != 3)
|
||||
{
|
||||
$this->document->addStyleSheet(JURI::root(true) .'/media/com_hello_world/uikit-v2/css/uikit'.$style.$size.'.css', (Hello_worldHelper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/css');
|
||||
JHtml::_('stylesheet', 'media/com_hello_world/uikit-v2/css/uikit'.$style.$size.'.css', ['version' => 'auto']);
|
||||
}
|
||||
// The uikit js.
|
||||
if ((!$HeaderCheck->js_loaded('uikit.min') || $uikit == 1) && $uikit != 2 && $uikit != 3)
|
||||
{
|
||||
$this->document->addScript(JURI::root(true) .'/media/com_hello_world/uikit-v2/js/uikit'.$size.'.js', (Hello_worldHelper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/javascript');
|
||||
JHtml::_('script', 'media/com_hello_world/uikit-v2/js/uikit'.$size.'.js', ['version' => 'auto']);
|
||||
}
|
||||
// load the meta description
|
||||
if ($this->params->get('menu-meta_description'))
|
||||
|
Loading…
Reference in New Issue
Block a user