Changing the Front Page Layout in Joomla!
The front page has two sections of articles: the leading and the intro articles. The leading articles disply the full width of the article area, and the intro articles can appear in the full width or in columns.
You can change the number of leading articles and trailing articles and the number of columns. (first blue arrow)
You can also change whether the columns fill across or down – choose across if you want them to be balanced. (second blue arrow) This setting is in the Parameters (Advanced)
Enforcing SSL (https) for a Joomla! page.
In Joomla! 1.5 you can enable SSL on any page that has a menu link (or displays under any menu link as in an article arrived at by clicking in a category or section list).
In the backend (/administrator) go to the menu manager and open up any link to a page you want to be on https://. On the right side, click to open System parameters. Select yes in SSL enabled.
This method may not work in every server environment. If you are using a shared certificate with another address than your domain address, it may not work.
The Number One Joomla! Newbie Question
How do I remove the “Welcome to Frontpage” text?
Go to Menus->Main Menu (or whatever menu your home page link is on if you have changed it).
Open the link to your home page. On the right side, click to open System Parameters.
This module allows you to construct a list of articles by section, category, or article ID (similar to Latest News). It relies on the GD libraries, so make sure you have that configured in your web server’s php if you want to use the image feature of this module.
You have the option to also display the list with a thumbnail of the first image in the article itself.
The module comes with 3 style displays defined already: joomla, style, style2.
Continue reading “Extensions: Module Featured Articles”
PostHeaderIcons (in Artisteer Templates) for Joomla!
If you have a template (more than likely generated by Artisteer) and you want to remove the PostDateIcon (or PostAuthorIcon) from displaying, here’s how to accomplish that task.
For whatever reason, the Artisteer templates apply the icons to the article date and author inside the html over-rides rather than through CSS (like they should).
You’ll need to edit /html/com_content/all_sub_dirs/default.php (or blog_item.php etc.)
Find the line like:
<?php ob_start(); ?><?php echo JHTML::_(‘image.site’, ‘PostDateIcon.png’, null, null, null, JText::_(“PostDateIcon”), array(‘width’ => ’17’, ‘height’ => ’18’)); ?> <?php echo JHTML::_(‘date’, $this->item->created, JText::_(‘DATE_FORMAT_LC2’)); ?>
You need to remove the
<?php echo JHTML::_(‘image.site’, ‘PostDateIcon.png’, null, null, null, JText::_(“PostDateIcon”), array(‘width’ => ’17’, ‘height’ => ’18’)); ?>
Then you may need to go into your /template/your_template/css/style.css and adjust the article header css some:
/* begin PostIcons */
.PostHeaderIcons, .PostHeaderIcons a, .PostHeaderIcons a:link, .PostHeaderIcons a:visited, .PostHeaderIcons a:hover
font-family: Arial, Helvetica, Sans-Serif;
Though you never want your users to leave your site, it is nice to provide them a method to do so, if they should desire.
Here’s a little component to allow a user to remove his account. After you install it, add a new menu link to it. Select the removeme link and make sure to set it to Registered if you don’t want to bother guests with seeing it. Don’t use the notuser type for a link. It’s not meant to be assigned a menu link.
If you’d rather have your remove me function in a module, get the module and install it after the component.
You can download both the component and the module here.
Enabling gzip compression on your Joomla! site
If your web hosting environment supports it, you can enable gzip compression on your Joomla! site to speed up page loads.
Go to Site->Global Configuration->Server
How to Modify Latest News
When you include a Latest news module on your site, it lists some number of article titles as list item links in a ul for you.
What if you also wanted to see a little bit of the article’s content with the link? Simple, make a copy of the mod_latestnews module and modify it just a little bit.
Continue reading “Joomla! Mod Latest News with Intro Text”
Adding an Accordion Effect to the Header of Your Template
I recently had occassion to want to place an accordion effect in the top of a template.
When you click a bar, it turns yellow and opens up its picture. When you hover over a bar, it also turns yellow.
Also, some of the images are linked to menu links so that if you change to one of the linked menu items, that particular picture pops open as opposed to always being the same picture actively displayed on page load.
Continue reading “Using MooTools in Joomla!”
You’ve got a great template with a left and right column, but you’ve noticed that when you have no modules in left and/or right, the article area (component) doesn’t stretch to fill the width of the page.
You want your modules to collapse when they are not used, so the page naturally fills more elegantly.
Continue reading “Joomla! Template Tutorial – Collapsible Columns”