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
5
votes
9 answers

How can I keep one specific article always on top on the front page?

On my Joomla website, I'd like to have a "about our company" article always be the first article on the front page. I want the other articles to shift down in position as new articles are added, but to keep the "about our company" one constantly on…
dmr
  • 21,811
  • 37
  • 100
  • 138
4
votes
3 answers

How to make internal article links in Joomla?

I'm trying to create a link in one Joomla article that points to another article, but can't see how this should be done. Could you please tell me how to do it?
Yarin
  • 173,523
  • 149
  • 402
  • 512
4
votes
1 answer

How to create custom page template in folder

If I want a page that pulls product information (like an iPhone) from the server, how do I create a new page template for it and link it back to the main page? I don't need to create a new template directory. I just want to create a page that lists…
Leon
  • 5,701
  • 3
  • 38
  • 38
3
votes
2 answers

Article as homepage without menu connected

Is that possible to make a single article as homepage, but not connected with any menu item? I'm using Joomla 1.7
MAN
  • 50
  • 1
  • 6
3
votes
3 answers

How to insert custom field in Joomla 1.6 article editor?

I want to insert a custom field in the Article edit page in the administration area of Joomla 1.6. Please see screenshot. http://screencast.com/t/vtLEBdUK I have tried to edit…
Anna
  • 31
  • 1
  • 3
3
votes
3 answers

Uncaught ReferenceError: tinyMCE is not defined , joomla 2.5.7 error on Chrome

I am working with Joomla 2.5.7, when trying to add or modify an article I get this error: Uncaught SyntaxError: Unexpected end of input But this only happens with Chrome, if I try to create an article using FireFox then it goes ok. Does any one of…
Israelm
  • 1,607
  • 3
  • 23
  • 28
2
votes
4 answers

Why is my PHP in articles being interpreted literally as a string instead of as PHP?

I am trying to find a way to write pure PHP in my articles with Joomla (currently using 1.5). The closest I got so far was to use a plugin called Sourcerer (see link) The issue is that the PHP code is actually being rendered as HTML. When I write…
Max
  • 12,794
  • 30
  • 90
  • 142
2
votes
2 answers

How to retain style tags saved in the contents in JCE?

On my Joomla 3.3.0 site, I'm trying to write custom css rules in my article editor (JCE 2.3.4.4). I have disabled the 'html filtering' and now this is possible. So now I get the desired output when I write something…
MaVRoSCy
  • 17,747
  • 15
  • 82
  • 125
2
votes
2 answers

Article not following site's layout (Joomla)

please go to www.espacioasir.com first and notice how the second article has been 'crushed' to the left - half of the article's normal width. Anyway, I don't think I can explain much more, my question is very clear: Why is this happening? I do want…
cr0z3r
  • 711
  • 4
  • 9
  • 24
2
votes
1 answer

Joomla not showing articles

For reference, This is what the site looks like, here is the index.php and here is the current template.css being used. My problems are as follow: Using the first menu, [Quem Somos] as example, I've created a category and under it I've put some…
sergio
  • 1,026
  • 2
  • 19
  • 43
1
vote
2 answers

How to edit Joomla article layout/style?

I'm trying to edit the default articles' HTML. Right now the titles are in h2s and I want to change them to h1s and get rid of the print options etc. There has to be some where you can edit the HTML of default article templates. Anybody know where?
Howdy_McGee
  • 10,422
  • 29
  • 111
  • 186
1
vote
2 answers

How to insert text to editor programmatically in Joomla?

I am using Joomla 1.7 and I am made a custom button (editor-xtd plugin) that I want to insert some string into the current editor content. Like in the Readmore button. I have searched through the Readmore code and found : $js = " function…
eric.itzhak
  • 15,752
  • 26
  • 89
  • 142
1
vote
1 answer

Display ALL Blog Intros in Joomla Category Blog (Hide 'More Articles')

I would like to feature ALL blog intros in Joomla. Currently I can post only 5 articles before it adds a "more articles" link afterward. I want to be able to display ALL blog article intros, without this "more articles" being appended to the end.…
Peter
  • 311
  • 1
  • 7
  • 19
1
vote
1 answer

Joomla 1.6 Auto Hyperlink Image to full Article

I'm trying to have the first image on an article automatically link to the full article (similar to how wordpress 3.x works). This should work on Frontpage as well as Blog layout. Basically I'm looking for a plugin like…
1
vote
2 answers

How to prevent the TinyMCE (JCE) plugin from cleaning up my code?

I am using JCE, and I've set everything about code cleanup (in configuration) to OFF. The editor is fixing it anyway. Here's an example:

TOC

  1. Wstęp
  2. Cleankod
    • 2,220
    • 5
    • 32
    • 52
1
2 3 4