The Joomla modal window script syntax in the file /media/system/js/modal.js produces the following error when benig displayed with Firefox:
This is a bug in the file modal.js. It was filed already here. You can do the following to get a workaround for this:
#1 UNCOMPRESSED MODAL.JS:
Search for this line in /media/system/js/modal.js (Line 220):
else if (!(content !== this.content && this.content.contains(content)))
and replace it with this:
#2 COMPRESSED MODAL.JS
Search for this:
and replace it with this;
I’ve been struggling this issue almost of the time when tried adding youtube iframe videos especially below the menus. This problem mostly seen on IE. You found it weird because it looks good on Firefox and Chrome but when checking to IE and urrrggghhhh, why the hell it overlapped the menus.
The solution to this issue is to have
<param name="wmode" value="transparent" /> within the
<object> tag. But as this is an YouTube video, and we are using iframe to embed the YouTube video, we can’t add
<param name="wmode" value="transparent" /> to the code. So the perfect solution is, tried adding ?wmode=transparent at the end of your youtube URL.
Okay, got this Joomla error, when trying to install components to admin site
* JFolder::create: Infinite loop detected
* Warning! – Failed to move file
This error might be caused of the missed configurations or wrong path on your Path to Temp-folder and Path to Log folder in Global Configuration dashboard. So, here’s how to resolve this error.
First, navigate Site>>Global Configuration and under System tab check if the Path to Log Folder has the correct url settings, the url should be like below
Second, click on the Server tab and check the url and change it when isn’t correct like the url path below
And Save the changes that you made. Now try to install the extensions or plugin again. Hope this works.
In this tutorial i will explain on how to add color theme option on your joomla 2.5 templates by adding fields on template parameters.
In your templateDetails.xml, paste this codes
<fieldset name="COLOR"> <field name="theme" type="list" default="Default" label="Color Theme" description="Choose Color theme from list">
And then on index.php file, you will need to call this param function, paste this codes at the top of your index.php page, inside the php
$templateparams = $app->getTemplate(true)->params;
and in order for the css code to function call it through adding this code inside the head tag
<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/colortheme/<?php echo $this->params->get( 'theme' ) ?>" type="text/css" />
Please note that you will need to add different color style on each css files that been added, for it to take an effect and to select the color theme, you have to login to your administrator and on template manager select your template and you must see the color theme option at the right side area.
Hope this helps.