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”
There is a lovely extension out there for adding attachments to an article. It lets you upload/download files from an article. You install the component and a plugin, and the plugin displays the list of attachments at the base of the article content. You can find that extension here.
There are quite a few tutorials on how to write a Joomla! extension of the HelloWorld variety. I thought it would be amusing to write one with a practical application, for a change. I want the list of downloadable attachments to appear in a module location rather than in the article content.
If you are logged in to this site, you can download the module we will be writing in this article.
Continue reading “Writing a Joomla! Module”
Displaying the Current Article’s Intro Text in a Module
Perhaps you would like to have a module which displays the current article’s introductory text somewhere on the page, like you see at the top of this article’s page.
Continue reading “Joomla! Module Tutorial – Article Intro”
You want a form that updates one selector based on the selection made in another selector. For example, in your form, the user might click on a link to generate a select of all the site users so he can choose one user to interact with. You don’t want the list of users on the form, initially, for whatever reason.
The obvious solution comes to mind – AJAX. How do you accomplish that in Joomla?
First, you’ll need a component to listen for the AJAX requests and supply the updated HTML information to the form. While you’re at it, you probably want to make the form part of the component, just to be elegant.
Joomla! 1.5+ is built on a Model-View Controller concept, which basically means we want to keep our data (the model) separated from the display of it (the view). The MVC paradigm is a way of breaking an application, or even just a piece of an application’s interface, into three parts: the model, the view, and the controller.
Continue reading “AJAX in Joomla!”
I’ve installed the BreezingForms modules from crosstec. My overall impression is that the interface is a bit clunky, but it seems to provide an easy way to integrate a custom form on your Joomla! site by placing a form as a menu item, as a content item, or in a module position.
Now, when I try to open one of the sample forms, I’m getting the following message:
Fatal error: Call to undefined method JSite::getSiteURL() in /…./…../html/components/com_facileforms/facileforms.class.php on line 133
Fortunately the crosstec forums had a solution to that problem.
It took me a while to create my first form. Well, creating the form was simple, but adding fields was not immediately intuitive.
Continue reading “BreezingForms”
Yesterday all servers in the U.S. went out on strike in a bid to get more RAM and better CPUs. A spokes person said that the need for better RAM was due to some fool increasing the front-side bus speed. In future, buses will be told to slow down in residential motherboards.