joomla1.5

Joomla 1.5 to 2.5 with Jupgrade. “undefined migrating error”

落花浮王杯 提交于 2019-12-12 09:56:44
问题 I've try to migrate a website in Joomla from 1.5 to 2.5 using jUpgrade but I've receive the "undefined migrating" error. The files was correctly transferred, but there's no change to the db, and when I try to log on website.com/jupgrade , I land on a page saying "please delete installation folder" and no db was transferred/created (so I have to create it manually and create menu, article, etc. wasting so much time!) Please help. I have already tried removing folder and changing tmp to 777

Text editor for custom field in joomla

女生的网名这么多〃 提交于 2019-12-12 03:17:54
问题 I have created a custom field in Joomla 1.5 menu for description of the menu. I have edited the component.xml in administrator\components\com_menus\models\metadata but now I want to put a text editor in place of a normal text-box. Any ideas how to approach this? 回答1: You need to create an element of editor type. Learn how to create element and how to save data class JElementMyeditor extends JElement { var $_name = 'Myeditor'; /** * @param $name * @param $value * @param $node * @param $control

How to add and use jquery and css file in joomla module..?

怎甘沉沦 提交于 2019-12-12 02:41:55
问题 $document = &JFactory::getDocument();//getting document ref object $document->addScript(JURI::root() . 'modules/mod_my_slider/jquery.js'); $path = "http://".$_SERVER['HTTP_HOST'].$_SERVER['PHP_SELF']."modules/mod_my_slider/images"; $path = str_replace("index.php","",$path); ?> <script language="javascript"> jQuery('#block').show(); </script> <center> <div height:220px; width:500px; border:1px solid black;> <img class="slide" height="220px" width="500px" src="<?php echo $path; ?>/pier1.jpg"/>

superfish items ' width aren't correct in IE 6,7

南笙酒味 提交于 2019-12-12 00:06:46
问题 I have installed superfish module in joomla 1.5 . I have a problem in IE 6,7 . the width of 'li' elements are not calculated correct and this causes some items fall down. unfortunately I am working on my pc and cann't uploaded it somewhere to show you the site, but I hope maybe it is a common problem and someone can help me. How can I resolve it? 回答1: Common reasons why you might get width issues in IE6: Quirks mode: Number one cause of layout glitches in IE. Make sure your <!DOCTYPE> is set

DB function reports no errors when adding new article in Joomla [duplicate]

。_饼干妹妹 提交于 2019-12-11 18:06:43
问题 This question already has answers here : Closed 10 years ago . Possible Duplicate: 500 - An error has occurred! DB function reports no errors when adding new article in Joomla! I have an article that I want to publish on my Joomla! site. Every time I click apply or save. I get error 500 - An error has occurred! DB function reports no errors . I have no idea why this error comes up, al I can think is that it's a server error. I'm using TinyMCE to type articles together with Joomla! 1.5.11.

Password Authentication - Inconsistent Hashes

断了今生、忘了曾经 提交于 2019-12-11 16:39:23
问题 I am migrating from Joomla 1.5 to WordPress and my client does not want users to have to re-register. So I am writing a WordPress plugin to match a user's password with what's in the jos_users table and then update their info in WordPress accordingly. Everything I have read so far for Joomla's password authentication points me to the getCryptedPassword function: http://docs.joomla.org/API15:JUserHelper/getCryptedPassword My plugin is encrypting what the user enters the same way: $db_password

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_';

how can i put an alert after loading google map

淺唱寂寞╮ 提交于 2019-12-11 13:43:22
问题 Is there any way to execute a function after loading google map ? There is a google map in my site In this site the Google map is executing with the Google API using the URL :http://maps.googleapis.com/maps/api/js?sensor=true&libraries=places I want to put an alert box after loading Google map in this site. Is there any way to recognize when the map is fully loaded? Please help me 回答1: there is a tilesloaded-event for the map, it fires when the visible tiles have finished loading: google.maps

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: Is there a module render plugin event?

旧巷老猫 提交于 2019-12-11 09:44:59
问题 Due to some caching issues, I need to explicitly bypass the cache, for a specific module, if certain URL parameters are present. The workaround I've arrived at is to hack the render() function in libraries/joomla/document/html/renderer/module.php , along the lines of: function render( $module, $params = array(), $content = null ) { // Existing code: $mod_params = new JParameter( $module->params ); // My hack: if ($module->module == 'mod_foo') { if (certain URL parameters are present) { $mod