joomla-extensions

joomla get post data

允我心安 提交于 2019-12-12 01:20:45
问题 I'm creating joomla component and i have problem with accesing data from post in one view i have 6 inboxes 3 of them are chandled by JTable class and thats good, but other 3 i want to process, my fields: <input id="jform[team1_goals_players]" class="" type="hidden" name="jform[team1_goals_players]" value="2,2," aria-invalid="false"> <input id="jform_team1_goals" class="required" type="text" value="4" name="jform[team1_goals]" aria-required="true" required="required" aria-invalid="false">

joomla 1.7 user registration customization issue

痴心易碎 提交于 2019-12-11 16:36:27
问题 -> i am trying for new user registration customization. -> for that i create form and hidden variable through call function from controller. -> in controller save function i write this code but some inner function which not work in 1.7 so create problem here. function register_save() { global $mainframe; $db =& JFactory::getDBO(); // Check for request forgeries JRequest::checkToken() or jexit( 'Invalid Token' ); //clean request $post = JRequest::get( 'post' ); $post['username'] = JRequest:

JFactory,JDatabase class not found in /var/www/joomla2.5/database.php

て烟熏妆下的殇ゞ 提交于 2019-12-11 15:47:36
问题 I am trying to make connection to my data base but i am getting error JFactory class not found /var/www/joomla2.5/database.php my code is $db= JFactory::getDBO(); I have also tried to make database connection externally but then iam getting the error JDatabase class not found <?php $option = array(); //prevent problems $option['driver'] = 'mysql'; $option['host'] = 'localhost'; $option['user'] = 'xxxx'; $option['password'] = 'xxxx'; $option['database'] = 'xxxx'; $option['prefix'] = 'cdri_';

Strict Standards: Non-static method modJumiHelper::getCodeWritten() should not be called statically

老子叫甜甜 提交于 2019-12-11 14:42:34
问题 I having these errors on my website: Strict Standards: Non-static method modJumiHelper::getCodeWritten() should not be called statically in /home/kmxsiksf/www/modules/mod_jumi/mod_jumi.php on line 17 Strict Standards: Non-static method modJumiHelper::getStorageSource() should not be called statically in /home/kmxsiksf/www/modules/mod_jumi/mod_jumi.php on line 18 Here is the mod_jumi.php (line 17 and 18 start respectively with $code_written and $storage_source) defined('_JEXEC') or die(

Significance of a using colon in Joomla URL

随声附和 提交于 2019-12-11 11:57:10
问题 I need to know, if joomla gives any significance to a colon in within component or view? Is there something in this naming convention? 回答1: The colon is only used in the 'id' parameter to separate the numeric id from the slug used for SEF URLs. With view & component names you should not use any colons. Eg: Non-sef URL - /index.php?option=com_content&view=article&id=45:my-article-title Sef URL - /my-article-title.html Also when actually using the id, you should only use the numeric part, which

Joomla! 2.5 language file - translate description

江枫思渺然 提交于 2019-12-11 10:30:37
问题 I create a new plugin for joomla 2.5, and in xml i use: <description>PLG_VAR_DESC</description> But when install, he dont show the the translation but the var on file. <languages folder=""> <language tag="en-GB">en-GB.plg_system_name.ini</language> <language tag="en-GB">en-GB.plg_system_name.sys.ini</language> </languages> <files> <folder>images</folder> <filename>index.html</filename> <filename>parameters.xml</filename> <filename plugin="plg_name">plg_name.php</filename> </files> I try

Joomla 1.6 External PHP Interaction Issue

久未见 提交于 2019-12-11 10:11:21
问题 I am new to working with Joomla and I am adapting an external php class I wrote for v1.5. Without going into all the details, basically, I use a function to load the Joomla environment after which everything in Joomla is available to the class. This is essentially done using the index.php file. It works fine with v1.5 and has done for a while but trying to adapt it for v1.6, it falls over. Here is the function: private function loadJoomla() { $path_base = rtrim($this->joomFullPath, '/'); //

uninstalling joomla package not uninstalling all child extensions

时光总嘲笑我的痴心妄想 提交于 2019-12-11 09:57:52
问题 I created a joomla package including all component and module zips inside packages folder of the package. all required settings in package xml file as follows - <extension type="package" version="2.5" method="upgrade"> ........ <packagename>mypackage</packagename> ........ <files folder="packages"> <filename type="module" id="mypackage">Ajax-Session-Module-master.zip</filename> <filename type="component" id="mypackage">component-develop.zip</filename> </files> ....... When i install package,

Is is possible to use joomla 3 modules on joomla 2.5?

自古美人都是妖i 提交于 2019-12-11 08:07:06
问题 Is there any way to use Joomla! 3 extensions on J!2.5 ? I need to use Noo Timeline on Joomla! 2.5 but there is no version for it. http://extensions.joomla.org/extensions/calendars-a-events/time/content-date-a-time/25732 Best regards, 回答1: Change below codes in below files In modules/mod_noo_timeline/elements/nootimeline.php Line no: 25 Change JHtml::_('jquery.ui', array('core','sortable')); To: $document = JFactory::getDocument(); $document->addScript("//ajax.googleapis.com/ajax/libs/jquery/1

creat new options to joomla component when creating new menu item

折月煮酒 提交于 2019-12-11 06:46:07
问题 I searched internet for good explanation how to create additional options when creating new menu item. For example: i created component to sell chips of different companiens when creating menu option it to show only chips of company xyz and not from all companies. Similar work-flow is when we want to add article as new menu item. Field where 'Required Settings' is. Please show me code responsible for it or good tutorial . 回答1: If you are looking for menu options for your custom component, you