Joomla · Joomla 1.6 · Joomla 1.7 · Joomla Articles · Joomla Components · Joomla Tutorials

Joomla 1.7 Help – How to Show Single Article in a Module Position

Joomla 1.7 Tips – Publish a single article in a module position.

Joomla standard installation does not allow you to publish a single article in a module position.  You can copy your article directly into the ‘Custom HTML’ module but I don’t recommend this option. It is much safer to keep all your articles in one location in the Article Manager.   So you will have to install a Joomla Plugin.  I’ve used this plugin before.  It’s free, Joomla 1.5/Joomla 1.6/Joomla 1.7 compatible and it’s really simple to use.   You search and download it from the Joomla Extensions directory and it’s called “Articles Anywhere”.

For example, I have the following scenario:

  • I have an article called “Joomla Templates
  • alias = “Joomla-templates”
  • I want to display in Module position-7

Below are steps on

Install “Articles Anywhere” in the Extensions Manager

  1. After you download the plugin to your computer, do NOT unzip it.
  2. Login to your Joomla 1.7 administrator backend
  3. Click on ‘Extensions’, ‘Extension Manager’
  4. Under the ‘Install’ tab, Upload Package File, Click on ‘Browse’ and select the plugin ZIP file from step 1
  5. Click on ‘Upload & Install’
  6. You will see a message that says:

Articles Anywhere (system plugin) has been installed / updated successfully

Check that the Plugin is Activated in the Plugin Manager

  1. Click on ‘Extensions’, ‘Plug-in Manager
  2. In the filter, search for “articles anywhere”
  3. Check in the ‘Enabled’ column that there are green checkmarks
Joomla 1.7 Plugin Manager Articles Anywhere
Joomla 1.7 Plugin Manager Articles Anywhere

See how to use the “Articles Anywhere” plugin in the Plugin Manager

  1. Click and edit the plugin name = System – Articles Anywhere
  2. Under Basic Options, you can see the syntax on how to use this plugin.
  3. You can just enter this text anywhere and the article will show up.
  4. Click on ‘Close’

Easily place articles anywhere in your site.

You can place articles using the syntax:
Using the title of the article: {article Some article}…{/article}
Using the alias of the article: {article some-article}…{/article}
Using the id of the module: {article 123}…{/article}

Within those tags you can place different tags to place different article data/details:
{text} (the entire text: introtext+fulltext)
{readmore} (a read more link)
{url} (the url to the article)
{introtext}
{fulltext}
{title}

Find the Article Alias in Article Manager

  1.  Click on ‘Content’, ‘Article Manager’
  2. Find and edit the article (in my example) Joomla Templates
  3. Copy the alias to your notepad, in my example it’s ‘joomla-templates’
  4. Click on ‘Close’
Joomla 1.7 Article Alias
Joomla 1.7 Article Alias

Use Custom HTML to insert short code in the Module Manager

  1. Click on ‘Extensions’, ‘Module Manager’
  2. Click on ‘New’, Module Type = Custom HTML
  3. In the module manager – Custom HTML, set the following values:
  • Title = Publish single article
  • Show Title = Hide
  • Position = position-7
  • Status = Published
  • Access = Public
  • Custom output = {article joomla-templates}{title}{introtext}{readmore}{/article}
    • This is following the syntax directly from the plugin

Using the alias of the article: {article some-article}…{/article}

Joomla 1.7 Publish single article in Module
Joomla 1.7 Publish single article in Module

After all these steps, go to your Joomla frontend and refresh your website.  You should see the single article published on your site now.

Hope that helps,

Elaine

Leave a Reply

Your email address will not be published. Required fields are marked *

Captcha Captcha Reload