Joomla

Joomla, move whole site to different domain name

主宰稳场 提交于 2019-12-12 23:12:55
问题 I have a website built in joomla and it is live on the web at a url: http://oldsite.com I have been asked to move it to another url - domain name http://newsite.com How should I do this correctly without messing up the site and joomla installation?? 回答1: I did not find any references in Joomla to the domain that it is running under, so there should be no need to change anything. If the site name changes as well, update /configuration.php. In practice, you may find that there are links with

Class 'DOMDocument' not found in Joomla

南笙酒味 提交于 2019-12-12 19:16:33
问题 My Joomla site got Class 'DOMDocument' not found error. I tried installing dom by sudo apt-get install php7.0-xml and restarted my apache. Already add 'extension=dom.so' in my php.ini file and restarted apache. Still, no DOM section appear in my info.php page. I used Ubuntu 14.04.5 LTS Apache/2.4.20 PHP 7.0.8-4+deb.sury.org~trusty+1 (cli) ( NTS ) Now, I have no idea where to check anymore. Please help. Thank you 回答1: Finally, I updated my apache and machine by sudo apt-get dist-upgrade and

How can include component js after templete js

我怕爱的太早我们不能终老 提交于 2019-12-12 18:27:51
问题 I added javascript on templete index.php $doc = JFactory::getDocument(); $doc->addScript($this->baseurl . '/templates/' . $this->template . '/js/jquery.js', 'text/javascript'); and added another on component below $document = JFactory::getDocument(); $document->addScript($this->baseurl . '/templates/' . $this->template . '/js/validation.js'); but always js (validation.js) of component getting add before tempelete js(jquery.js) How can i add component js(validation.js) after templete js(jquery

Highlight active menu item in Joomla

微笑、不失礼 提交于 2019-12-12 16:41:40
问题 I'm overriding the mod_mainmenu module in Joomla 1.5 and am unable to get the .active or #current CSS class or ID to show on the page. It's showing the following HTML for the menu: <ul id="top-nav" class="flatList"> <li access="0" level="1" id="1"> <a href="#"> <span class="embed embed-top-nav">Home</span> <p>news, highlights</p> </a> </li> <li access="0" level="1" id="4"> <a href="/content/index.php?option=com_content&view=article&id=1&Itemid=4"> <span class="embed embed-top-nav">Watch UNC

Fatal error: Allowed memory size of 25165824 bytes exhausted (tried to allocate 31436096 bytes)

陌路散爱 提交于 2019-12-12 15:26:35
问题 I'm new to Joomla and I'm now using Joomla 1.6 The problem I encounter is when I try to upload an extension via the admin tool and I get the following error message: "Fatal error: Allowed memory size of 25165824 bytes exhausted (tried to allocate 31436096 bytes) in C:\AppServ\www\libraries\joomla\filesystem\file.php on line 295" I've read some relevant messages but didn't get it solved. The phpinfo returns a value which I think may be relevant: 1)upload_max_filesize local value=200; master

joomla 2.5 in module install.mysql.utf8.sql dosent work

拥有回忆 提交于 2019-12-12 14:41:58
问题 i want to install extranal sql file with module and i follow this link tutorial http://docs.joomla.org/J2.5:Creating_a_simple_module/Using_the_Database but it dose not work. here is my xml and sql file coding. where is my mistake? <?xml version="1.0" encoding="utf-8"?> <extension type="module" version="2.5.0" client="site" method="upgrade"> <name>practic_module</name> <author>John Doe</author> <version>1.0.0</version> <description>this is a practice module struckture</description> <files>

Return to previous page in joomla

只谈情不闲聊 提交于 2019-12-12 14:26:27
问题 I have created my own extension. This extension can be accessed from different components and parts of the website. The problem I have is that there could be a number of different URLs that link to this extension. I have a 'cancel' button and I can't work out how I would get this button to link to the previous URL. Wondering if there is something built into joomla like getPreviousURL? Couldn't find anything. EDIT: I should have said that I still want to be able to run my cancel() method. e.g.

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

How can I change Joomla admin URL

柔情痞子 提交于 2019-12-12 11:20:47
问题 By default Joomla admin URL is yoursitename/administrator. How can I change this for Joomla 1.5 so that it doesn't affect my modules and components or any other thing on the backend. 回答1: I don't think that would be a good idea, because some links to '/administator' in modules/components are hardcoded (static), so you better should use some of these plugins http://extensions.joomla.org/extensions/access-a-security/site-security/login-protection or just try something with .htaccess (ask for

Language based installation description

假装没事ソ 提交于 2019-12-12 10:53:25
问题 As you all know, once you have installed an extension in the Joomla backend, the description shows. You can either have a plain description from the XML or have a language based one. I have never had problems in the past with language based descriptions however this time I do. The extension is a admin component and has no frontend folder and is for Joomla 2.5. When I install the component, the description appears as COM_PROJECTS_DESC The language folder and files are in the correct location