HTML iframe frameborder Attribute

Definition and Usage
The frameborder attribute specifies whether or not to display a border around an iframe.
Browser Support
The frameborder attribute is supported in all major browsers.

<iframe frameborder="value">

Attribute Values
1 Border on (this is default)
0 Border off
An iframe with no border:

<iframe src="/default.asp" width="200" height="200" frameborder="0">
<p>Your browser does not support iframes.</p>

Magento: JM Products Slider

On my slider(JM Products Slider) the “Number of Element” is 4 on the row and the “Qty of products” is 20. when I click on the “previous” or “next” buttons, it just shift one product I want to shift all the four products!!! How can I do that????

by changing this code:
scroll: 1,
scroll: 4,
in /skin/frontend/default/default/joomlart/jmproductsslider/js/jcarousellite_1.0.1_custom.js

Favicon improvement for easyshop theme

jm_easyshop template doesn’t use the favicon.ico configured in the admin page (system->configuration->general->design->header). So, we cannot have 2 websites with jm_easyhsop look and different favicon.

I did a simple change in app/design/frontend/default/jm_easyshop/template/page/html/head.phtml for using this configured favicon :

I replaced :

<link rel="icon" href="<?php echo $this->getSkinUrl('favicon.ico') ?>" type="image/x-icon" />
<link rel="shortcut icon" href="<?php echo $this->getSkinUrl('favicon.ico') ?>" type="image/x-icon" />

by :

<link rel="icon" href="<?php echo $this->getFaviconFile(); ?>" type="image/x-icon" />
<link rel="shortcut icon" href="<?php echo $this->getFaviconFile(); ?>" type="image/x-icon" />

these 2 lines comes from the default magento head.phtml

How to make CSS visible only for Opera and google chrome?

Here is a way to make some CSS rules visible only for Opera (9.5 +)?

@media all and (-webkit-min-device-pixel-ratio:10000), not all and (-webkit-min-device-pixel-ratio:0) {
       css rules

here is an example:

@media all and (-webkit-min-device-pixel-ratio:10000), not all and (-webkit-min-device-pixel-ratio:0) {
    #ja-main {
        width: 800px ;
    #ja-left {
        width: 200px;

For google chrome
@media screen and (-webkit-min-device-pixel-ratio:0) {

Body {}


Remote full backup using cron job

If you want to make a Full Backup using cron job and transfer it via ftp to a remote server, you can use this script
Download it from here :
extract the file and open fullbackup.php and configure the following lines


// Info required for cPanel access
$cpuser = "*********"; // Username used to login to CPanel
$cppass = "*********"; // Password used to login to CPanel
$domain = "*********"; // Domain name where CPanel is run
$skin = "x3"; // Set to cPanel skin you use (script won't work if it doesn't match). Most people run the default x theme

// Info required for FTP host
$ftpuser = "***************"; // Username for FTP account
$ftppass = "***************"; // Password for FTP account
$ftphost = "***************"; // Full hostname or IP address for FTP host
$ftpmode = "ftp"; // FTP mode ("ftp" for active, "passiveftp" for passive)
$ftpport = "21";
$ftpdir = "/";

save it and upload to your home directory and login to your Cpanel and add this line to the cron job

/usr/local/bin/php /home/xxx-your directory-xxx/fullbackup.php

have fun

Joomfish and JA Mega Menu

I’m using (Extended parameters for JA Megamenu.) it works fine but when i am translate this menu item to another language can not find Extended parameters for JA Megamenu in Joom!Fish translation page. This translation page only show default parameters.

Open original code at administrator/components/com_joomfish/contentelements/menu.xml:
paste this code:

<field type="textarea" name="params" rows="15" columns="90" translate="1">params</field>

in place of

<field type="params" name="params" translate="1">params</field>

How to Solve a Problem with jos_session ?

Sometimes, you might experience your Joomla session tables going out of wack. This may result in your website displaying nothing but an error message.

jtablesession::Store Failed
DB function failed with error number 1016

Can't open file: 'jos_session.MYI' (errno: 145) SQL=INSERT INTO `jos_session` ( `session_id`,`time`,`username`,`gid`,`guest`,`client_id` ) VALUES ( '4bc998b10d92bf4107976d0edacdbb26','1246725653','','0','1','0' )

Relax, I’ll show you how to fix it!

->> If you have access to phpmyadmin, go to the Joomla database, select the table jos_session (tick the checkbox) and choose “Repair table” from the drop-down you find at the bottom of the list of tables. This has worked for me.

Pin It on Pinterest