This method uses a hidden menu item to customize the com_taxonomy tag results.
You can see it in action in:
<?php $url = JUri::getInstance()->toString(); ?> | |
<a class="email" title="Email a friend" href="mailto:?subject=Interesting information&body=I thought you might find this information interesting: <?php echo $url; ?>">Email</a> |
<?php | |
/** | |
* @package MyExtension.Library | |
* @subpackage Helper | |
* | |
* @copyright Copyright (C) 2014 Roberto Segura. All rights reserved. | |
* @license GNU General Public License version 2 or later; see LICENSE | |
*/ | |
defined('_JEXEC') or die; |
#!/bin/bash | |
cd /var/www/mywebfolder.com | |
unset GIT_DIR | |
git fetch origin | |
git reset --hard origin/master |
<?xml version="1.0" encoding="utf-8"?> | |
<metadata> | |
<layout title="COM_MYCOMPONENT_TITLE_VIEW_LOGOUT" option="View"> | |
<message> | |
<![CDATA[COM_MYCOMPONENT_TITLE_VIEW_LOGOUT_DESC]]> | |
</message> | |
</layout> | |
<fields name="params"> | |
<fieldset name="basic"> | |
<field |
<?php | |
$doc = JFactory::getDocument(); | |
// Supposes you have a template setting with name loadJquery | |
$loadJquery = $this->params->get('loadJquery', 1); | |
if ($loadJquery) | |
{ | |
$removeJs = array( | |
'/jquery.min.js', |
<?php | |
$db = JFactory::getDbo(); | |
// Get the available offices | |
$offices = array(); | |
$officeFieldId = 5; | |
$query = $db->getQuery(true) | |
->select('field.extras') | |
->from('#__fieldsattach AS field') |
<?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'; |
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.