Questions tagged [joomla-article]

This tag is for questions related to Joomla articles and the com_content component. If the question qualifies for this tag, then the question should probably be posted at Joomla Stack Exchange instead.

Articles

Introduction

An Article is a piece of content consisting of text (HTML), possibly with links to other resources (for example, images). Articles are the basic units of information in the content system and the bottom level in the content hierarchy. Since Joomla! 2.5 Joomla 2.5, each Article is in exactly one Category. A Category can be in another Category making it a sub Category. It is also possible to have Uncategorised Articles. These articles exist without being associated with any Category. *

* From Joomla! Documentation

In Joomla, articles are organized in Categories, and each article can only belong to a single category. As of Joomla 1.6 and newer, nested categories are allowed (categories within categories).

Before Joomla! 2.5 and earlier versions, an Article was the third level in the hierarchy Sections → Categories → Articles.*

* From Joomla! Documentation

Display

Articles can be displayed in the Component area of the Joomla template using the component com_content.

Output from any component is loaded in a Joomla template at the location of the following tag:

<jdoc:include type="component" />

Articles can be displayed in several ways, including Single Article, Blog layout, List layout and others. Available options can be found by clicking Menu Item Type in the Menu Item Editor.

Overrides

Article display can be overridden by copying the file JOOMLAROOT/components/com_content/views/VIEW-TO-OVERRIDE/tmpl/FILE-TO-OVERRIDE.php to JOOMLAROOT/templates/YOUR-TEMPLATE/html/com_content/VIEW-TO-OVERRIDE/FILE-TO-OVERRIDE.php. Then edit this file as needed. Never change Joomla Core files, as these changed might be reverted when updating Joomla.

Other resources

60 questions
1
vote
1 answer

Joomla insert article into component

I would like to insert an article inside my component, does someone have an example on how to do that? Article would be selected from backend.
miojamo
  • 723
  • 2
  • 14
  • 31
1
vote
1 answer

How do I pass a querystring parameter to a link in an article?

We have some banner ads linking to an article in Joomla and they are passing a reference code in the URL, like this: index.php?option=com_content&view=article&id=378&Itemid=249&ReferenceCode=WB6074 Inside the article, we're linking to a signup form…
Pete Nelson
  • 1,328
  • 1
  • 13
  • 23
1
vote
0 answers

Joomla "Add new article" javascript error "Joomla not defined"

I recently tried to update my Joomla version from 2.5.8 to 2.5.11. I encountered some problems so I decided to restore from a backup and I got the site back to 2.5.8. Now my site works (frontend and backend) except for the editor (JCE). The page…
1
vote
1 answer

How can I change the position of Joomla's articles?

How can I change the position I want an article to be? The default is the center, just like a blog. I tried to use the modules: -Articles as Module -Articles Anywhere but i didn't have any success.
0
votes
3 answers

Joomla Blog Universal Read More

So I have this Joomla website going and I'm creating a blog page. All featured articles go into Menu "Blog" no problem. The problem comes when I need to add a "Read More". I know I can do this with the "Read More" button that each article has but I…
Howdy_McGee
  • 10,422
  • 29
  • 111
  • 186
0
votes
3 answers

Get preview link to article before publishing

In Joomla 1.5, I created an article. Before publishing it, I want to send a preview URL to my colleagues (they are not registered to Joomla). I'm looking for something like adding task=preview to the URL and it would show the article. It would be…
Tomas
  • 57,621
  • 49
  • 238
  • 373
0
votes
1 answer

Show Joomla module only in specific articles?

Is it possible to show modules in Joomla only in a specific article (not per menu item), but in standard module position? For example somehow get the current article id in a template and insert the modules with according id suffix in the name?
simekadam
  • 7,334
  • 11
  • 56
  • 79
0
votes
1 answer

Hide Article in Joomla Section but show in Category?

I've created a new set of articles under a new category, within an existing section. When you visit the section "Services & Pricing" you get a complete list of all articles on the site within this section. There however is one article that I do not…
0
votes
3 answers

How do I make a component in Joomla display as an article?

More specifically I am trying to make the mailto component show within my template; the same way as an article does. By default the mailto component opens in a new window. So far I changed the code so it opens on the same window, but that way the…
Marcel
  • 6,143
  • 15
  • 46
  • 52
0
votes
1 answer

Update an article

I have multiple websites and have same Company Address. My problem is. Is it possible to update only the company address of one website and it's automatically update all the company address of multiple websites?
Sam Casil
  • 938
  • 1
  • 11
  • 16
0
votes
2 answers

How to Display Dynamic Content below every article?

I am a new developer to Joomla. I am developing a website in which users will be able to write review for the articles. So, here I need to display a review form below every article. How can I achieve this? I have seen some extensions like custom…
Vivek
  • 4,526
  • 17
  • 56
  • 69
0
votes
1 answer

joomla - registered articles within public category can be accessed by guests

I have a public menu item, which is Category List, so it displays list of articles from a category. The category is public but some articles are just for registered users. When a registered user visits the article, he ends up on an address similiar…
Elwhis
  • 1,241
  • 2
  • 23
  • 45
0
votes
3 answers

Unable to put Joomla articles open at a right URL

Problem: My articles have the right urls: for example, newsite.com/article. However, by clicking an article I get an empty article. I can see my sidebar. I moved my Joomla installation to a different folder in my server. I want to change my domain…
Léo Léopold Hertz 준영
  • 134,464
  • 179
  • 445
  • 697
0
votes
1 answer

Joomla 1.6 Upload file field in article manager

I wanted to add pdf file in my articles. I have added a custom form field with type="file" in the article manager by hacking the xml and artical.php file in administrator/component/com_content directory. But I am not able to save the uploaded files…
sameer jain
  • 147
  • 1
  • 1
  • 13
0
votes
1 answer

Cannot save article changes via JCE depending on user permissions

We are using Joomla 1.5.21 and JCE 1.5.7 and have some trouble with the front end saving of articles. Saving the article in the front end has no effect on the article stored in the database and therefore users on other devices cannot see the…
Andreas
  • 2,694
  • 2
  • 21
  • 33