Online Joomla Training

How to change your default images directory in Joomla! 1.5

How-Tos Miscellaneous September 26, 2008 | by Cory

One of the most annoying things about Joomla! (in my opinion) is that the default images directory (or folder, whatever you want to call it) is yoursite.com/images/stories, and the default directory for the media manager is yoursite.com/images. That makes no sense to me. Read on to find out why this makes no sense, and how you can easily fix it.

Add a comment

Read more: How to change your default images directory in Joomla! 1.5

   

How to create a sitemap

How-Tos Menu Management September 22, 2008 | by Cory

I recently read an article over at blog.joomlatools.eu that shared an ingenious method for creating a site map in Joomla! using your existing menus, menu modules, and the built-in Joomla! plugin that enables you to load a module position within a content item.

Super Secret Sitemap Trick - by Mathias Verraes

Thanks for the tip, Mathias!

Update: (12/26/2008) The JoomlaTools team have changed their TLD from .org to .eu. The links in this article have been changed to reflect this new TLD. Thanks, Alpine, for the heads up.

Add a comment
   

How to embed a YouTube video into an article in Joomla! 1.5

How-Tos Mambots/Plugins July 23, 2008 | by Cory

There are actually several ways to go about embedding a YouTube video into an article in Joomla! 1.5, but I have built a plugin that makes it dead simple. You can download the plugin here.

Here's how it works:

  • Step 1: Download the plugin.
  • Step 2: Install it.
  • Step 3: Enable (publish) it.
  • Step 4: Go to YouTube.com and find a video that you want to embed.
  • Step 5: Copy the URL for that video from your browser bar.
  • Step 6: Paste the URL into your content item.
  • Repeat steps 4-6 for as many videos as you wish to embed.

That's all there is to it. Really. It's that simple. The plugin handles all the embedding code for you. I am releasing the plugin under the GNU/GPL, so feel free to use it on as many sites as you wish.

Special thanks to Simon Tiplady for helping me with the regular expressions in this plugin.

Example

Add a comment
   

How to use the GeSHi plugin/mambot

How-Tos Mambots/Plugins July 22, 2008 | by Cory

Joomla! comes with a plugin/mambot called GeSHi that comes in quite handy if you have a site like HowToJoomla.net in which you share code snippets with your readers. I recently tried to use GeSHi on a Joomla! 1.5 site, and I found that it works differently in Joomla! 1.5 than it does in Joomla! 1.0. Read on to see how to use it in both.

Add a comment

Read more: How to use the GeSHi plugin/mambot

   

How to view just your component in Joomla! 1.5

How-Tos Miscellaneous July 22, 2008 | by Cory

Here is a neat little trick I picked up last Friday at the Joomla! 1.5 bootcamp in Austin led by Johan Janssens.

In Joomla! 1.5, if you simply want to display your component without any modules and without your template styles, all you have to do is add "?tmpl=component" or "&tmpl=component" to the end of the URL, depending on whether or not there are already other parameters on the end of the URL.

For example, if you just want to view the component on the home page of the new community.joomla.org site, you simply add "?tmpl=component" to the URL like this: http://community.joomla.org/?tmpl=component.

This trick is really useful for template designers because you can isolate the HTML used in a specific component, so you can determine how best to set up your CSS for styling that component.

Enjoy!

Add a comment
   

How to Learn from a Joomla! lead developer

How-Tos Miscellaneous June 20, 2008 | by Cory

OK, I admit it. This isn't exactly a "How-To" article, but I wanted to draw everyone's attention to an upcoming event in Austin, TX that I will be attending. It is called "Joomla! 1.5 Bootcamp," and it will be held on Friday, July 18 from 8am to 4pm CST (GMT -6) at the Doubletree Hotel Austin. I want to strongly encourage anyone who can make it to come to this event. The keynote speaker/teacher for this event will be none other than Johan Janssens, one of the lead developers of Joomla! The event is being put on by Chris Justice (a.k.a. MegaJustice) from Sparksight.com.

Click "Read More" to see more information about the Bootcamp.

Add a comment

Read more: How to Learn from a Joomla! lead developer

   

How to Display Your Page Title in Your Template - Joomla! 1.5

How-Tos Templates June 05, 2008 | by Cory

In October 2006, I wrote a how-to for displaying your page title within your Joomla! 1.0 template. Since the release of Joomla! 1.5, I have gotten many requests for an article explaining how to do this in Joomla! 1.5. Here is how you do it...

Add a comment

Read more: How to Display Your Page Title in Your Template - Joomla! 1.5

   

How to determine which page you are on from within a Joomla! 1.5 template

How-Tos Templates April 17, 2008 | by Cory

One thing I often need to do while developing a template is change certain parts of the template depending on which page I am on. For example, let's say I am developing a template for a site that runs Virtuemart, and I want to have 3 columns on every non-Virtuemart page, and 2 columns on every Virteumart page. A solution that I often like to use is to make the column "collapsable" when the value of "option" is "com_virtuemart". When "option" is equal to "com_virtuemart", that simply means that the Virtuemart component is loaded.

Add a comment

Read more: How to determine which page you are on from within a Joomla! 1.5 template

   

Page 8 of 13

Online Joomla Training