joomla2.5

Error 500 on Joomla 2.5.8 : JHtml: :jquery not supported. File not found

喜欢而已 提交于 2019-12-02 02:03:26
I am using Joomla 2.5.8 . Actually after i install a new theme this error occurred "JHtml: :jquery not supported. File not found" . Since i am new on Joomla i was unable to figure out. I even tried out Joomla Jquery Library plugins but non helped. Please help me to sort it out. This is the Debug info: 1 JSite->render() JROOT/index.php:48 2 JDocumentHTML->parse() JROOT/includes/application.php:259 3 JDocumentHTML->_fetchTemplate() JROOT/libraries/joomla/document/html/html.php:414 4 JDocumentHTML->_loadTemplate() JROOT/libraries/joomla/document/html/html.php:591 5 require() JROOT/libraries

How to hide the toogle editor from the tinymce editor

爱⌒轻易说出口 提交于 2019-12-01 23:03:11
问题 My XML is as shown below. Everything except the toogle editor button becomes hidden from the editor. Is there any other code to fix the problem. <field name="description" type="editor" cols="20" label="COM_TEST_DESCRIPTION_LBL" description="COM_TEST_DESCRIPTION_DESC" class="inputbox" filter="JComponentHelper::filterText" buttons="true" hide="readmore,pagebreak,image,article,toogle editor" /> 回答1: The simplest way would be to use CSS styling to disable the visibility of this button: .toggle

Redirect a page from one page to another page without changing the url using htaccess

拟墨画扇 提交于 2019-12-01 20:51:51
Is there any way to Redirect a page from one page to another page without changing the url using htaccess in joomla? I want to change the url http://idaycom.com/index.php/component/quates/ to http://idaycom.com/index.php/component/quotes/ How to change it ? here is my htaccess file ## # @version $Id: htaccess.txt 21101 2011-04-07 15:47:33Z dextercowley $ # @package Joomla # @copyright Copyright (C) 2005 - 2011 Open Source Matters. All rights reserved. # @license GNU General Public License version 2 or later; see LICENSE.txt ## ## # READ THIS COMPLETELY IF YOU CHOOSE TO USE THIS FILE! # # The

How to hide the toogle editor from the tinymce editor

怎甘沉沦 提交于 2019-12-01 20:16:31
My XML is as shown below. Everything except the toogle editor button becomes hidden from the editor. Is there any other code to fix the problem. <field name="description" type="editor" cols="20" label="COM_TEST_DESCRIPTION_LBL" description="COM_TEST_DESCRIPTION_DESC" class="inputbox" filter="JComponentHelper::filterText" buttons="true" hide="readmore,pagebreak,image,article,toogle editor" /> The simplest way would be to use CSS styling to disable the visibility of this button: .toggle-editor { display: none; } 来源: https://stackoverflow.com/questions/12138275/how-to-hide-the-toogle-editor-from

How to load a custom html module using ajax-call joomla 2.5

穿精又带淫゛_ 提交于 2019-12-01 12:39:41
I have in my html page a link with class name ="flyer" and href="MY_HREF". When the user click's in the link I want to load a "custom html" module with specific ID. Can you please advise me how will be the syntax of the MY_HREF. For example http://www.mywebsite/com_custom/id=ID.html ??? Below I have the ajax call: jQuery.ajaxSetup ({ dataType: "html", cache: false }); var portfolioItemURL = ""; jQuery(".flyer").click( function(){ portfolioItemURL = jQuery(this).find("a").attr("MY_HREF") + '?tmpl=component&type=raw'; jQuery("#ajaxCallContainer").load(portfolioItemURL); } ); Ok i found the

joomla component development with Ajax queries

徘徊边缘 提交于 2019-12-01 11:17:11
I have a PHP script used for AJAX queries, but I want them to be able to operate under the umbrella of Joomla's (2.5) framework so I can have session id's, user id's etc available to me. For example: $(function () { $.ajax({ url: 'ajax.php', //the script to call to get data dataType: 'json' //data format ... }); }); Where ajax.php has code such as: $user =& JFactory::getUser(); From what I understand it's best to make your AJAX/JSON calls to a standard Joomla component. I don't know much about developing a MVC component but from what I can see it is way overkill for what I want to do. Is there

How to load a custom html module using ajax-call joomla 2.5

狂风中的少年 提交于 2019-12-01 11:15:24
问题 I have in my html page a link with class name ="flyer" and href="MY_HREF". When the user click's in the link I want to load a "custom html" module with specific ID. Can you please advise me how will be the syntax of the MY_HREF. For example http://www.mywebsite/com_custom/id=ID.html ??? Below I have the ajax call: jQuery.ajaxSetup ({ dataType: "html", cache: false }); var portfolioItemURL = ""; jQuery(".flyer").click( function(){ portfolioItemURL = jQuery(this).find("a").attr("MY_HREF") + '

How to set Component parameters in J2.5?

谁都会走 提交于 2019-12-01 09:24:39
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? The safest way to do this would be to include com_config/models/component.php and use it to validate and save the params. However, if you can somehow validate the data params yourself I would stick

Print All Users - Joomla 2.5

巧了我就是萌 提交于 2019-12-01 08:15:45
I am new to Joomla. I have created website using Joomla 2.5. I have login page which is default Joomla user management system. What I want is display all user data in a tabular format. How could I do the same? Edit 1 I can see the users with below steps. Go to administrator page as www.site.com/administrator . Login as admin Click Users >> User Manager menu and then I can see the list of users. I want to print same list, however on the website and not on administrator site at backend. Rakesh Sharma you can do this run the query on your page where you want to show user list. you can fetch all

joomla component development with Ajax queries

喜夏-厌秋 提交于 2019-12-01 07:49:55
问题 I have a PHP script used for AJAX queries, but I want them to be able to operate under the umbrella of Joomla's (2.5) framework so I can have session id's, user id's etc available to me. For example: $(function () { $.ajax({ url: 'ajax.php', //the script to call to get data dataType: 'json' //data format ... }); }); Where ajax.php has code such as: $user =& JFactory::getUser(); From what I understand it's best to make your AJAX/JSON calls to a standard Joomla component. I don't know much