Joomla-JoomFish: How to fix Joom!Fish saving language configuration error, unknown column ‘l.ordering’ in ‘order clause’

When I go for language activation to the JoomFish language manager, I get this error when trying to activate default language:

An error occured while saving your languages

Also in the language configuration see the following error:

Unknown column 'l.ordering' in 'order clause' SQL=SELECT l.* FROM jos_languages AS l ORDER BY l.ordering
Warning: Invalid argument supplied for foreach() in www/administrator/components/com_joomfish/models/languages.php on line 188

(more…)

Continue ReadingJoomla-JoomFish: How to fix Joom!Fish saving language configuration error, unknown column ‘l.ordering’ in ‘order clause’

Joomla2.5: K2 problem with Itemid in URL – itemlist view

I found a way to solve both problems, but I don’t know if this is the right way to solve it.

I added an IF sentence in the second pass of the function “_findItem” to find the right item when there is the value ‘item’ in $needles, like this:
components/com_k2/helpers/route.php
Add this code (more…)

Continue ReadingJoomla2.5: K2 problem with Itemid in URL – itemlist view

Joomla 1.5: Using the Page Class Suffix in Template Code

Joomla 1.5: Using the Page Class Suffix in Template Code
Sometimes web designers need to access a page class suffix from directly within a template. A common reason to do this is to assign unique styles to individual pages linked from a menu (e.g. to change the dominant color on that page). By default Joomla applies the page class suffixes only to limited areas of a page, which often doesn’t offer enough flexibility. However, by making some simple changes to your template you can take advantage of the cascading nature of stylesheets to apply unique styles to any element on a page.

Load Suffix

First, we need to find out what the page class suffix is for the page we are visiting. To do this, you will need add some code to your template:
[custom_list type=”check”]

  • Open your template’s index.php file (located in /templates/*template-name*/)
  • Find the tag in the index.php, near the top area of the template
  • Above this, insert one of the following code blocks (Either of the following options will work fine in most cases. However they work slightly differently, so in certain cases your needs may dictate a specific choice.)

[/custom_list]
(more…)

Continue ReadingJoomla 1.5: Using the Page Class Suffix in Template Code

Joomla 1.5: Hack Joomla ACL

Rumor has it that Joomla! 1.6 will have customizable access levels. Until then, however, the only way to customize access to your site is via third party extensions or hacking Joomla! yourself. The popular third party extensions (which shall here remain nameless) tend to be commercial, charging a fee or subscription for the latest and greatest version, and requiring registration even for the unsupported or semi-supported old versions. If you haven’t used them before, you can’t be sure of how well they’ll integrate with the rest of Joomla! This is obviously not an ideal solution, especially for the webmaster on a budget. Following are instructions for hacking Joomla! yourself to add an extra user level called “Subscriber” who can be given access, for example, to premium paid content. These steps were carried out successfully on a Joomla! 1.5.10 installation, but there are no guarantees, as the author is not a Joomla! developer; try at your own risk!
(more…)

Continue ReadingJoomla 1.5: Hack Joomla ACL