Template For Joomla

Home Tutorials Components

Customize Component Text Display With Language File

When creating your Joomla website(s) you have most definitely utilized the vast amount of components available to add on to your site. Did you ever want to change the text that displays by default, even when the option to change this text isn't within the component options list? Most often, you can easily change the titles, the labels and any other text that displays by default through a component by simply altering one simple file: The Language file.

Read more...
 

How to display a component's output and nothing else

I know it sounds weird, but I came across a situation in which I needed to see a component's output and nothing else. That allowed me to better debug the HTML that was coming from the component.

Special thanks to Dean Marshall for showing me this nifty little trick.

It's pretty simple, just follow these steps:

  • Create a menu item that links to your component.
  • Once you have created your menu item, click on that menu item in your Menu Manager like you were going to edit the menu item.
  • Next to "URL", you should see something like "index.php?option=com_yourcomponent&...". Copy that URL.
  • In the browser address bar, type the domain name and path to your website along with the URL information you copied in the previous step.
  • Change "index.php" to "index2.php", and voila! You are now looking at just your component's output.
 

How to find the right tool for the job

One of the most common questions I see in the forums is, "Is there a component/module/mambot/plugin that does (insert your function of choice here)?" Whenever I see a question like that, I head over to the Joomla! Extensions Directory (JED), perform a quick search, and find a list of components that either meet the person's need, or come really close to what the person wants. At the time I am writing this, the JED lists 947 Joomla! extensions.

My point is, if you ever find yourself needing a specific function, head over to the JED and do a quick search. Chances are, if you can't find it there, you can't find it anywhere.

 

Quick Tip: Use JoomlaXplorer to modify your template.

I often find that the template manager is not very useful in terms of making modifications to a template. When you click "Save" in the template manager after editing the template HTML (index.php) or CSS (template_css.css) file, the manager takes you back to the list of installed templates. If you need to make another change, you have to re-open the Edit CSS or Edit HTML screen, which adds an extra step.

Read more...