Joomla

Internal article links in Joomla

荒凉一梦 提交于 2020-01-01 13:19:16
问题 I'm trying to create a link in one Joomla article that points to another article, but can't see how this should be done. Could you please tell me how to do it? 回答1: You can link to it like this: index.php?option=com_content&view=article&id=ARTICLE_ID 回答2: Use the JCE Editor. Then follow these steps. Select the 'link' option Select browse/content Select the content item Select 'insert'. This is one method, but there are many others. The example uses Joomla 2.5 but the same process is used in

怎样安装Joomla 1.7网站系统

妖精的绣舞 提交于 2020-01-01 04:24:31
如果你想使用Joomla(地球上最好的内容管理系统之一)搭建一个网站,大体的流程是,你需要先在本地电脑,也就是你的电脑或者笔记本上为Joomla搭建一个本地的运行环境,这样你的电脑就会变成一台服务器,在上面你就可以运行Joomla网站程序了,或者是其它类似的程序,比如Drupal,Wordpress,DiscuzX …然后我们可以全用FTP工具把在本地做好的Joomla网站上传到网站的空间里。 工具/原料 下载WAMP软件,用他来搭建Joomla网站本地的测试环境 下载中文版Joomla1.7网站系统,http://www.joomlagate.com/download/joomla-core/joomla17-core-chinese/ 步骤/方法 搭建网站运行环境,在电脑上分别去下载Apache,PHP,MySQL,然后要做一些复杂的配置才能让他们运行在一起,这里有个简单的方法,如果你用的是Windows系统,你可以下载WAMP,他可以快速的在你的电脑上搭建一个网站运行环境,或者你也可以选择XAMPP,他们都把网站环境所需的软件进行了整合,安装完成以后,全部搞定!并不需要多余的配置,非常简单。(如果你用MAC系统,可以下载MAMP) 使用WAMP或XAMPP搭建好环境以后你需要启动他们,然后打开浏览器。输入http://localhost ,如果你能看到环境默认的页面

Joomla how to make an ajax call to an helper.php module

心不动则不痛 提交于 2019-12-31 04:12:12
问题 I create a module, not a component, a module because it should appears a number of times, on a number of pages in various positions I follow basic module creation In default.php I would like to make a ajax call to helper to refresh data, something like that : $.ajax({ url: '/index.php?option=mod_doodlike&format=raw&tmpl=component, all other parameters are in post Is it possible ? what is the exact URL ? what should I put in helper.php (public function , class myclass extends JController) or

Single sign on for Joomla admin and frontend

≯℡__Kan透↙ 提交于 2019-12-31 03:09:12
问题 Is it possible to implement single signon for Joomla 1.5 backend and frontend. I find it kind of redundant that when the admin for instance is logged in at the backend and needs to do some user function on the frontend has to login again. Is there a way of implementing a single signon? 回答1: Joomla! is implemented as two separate applications the front-end initiated from /index.php and the back-end administration from /administrator/index.php as such they have separate user sessions and states

Joomla 2.5 Get User Data from External Script

只谈情不闲聊 提交于 2019-12-30 14:55:28
问题 I need to get the information of the user that's currently logged in to Joomla from a program outside of Joomla itself. I upgraded from 1.5 to 2.5, and what I had before doesn't work anymore. <?php define( '_VALID_MOS', 1 ); include_once( 'globals.php' ); require_once( 'configuration.php' ); require_once( 'includes/joomla.php' ); $option="test"; $mainframe = new mosMainFrame( $database, $option, '.' ); $mainframe->initSession(); $my = $mainframe->getUser(); $joomla_name = $my->name; $joomla

How to set Component parameters in J2.5?

不羁岁月 提交于 2019-12-30 10:41:46
问题 I've created a J2.5 component with some config fields using config.xml in the admin folder of the component. How can I set parameters in the config programatically? I've tried the code bellow, but it obviously doesn't save the result to the DB: $params = & JComponentHelper::getParams('com_mycomponent'); $params->set('myvar', $the_value); Could anyone please show some examples of how to achieve this? 回答1: The safest way to do this would be to include com_config/models/component.php and use it

JFolder::create: Could not create directory - Joomla

北战南征 提交于 2019-12-30 08:32:18
问题 I end up with below error when I try to install a component,module or plugin. JFolder::create: Could not create directory What could be the issue? 回答1: Change the below variable to in your configuration file( configuration.php ) as shown. public $log_path = '/logs'; public $tmp_path = '/tmp'; Also make sure that these folder has the folder permission 755. Read more 回答2: Now I found two solutions for resolving this issue,and both of them has been worked very well: Solution One: First find the

Install Joomla in a subdirectory

邮差的信 提交于 2019-12-30 07:12:52
问题 As some of you may know, Wordpress has an options in settings to allow site installation in a subdirectory, while having the site URL be the main domain. It was something like "Site url" and "Wordpress url". I'm looking for something like this in Joomla. I know there is no inbuilt option for it, but I'd rather not have to move all the files if possible. And please, explain it to me like to a five year old, just in case :) 回答1: To move the whole joomla installation to a subfolder on the server

Install Joomla in a subdirectory

旧城冷巷雨未停 提交于 2019-12-30 07:12:12
问题 As some of you may know, Wordpress has an options in settings to allow site installation in a subdirectory, while having the site URL be the main domain. It was something like "Site url" and "Wordpress url". I'm looking for something like this in Joomla. I know there is no inbuilt option for it, but I'd rather not have to move all the files if possible. And please, explain it to me like to a five year old, just in case :) 回答1: To move the whole joomla installation to a subfolder on the server

Using ReCaptcha with my custom form in Joomla

不打扰是莪最后的温柔 提交于 2019-12-30 07:08:08
问题 I'm trying to use JFormFieldCaptcha to work on my custom jForm. I managed to get the job done with registration and contact forms. However i want to build my own contact form which is based on an XML file somehow look like this: <form> <fieldset addfieldpath="<path to JFormFieldCaptcha class>"> <field name="captcha" label="Captcha" description="COM_DEZTOUR_ORDER_CAPTCHA_DESC" type="text" validate="captcha" /> </fieldset> </form> i cannot figure out why this code not working. Any help would be