joomla3.0

Unable to install joomla in localhost

十年热恋 提交于 2019-12-14 01:01:17
问题 today i was trying to install joomla on localhost but with web installer after filling configuration info when i click next nothing happens but just an processing image is displayed as shown in image I tried with different browsers but same problem is everywhere,I have left it for 15-20 minutes ,restarted server/laptop yet same problem.I knew there is no problem with installation source as I have already installed it before. Well I am using EasyPHP-DevServer-13.1VC11 Please help!! I have

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 php within sourcerer not displayed

孤人 提交于 2019-12-13 04:53:46
问题 I have successfully installed sourcerer, but the following code in a module doesnt show the expected result (only TEST1 and TESt2 get displayed). What am I missing? <p>TEST1 {source} <!--?php echo "My first php snippet"; ?--> {/source} TEST2 </p> 回答1: If the article mentioned here is right you need to change <?php echo "My first php snippet";?> to [[?php echo "My first php snippet";?]] to avoid it being produced as a comment in html https://www.nonumber.nl/extensions/sourcerer#code-is

Joomla - How to send data from Sub controller to Model?

旧巷老猫 提交于 2019-12-13 03:17:27
问题 I have been searching for my problem of sending data from a sub-controller to a model in MVC Joomla component and I have been searching out for my problem in google and got this link but it is giving me the blank results. I have tried so many tutorials but it is not working. My Sub-Controller send.php Code is below <?php /** * @package Joomla.Administrator * @subpackage com_helloworld * * @copyright Copyright (C) 2005 - 2015 Open Source Matters, Inc. All rights reserved. * @license GNU

Adding new field in article manager in frontend of Joomla 3.0

▼魔方 西西 提交于 2019-12-13 02:19:24
问题 I am trying to add new field in new article in frontend of joomla as described here: http://docs.joomla.org/Adding_custom_fields_to_the_article_component But the fields are not shown on the form. Can anybody explain me the reason? Below is my code written in plugin file: function onContentPrepareForm($form, $data) { if (!($form instanceof JForm)) { $this->_subject->setError('JERROR_NOT_A_FORM'); return false; } // Add the extra fields to the form. // need a seperate directory for the

Joomla >1.7 hide log messages from browser

你说的曾经没有我的故事 提交于 2019-12-12 14:25:43
问题 I'm developing an extension for Joomla!; at the moment I'm trying to make it 3.0 compatible - as with 3.0 the logging changed a little (*). Building on the answer from this related question, my current code looks like this: JLog::addLogger(array( 'text_file' => 'plg_system_myplg.log.php' )); JLog::add('blah blah log msg'); The problem is that the log also goes to the messages which are shown to the user - this I want to prevent, I want the log msg only to go to the log file. I think it has to

JForm::getInstance could not load file

你离开我真会死。 提交于 2019-12-12 12:10:52
问题 I am making a form component into joomla.In which i will put one textbox and one editor and one button. i create the view file for this form and the component is successfully install.but when i click to display this form onto the front end,there is an error display like: "The requested page cannot be found. An error has occurred while processing your request. You may not be able to visit this page because of: an out-of-date bookmark/favourite a mistyped address a search engine that has an out

joomla: customize text in user menu

三世轮回 提交于 2019-12-12 06:41:16
问题 In the user-menu module, I want to change the text in the div.login-greeting element (which is a child of the form#login-form element). Right now, it says "Hi Steph," (supposing the username is Steph) I want it to say "Hi, Steph". That's all. I can't figure out if what I need to do is a template override or something else... because I can't figure out where the heck these elements come from. I am fairly new to Joomla, and intermediate in php. I've found working with the module manager, adding

coverting my joomla 2.5 template to 3.x

可紊 提交于 2019-12-12 06:02:54
问题 Any help in the right direction would be appreciated. Hopefully, this is the right place to ask this quesiton :o I just upgrade from Joomla 2.58 to 3.51. Everything is going well I can use other templates but I am having trouble with my template. I keep getting this error and no matter how much I research and try I can't seem to get my template to work. I have work through several errors but now I am stuck with this. I am posting all the errors and the changes I made just in case it is

url rewriting in joomla with htaccess

。_饼干妹妹 提交于 2019-12-12 05:49:41
问题 my joomla url is : http://sitename.com/index.php/search/door?slug= 101-jessica-alba-202 and make it to url like : http:// 10-jessica-alba-194 .sitename.com/ so what is the .htaccess rule for this. ?? i tried RewriteCond %{HTTP_HOST} ^(([0-9]+)-(.*)-([0-9]+))\.sitename\.com$ RewriteRule ^$ index.php?option=com_name&view=viewname&slug=%1 回答1: There are multiple steps that need to be done in order to accomplish what you want: You will need to enable wildcard subdomains on your domain (this can