Currently Browsing: hacks

How to add class “last” to last menu item (li) in Joomla 1.5 (mod_mainmenu)

Create new file default.php and place it in /[your_template]/html/mod_mainmenu/, add next content to it: (more…)

Replace standart Joomla MooTools with yours on front-end

To keep upwards compatibility for your Joomla Core the following example shows a solution, by clearing the Header Buffer from the scripts Joomla is adding by itself. This is a template based modification, which does work with extensions loading their own Scripts or Stylesheets into the Header Buffer. And by that also transparent and not affected by any version upgrade to your Joomla Core (more…)

How to set products per page limit in VirtueMart

Ofcourse you may change that setting in Joomla Configuration » List Length. But also it can be done in another custom way. (more…)

Conditional comments for Internet Explorer

Conditional comments only work in Explorer on Windows, and are thus excellently suited to give special instructions meant only for Explorer on Windows. They are supported from Explorer 5 onwards, and it is even possible to distinguish between 5.0, 5.5 and 6.0. (more…)

IE Error: cannot open the internet site, operation aborted

It’s error arises then JavaScript trying to add elements in existing DOM-structure. (more…)