joomla-extensions

jUpgrade Extension stuck during the update to Joomla 2.5.8

跟風遠走 提交于 2019-12-24 12:44:18
问题 I have problem with jUpgrade extension of Joomla.I have a website which is built in Joomla 1.5.26 and I want it to be upgrade it to Joomla 2.5.8.I am using jUpgrade .When i click on start upgrade it start and download and decompress the content but it stuck in the migration process.This snap show it better what i want to say, see below: I have Enable the curl in xampp. And also clear my cache and restarting the server.All thing i have tried wait for it at least 30 minute but nothing happen

Joomla plugin install xml — install file to different folder

喜欢而已 提交于 2019-12-24 11:42:01
问题 Is it possible to install a file from a Joomla plugin to a non-plugin directory? For example-- by default a Joomla plugin install xml looks like this: <?xml version="1.0" encoding="utf-8"?> <install version="1.5" type="plugin" group="mycomponent" method="upgrade"> <name>MyPlugin</name> <author>Me Myself</author> <creationDate>January 29, 2011</creationDate> <copyright>Copyright (C) 2011 ME</copyright> <license>http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL</license> <authorEmail>me@mysite

Overwriting JControllerForm save() Method to Trim POST Data Has No Effect

泄露秘密 提交于 2019-12-24 06:07:52
问题 I have a component that has a controller called MyproductControllerGeneralsetting which extends JControllerForm . Inside MyproductControllerGeneralsetting I am overwriting the save method from the parent class in order to modify $_POST data and then the overwriting method calls the parent class' save method to do the actual saving. Here's the overwritten method in MyproductControllerGeneralsetting : /** * We overwrite the saved form data and trim them to avoid spaces */ public function save(

Overwriting JControllerForm save() Method to Trim POST Data Has No Effect

心已入冬 提交于 2019-12-24 06:07:09
问题 I have a component that has a controller called MyproductControllerGeneralsetting which extends JControllerForm . Inside MyproductControllerGeneralsetting I am overwriting the save method from the parent class in order to modify $_POST data and then the overwriting method calls the parent class' save method to do the actual saving. Here's the overwritten method in MyproductControllerGeneralsetting : /** * We overwrite the saved form data and trim them to avoid spaces */ public function save(

Load language file during joomla (2.5) system plugin installation

荒凉一梦 提交于 2019-12-24 02:34:09
问题 I'm having a real hard time showing a localized string during the installation of a system plugin (in Joomla 2.5). The "normal" way with localized strings in the xml file doesn't seem to work, (see this other question: Language based installation description). I now tried the way proposed there, to show the description via the install scripts. This kind of works (I can echo text successfully), however, I also can't localize there - when debugging the language it shows that the plugin.sys.ini

How to properly use the language files in joomla

十年热恋 提交于 2019-12-24 01:25:59
问题 As far as i could dig in thought google, i found something like: <languages> <language tag="en-GB">en-GB.whatever.ini</language> <language tag="en-GB">en-GB.whatever.sys.ini</language> </languages> From here some question: Can i use it without tag and somehow specify to use with the default system language What is the difference between whatever.ini and whatever.sys.ini Do I have something else to write to xml or those 4 lines uploads and runs languages 回答1: The tag="en-GB" is required. .ini

Set page title in Joomla! 3 from a module

最后都变了- 提交于 2019-12-23 17:12:39
问题 I have an existing module, which I display from an article by using {loadposition custom_position}. The article is linked to a menu item. I want to be able to set a customized page title from this module, overwriting the page title set by the menu item. I tried using $document = JFactory::getDocument(); $document->setTitle('Set your title here'); But it does not set the page title. Is it possible to set the page title from within a module, or can it only be done within a component. 回答1: The

Joomla two module using same helper.php

核能气质少年 提交于 2019-12-23 01:41:49
问题 I've built two custom modules for Joomla ("reservation" and "contact") which are working just fine, however time to time I have to upgrade them. Is it possible to make them to share the same "helper.php" so I could keep code in one place? For example the post function is the same for these two modules. I want the "contact" module to use the "reservation" helper.php post function. Thanks 回答1: You can simply include the reservation module helper inside the contact module and use it. For example

How to do the share extension to show the http shares and not the https?

↘锁芯ラ 提交于 2019-12-22 13:57:29
问题 I have this situations on Facebook Object Debugger: This one is if I input the http link and this one for https link The code of my joomla extension is: <?php /*------------------------------------------------------------------------ # mod_ofblikebutton - Optimized Facebook Like Button # ------------------------------------------------------------------------ # author: Optimized Sense # copyright: Copyright (C) 2013 http://www.o-sense.com. All Rights Reserved. # @license: http://www.gnu.org

joomla i am bussy making mij own rating system

馋奶兔 提交于 2019-12-20 07:49:12
问题 hello im bussy making my own rating system bud i dont know how i get a to mij model can some one help me this mij code controller/beer.php <?php defined('_JEXEC') or die; class BierapiControllerBeer extends JControllerLegacy { function save() { JRequest::checkToken() or die ('verkeerde token'); $date = $this->input->post_ > get('jform', array(), ' array'); $model = $this->getModel(); if ($model->save($date)) { $this->setMessage('save succes'); } else { JError::raiseWarning('', 'save gevaald/>