If you've upgraded to Joomla 3.2 and your Editor in Admin has stopped working then you may have had the same issue as me.
Where you using 'CodeMirror' as your editor, if so then read on .
I fixed this by returning to 'TinyMCE' for the moment.
OPEN configuration.php
ADD or EDIT the line
public $editor = 'tinymce';
In Joomla Administration > Extensions > Plugin Manager
Turn off the other editors
Thats it. !!
Thursday, 9 January 2014
wordpress transfer You do not have sufficient permissions to access this page
So after transfer a Wordpress website I got the message 'You do not have sufficient permissions to access this page' .
Actually the error arose because of a change to the 'wp_' suffix I'd made while doing the transfer. So if that it isn't something you had done as well then this fix is not for you.
wordpress wp_ suffix change You do not have sufficient permissions to access this page
Run these statements in MyPHPadmin.
UPDATE new_usermeta
SET meta_key = REPLACE(meta_key,'old_','new_');
UPDATE new_options
SET option_name = REPLACE(option_name,'old_','new_');
Actually the error arose because of a change to the 'wp_' suffix I'd made while doing the transfer. So if that it isn't something you had done as well then this fix is not for you.
wordpress wp_ suffix change You do not have sufficient permissions to access this page
Run these statements in MyPHPadmin.
UPDATE new_usermeta
SET meta_key = REPLACE(meta_key,'old_','new_');
UPDATE new_options
SET option_name = REPLACE(option_name,'old_','new_');
Wednesday, 8 January 2014
Wordpress file exceeds the maximum upload size for this site. Maximum upload file size: 2MB.
This isn't going to be a great solution for everyone, but it was a real quick fix for me.
And that was to FTP the file somewhere and use 'insert for URL' on the top left.
And that was to FTP the file somewhere and use 'insert for URL' on the top left.
Joomla Mijo shop - remove Terms and conditions
Mijoshop > Dashboard > Settings >
Select your shop in the main screen and click on 'edit'
Find the 'Option tab
> scroll down to 'Account Terms'
and then select 'none' from the dropdown.
Select your shop in the main screen and click on 'edit'
Find the 'Option tab
> scroll down to 'Account Terms'
and then select 'none' from the dropdown.
Tuesday, 7 January 2014
How to show old IE versions on Windows 8.1 Internet Explorer 10
Friday, 27 December 2013
Joomla Administration; How to add a custom dropdown list to a form
The aim here was to make some customisations to the Messaging component. I wanted to change the user dropdown to only select from our shoppers.
Here's how I fixed this.
I added this file administrator/com_message/models/fields/ourshoppers.php
defined('JPATH_BASE') or die;
jimport('joomla.html.html');
jimport('joomla.form.formfield');
jimport('joomla.form.helper');
JFormHelper::loadFieldClass('list');
/**
* Custom Field class for the Joomla Framework.
*
* @package Joomla.Administrator
* @subpackage com_my
* @since 1.6
*/
class JFormFieldOurShoppers extends JFormFieldList
{
/**
* The form field type.
*
* @var string
* @since 1.6
*/
protected $type = 'OurShoppers';
/**
* Method to get the field options.
*
* @return array The field option objects.
* @since 1.6
*/
public function getOptions()
{
// Initialize variables.
$options = array();
$db = JFactory::getDbo();
$query = $db->getQuery(true);
$query->select('user_id As value, username As text');
$query->from('#__users AS a');
$query->join('LEFT', '#__mijoshop_user AS m ON m.userid = a.id');
$query->order('a.username');
$query->where('m.status = 1');
// Get the options.
$db->setQuery($query);
$options = $db->loadObjectList();
// Check for a database error.
if ($db->getErrorNum()) {
JError::raiseWarning(500, $db->getErrorMsg());
}
return $options;
}
}
and then in administrator/com_messages/models/forms/message.xml
FIND
name="user_id_to"
And underneath change the type to 'our shoppers'
type="OurShoppers"
###########################
Here's what I searched for on Google
joomla com_messages model how to effect the recipient dropdown
joomla messages components how to effect the recipient dropdown
joomla changing a input-append in administrator
how to make your own customised forms . Heres a great article.
http://docs.joomla.org/J2.5:How_to_add_custom_filters_to_components
index.php?
option=com_users&view=users&layout=modal&tmpl=component&field=jform_us
er_id_to&groups=WyI3IiwiOCJd&excluded=WyI4MjIiXQ==
joomla 3 administrator models/fields custom dropdown
I NEED TO LINK UP TO MIJOSHOP CUSTOMER AND NOT MIJOSHOP USER. !! match on email !!
Here's the answer on this page ->
http://docs.joomla.org/Creating_a_custom_form_field_type
Here's how I fixed this.
I added this file administrator/com_message/models/fields/ourshoppers.php
getQuery(true); $query->select('user_id As value, username As text'); $query->from('#__users AS a'); $query->join('LEFT', '#__mijoshop_user AS m ON m.userid = a.id'); $query->order('a.username'); $query->where('m.status = 1'); // Get the options. $db->setQuery($query); $options = $db->loadObjectList(); // Check for a database error. if ($db->getErrorNum()) { JError::raiseWarning(500, $db->getErrorMsg()); } return $options; } }
defined('JPATH_BASE') or die;
jimport('joomla.html.html');
jimport('joomla.form.formfield');
jimport('joomla.form.helper');
JFormHelper::loadFieldClass('list');
/**
* Custom Field class for the Joomla Framework.
*
* @package Joomla.Administrator
* @subpackage com_my
* @since 1.6
*/
class JFormFieldOurShoppers extends JFormFieldList
{
/**
* The form field type.
*
* @var string
* @since 1.6
*/
protected $type = 'OurShoppers';
/**
* Method to get the field options.
*
* @return array The field option objects.
* @since 1.6
*/
public function getOptions()
{
// Initialize variables.
$options = array();
$db = JFactory::getDbo();
$query = $db->getQuery(true);
$query->select('user_id As value, username As text');
$query->from('#__users AS a');
$query->join('LEFT', '#__mijoshop_user AS m ON m.userid = a.id');
$query->order('a.username');
$query->where('m.status = 1');
// Get the options.
$db->setQuery($query);
$options = $db->loadObjectList();
// Check for a database error.
if ($db->getErrorNum()) {
JError::raiseWarning(500, $db->getErrorMsg());
}
return $options;
}
}
and then in administrator/com_messages/models/forms/message.xml
FIND
name="user_id_to"
And underneath change the type to 'our shoppers'
type="OurShoppers"
type="OurShoppers"
###########################
Here's what I searched for on Google
joomla com_messages model how to effect the recipient dropdown
joomla messages components how to effect the recipient dropdown
joomla changing a input-append in administrator
how to make your own customised forms . Heres a great article.
http://docs.joomla.org/J2.5:How_to_add_custom_filters_to_components
index.php?
option=com_users&view=users&layout=modal&tmpl=component&field=jform_us
er_id_to&groups=WyI3IiwiOCJd&excluded=WyI4MjIiXQ==
joomla 3 administrator models/fields custom dropdown
I NEED TO LINK UP TO MIJOSHOP CUSTOMER AND NOT MIJOSHOP USER. !! match on email !!
Here's the answer on this page ->
http://docs.joomla.org/Creating_a_custom_form_field_type
joomla RD Ticketmaster - Change checkout so that the Returning Customer box isn't dropped down
OPEN
components/com_ticketmaster/views/checkout/tmpl/default.php
and comment out the line
JQ('.acc_trigger:first').addClass('active').next().show();
around line 109
components/com_ticketmaster/views/checkout/tmpl/default.php
and comment out the line
JQ('.acc_trigger:first').addClass('active').next().show();
around line 109
Subscribe to:
Posts (Atom)