joomla3.2

JPG, png and gif “This file type is not supported” in joomla 3.2.1

送分小仙女□ 提交于 2020-01-17 07:21:22
问题 Is it me or is this the new joomla release? It worked fine in 3.2 as far as I remember. I tried png as well and gif. Different filenames. For the unbelieving people, Legal extensions is: bmp,csv,doc,gif,ico,jpg,jpeg,odg,odp,ods,odt,pdf,png,ppt,swf,txt,xcf,xls,BMP,CSV,DOC,GIF,ICO,JPG,JPEG,ODG,ODP,ODS,ODT,PDF,PNG,PPT,SWF,TXT,XCF,XLS for me 回答1: I tried uploading an image named java.jpg like your screenshot and it didn't work, then I tried php.jpg and didn't work as well. The same images with

Import Users from CSV / Excel file in Joomla 3

。_饼干妹妹 提交于 2020-01-05 02:52:09
问题 I need to create about 100 users in a Joomla 3.2 system. Is there a way to do this automatically and without high costs? 回答1: I think the best component for this is this: CSV Improved: http://www.csvimproved.com/ But you can try this component aswell: J-Import: http://mycircletree.com/products/joomla-and-jomsocial-user-creation-data-import-component/ 回答2: There is a very inexpensive extension called IMPORT/UPLOAD USERS INTO JOOMLA (+User Profile) FROM EXCEL OR CSV FILE which can easily handle

Mail content shows as html code in Joomla 3

血红的双手。 提交于 2020-01-04 03:40:09
问题 I have written a script for sending a mail, it gets delivered to the correct email address but in them form of HTML code, I don't know why it's not working as same code is working fine in Joomla 2.5. Here's my code: $mailer = JFactory::getMailer(); $config = JFactory::getConfig(); $subject = 'Account Created'; $from = $config->get('mailfrom'); $fromname = $config->get( 'fromname' ); $body = "<p>Hello Test F,</p><br/><p>Thank you for registering at Deals&offers. Your account is created and

Error uploading big extensions to joomla on a localhost

可紊 提交于 2019-12-25 16:55:49
问题 I get the following error when I tried uploading the Akeeba Backup extension on my localhost: "There was an error uploading this file to the server." I tried uploading JCE Editor and it worked fine. I understand this error appears because I cannot upload extensions bigger than X MB (JCE is 1,5MB and Akeeba is 2,25MB). So my guess is I cannot upload extensions bigger than 2MB. Researching I came across two solutions, neither worked for me. First solution: In the file ini.php find the following

Cannot echo individual values of an object in Joomla 3.2

半腔热情 提交于 2019-12-25 01:58:02
问题 following this tutorial here: http://docs.joomla.org/Selecting_data_using_JDatabase#Selecting_Records_from_a_Single_Table I have created a function as follows: function getItemForBid() { // Get a db connection. $db = JFactory::getDbo(); // Create a new query object. $query = $db->getQuery(true); // Select item record matching the $orderID $query ->select($db->quoteName(array('id', 'created_by', 'itemtitle', 'deliverydestination', 'listprice'))) ->from($db->quoteName('#__entrusters_items')) -

Get current article category ID (catid) in Joomla 3.2

我们两清 提交于 2019-12-24 00:42:51
问题 I need to get current article category id, in older joomla version I used: <?php $catid = JRequest::getInt('catid'); echo $catid; ?> But in Joomla 3.2 I get 0. 回答1: You can eliminate the extra database query by taking advantage of the fact that the article model instance is cached and so is the query result for the current article. So, use the content model class to get what you are after. $app = Jfactory::getApplication(); $input=$app->input; if ($input->getCmd('option')=='com_content' &&

Joomla 3.2.2 issue: Notice: Undefined variable: nowDate /components/com_content/models/articles.php

邮差的信 提交于 2019-12-14 04:09:02
问题 I have modified my joomla latest news module to make it displaying only articles from the latest month by adding these lines to the helper.php $model->setState('filter.date_filtering', 'relative'); $model->setState('filter.relative_date', 30); It works good until I upgraded my joomla installation to the latest Joomla 3.2.2 today. It works properly for public access and registered user, but when I login as a admin user in the frontend it returns a blank output and when I set the error

How to get username in joomla 3.2

北城以北 提交于 2019-12-13 06:59:22
问题 I had built an external application which retrieve Joomla User Information and I user the code as below : session_start(); define( '_JEXEC', 1 ); define('JPATH_BASE', '../' ); require_once ( JPATH_BASE .'../includes/defines.php' ); require_once ( JPATH_BASE .'../includes/framework.php' ); $app = JFactory::getApplication('site'); $user = JFactory::getUser(); $myuserid = $user->username; $_SESSION["myid"] = "$myuserid"; $myid = $_SESSION["myid"]; echo 'User name: ' . $myid . '<br />'; However,

Joomla 3.2 working with css files

只谈情不闲聊 提交于 2019-12-13 04:47:20
问题 I am testing Joomla 3.2 and trying to customize css files off custom and default templates but I can't get any changes to actualy display online. First of all I thought it was a cache problem although it usualy is disabled on installation. I enabled and disabled it, cleared cache several times... Tried several browsers clearing and disabling cache each time but still, my changes don't apear... The wierdest thing is that I don't have that problem on joomla 3.1 and changes I make to index.php

Joomla menu item type iframe-wrapper doesn't load javascript

╄→гoц情女王★ 提交于 2019-12-11 19:08:06
问题 I am building a new template from the ground up for an existing site that uses the menu item type iframe-wrapper to display external content. My template uses a bit of jQuery which works fine on all pages I have checked so far, except for those using the iframe-wrapper. On those pages joomla does not seem to include any of the js it usually does (jQuery, mootools, joomla stuff). Since I need jQuery my scripts break. I could probably work around that by hardcoding jQuery into the template.