This method uses a hidden menu item to customize the com_taxonomy tag results.
You can see it in action in:
<?php | |
defined('JPATH_BASE') or die; | |
jimport('joomla.html.html'); | |
jimport('joomla.form.formfield'); | |
jimport('joomla.form.helper'); | |
JFormHelper::loadFieldClass('list'); | |
class JFormFieldGooglefont extends JFormFieldList { |
<?php | |
// no direct access | |
defined('_JEXEC') or die('Restricted access'); | |
jimport('joomla.form.formfield'); | |
class JFormFieldBshead extends JFormField { | |
var $type = 'bshead'; |
<?php | |
/** | |
* @copyright Copyright (C) 2012 Roberto Segura. All rights reserved. | |
* @license GNU General Public License version 3; see LICENSE.txt | |
*/ | |
defined('JPATH_BASE') or die; | |
jimport('joomla.form.formfield'); |
<?php | |
class AdminImportController extends AdminImportControllerCore | |
{ | |
public function __construct() | |
{ | |
parent::__construct(); | |
} |
This document includes fast examples to use @mbabker's method to use the media folder to allow stylesheets and javascript overrides:
I have also added the method to use overridable images in the media folder.
Asset loader based on @dongilbert asset loader ( https://gist.github.com/4205674 )
ELHtml::asset('style.css');
[color] | |
status = auto | |
diff = auto | |
branch = auto | |
interactive = auto | |
ui = true | |
[alias] | |
amend = !"git commit --amend -C HEAD" | |
st = status | |
ci = commit |
(function($){ | |
// AQUI TU CODIGO JS USANDO $ | |
})(jQuery); |
<?php | |
// Required objects | |
$input = JFactory::getApplication()->input; | |
// Get the form data | |
$formData = new JRegistry($input->get('jform', '', 'array')); | |
// Get any data being able to use default values | |
$id = $formData->get('id', 0); |