Blog section

Print PDF

How to remove the wrong browser warning

Some of the more popular Joomla! templates carry a piece of code that displays a warning if your website visitor is still using Internet Explorer version 6. You might think that's a good idea especially as ie6 causes a whole host of problems for website designers. The problem is that this code can be a little flaky. I have seen the error message show up when using IE7 and IE8 and Firefox browsers.

To remove the old browser warning

Go to: YourTemplateName/layouts/blocks/ie6/ie6warning.php and look for the following code:

define ('SHOW_IE6_WARNING', 'close');

	/*

	Setting for this message. Clear cookie if you change this setting.

	'none': Not show warning

	'once': Show one time only

	'close': Show until user check box "Not show again" and close the message

	'always': Always show this message

	*/

Simply change the word: 'close' in the first line to 'none', save the file and you are done.

Add a comment
Print PDF

How to add a new module position in Joomla

Many new users to Joomla find it difficult to understand how to add a new module position to their Joomla template. It isn't as difficult as it first appears. Before explaining how to add a new module position, it might be worth checking your existing joomla template modules to see if any existing ones are suitable for your needs.

If you want to know your existing module positions simply type the following at the end of your url:

?tp=1

You will now see all the available module positions for your existing Joomla template. Obviously if you change your template then your module positions will likely be different.

Adding a New Joomla Module Position

Open up your index.php file found in /templates/YourTemplateName/. You can do this either by downloading with your favourite ftp program or click on Extensions>Template Manager, click on the radio button that applies to your template and click edit. Now click on the Edit HTML button which will open up your index.php in an editor window.

Decide where you want your new module to sit within your code and type the following:

<jdoc:include type="modules" name="newmodule" />

Where 'newmodule' is the name you want for your shiny new module. Place the above code within a <div> so that you can apply different styles to it.

Now open /templates/YourTemplateName/templateDetails.xml and go to the positions section and add the name of your new module to the bottom of the code, in this example I have added 'newmodule' to the code.

<positions>
   <position>breadcrumb</position>
   <position>left</position>
   <position>right</position>
   <position>top</position>
   <position>user1</position>
   <position>user2</position>
   <position>user3</position>
   <position>user4</position>
   <position>footer</position>
   <position>debug</position>
   <position>syndicate</position>
   <position>newmodule</position>
</positions>

When you now look in the Extensions>Module Manager and open an existing module or create a new one, you will now be able to assign it to your new module position.


Add a comment

K2 Content Component for Joomla

Print PDF

Is this one of the best Joomla components?

I have been looking at the K2 content component for Joomla and so far I have to say I am very impressed. I first started using Joomla about five or six years ago and have used it to build many sites, including this one. There has always been a couple of 'niggles' with Joomla that have let it down, i.e. the lack of UAC (user access control) and nested categories.

UAC for those that don't know is where you restrict user access to certain areas, pages or sections of your website. Nested categories, or rather the lack of, has been moaned about on Joomla forums for years. At the moment, with the latest version 1.5.18 you can only create sections and then unlimited categories within that section.

With K2 you can now have user groups and UAC and nested categories. It also adds social media functions without using other third party plugins or modules. I have to say that so far I am very impressed and although it is early days - as far as my testing that is. Once I have fully tested this component I will report my findings here. Go to Joomlaworks.gr for more information

Add a comment

Page 1 of 2

  • «
  •  Start 
  •  Prev 
  •  1 
  •  2 
  •  Next 
  •  End 
  • »

Follow Me on Twitter