Joomla multi language problem when trying to change menu item from ‘All’ to a specific language

When setting up a Joomla site for multilanguage you need to set a default menu item for each language. However, sometimes it is not possible to change a default menu item currently set to language "All". The error message displayed is: 

"Warning Save failed with the following error: The Language parameter for this menu item must be set to 'All'. At least one Default menu item must have Language set to All, even if the site is multilingual."

A solution is to do the following:

  1. Select the menu item by checking the checkbox for it to the left in the menu items list.
  2. Then scroll down to the batch change item (found under the list of menu items).  
  3. In the drop down list "Select language" you select the language you wish to set the menu item to.
  4. In the drop down list "Select Menu or parent for Move/Copy", select the menu where item currently is located in.
  5. Select the Move radio button
  6. Click Proceed.

Problem solved!

 

[Solved] Joomla JCE editor displays as plg_editor_jce in global settings

Selection lists in the toolbar might also display things like "advanced.h1" and so on.

The cause of the problem seems to be translation files for the JCE editor of an older version are read only which prevented them from being updated to the newer version. 

Solution: 

  1. Uninstall JCE editor. Go to the menu Extensions -> Extension manager -> Manage. Filter the extensions by entering "JCE" in the filer field. About three lines will be filtered out ("Editor – JCE", "JCE editor" and "Quick Icon – JCE File Browser"). Select all three and click the Uninstall button. 
  2. Using FTP access, go to the language folder and into the folder of each language you have installed in the system, like sv-SE for Swedish for example. Delete the file sv-SE.com_jce.xml in each folder (sv-SE is corresponding to the language folder you are working in so unless you are using Swedish, your filename will not begin with sv-SE but something else).
  3. Now go to the administrator/language folder and into the folder of each language you have installed. Delete all files beginning with sv-SE.com_jce* (and again, unless you are dealing with Swedish, your filename will not begin with sv-SE but something else).
  4. Go to Extensions and reinstall JCE.

In the global settings, you will now find "Editor – JCE" instead of "plg_editor_jce".

 

Create custom blog category layout in Joomla 1.5

If you need to customize the blog category layout in Joomla 1.5 you do like this: 

  1. Create the following subfolders to your template directory: 
    mkdir -p templates/yourtemplate/html/com_content/category
  2. Copy blog.php and blog_item.php from Joomla core:
    cp -p components/com_content/view/category/tmpl/blog.php templates/yourtemplate/html/com_content/category
    cp -p components/com_content/view/category/tmpl/blog.php templates/yourtemplate/html/com_content/category
  3. Customize blog.php and blog_item.php in the components/com_content/view/category/tmpl/blog.php templates/yourtemplate/html/com_content/category folder to your needs. These modified files will override the ones in the Joomla core if they exists.

 

Joomla 2.5 – suddenly internal links contain Smart%20Search [solution]

In a Joomla 2.5 installation, SEF URLs enabled and URL rewrite using .htaccess enabled I suddenly got internal menu links with URL:s containing Smart%20Search, like:

http://www.example.com/some-menu-item/Smart%20Search/some-article

The link itself does not work, ending up on an error page. I have no explanation why this occurs.

The solution is to go to Menu -> Menus, then select all menus and then click the Rebuild button

 

Internal Server Error 500 when trying to install JCE 2.2.6 in Joomla 2.5

When trying to install the JCE content editor for Joomla version 2.2.6 in Joomla 2.5 it failed with HTTP Error 500 Internal Server Error. Directory permissions was not a problem and there was no problem installing other extensions. 

Solution: 

  1. Download the JCE 2.2.6 zip archive to your computer.
  2. Unzip it to a local folder, called for example "jce"
  3. Upload the folder to your Joomla! tmp directory
  4. In the Joomla! backend, go to Extensions -> Manage extensions and go to the box for installation from a folder on the server.
  5. Enter the path where the uploaded folder containing JCE is uploaded, i.e. probably something like /var/www/mysitename/web/tmp/jce and click install.

 

 

Create a start page without a corresponding menu item in Joomla!

In most cases when creating a site in Joomla!, the first choise on the menu is something like "Start" or "Home" that brings the user back to the landing page of the site. Normally you will also link the website logo to the start page.

But sometimes when creating a site in Joomla, it is not desirable to have a specific menu item with the sole purpose to bring up the start page. Just linking the logo to the start page may be sufficient and you don’t want to clutter up your menu with an additional item (or you are running out of menu space).

The solution to not having a menu item corresponding to the start page is to simply create a hidden menu, for example "hiddenmenu". Do not publish a module for it. Place the menu item that brings up the start page in this hidden menu. Done!

By the way, linking your logo to the start page can be done in the template html-file by something like this: 

<a href="<?php echo $this->baseurl; ?>"><div id="logo"></div></a>

 

 

Joomla! templates looking strange in MSIE8

Some Joomla! templates looks nice in all browsers except Microsoft Internet Explorer 8 (IE 8). One easy solution is to add the following line to the <head> section of the index.php for the template in question: <head>

<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7"/>

Be careful to check that your site works as expected after applying this solution.

VirtueMart installation problem (Joomla!)

If the installation of VirtueMart version 1.1.3 for Joomla! 1.5.10 fails, a manual installation is needed. The error message says that some critical components of VirtueMart are missing. In addition to the following instructions, read the VirtueMart installation manual.

  1. Download the VirtueMart Manual Installation package for Joomla! 1.5 from VirtueMart website.
  2. Unzip the contents of the archive to a folder.
  3. Upload the subfolders and contents using ftp to the web server running Joomla! according to instructions in the VirtueMart installation manual.
  4. Use a ftp program or login using a shell to change permissions of the catalog administrator/components/com_virtuemart to 777.
  5. Change the permssions of the file administrator/components/com_virtuemart/virtuemart.cfg-dist.php to 666.
  6. Go to http://www.yoursite.tld/administrator/index2.php?option=com_virtuemart and perform database installation according to instructions in the VirtueMart installation manual.
  7. Follow the VirtueMart installation manual for the rest of the installation process.