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
0
votes
1 answer

Simple module to view article title and one image from within article,

I need to created simple module to view article title and one image from the article, The problem is I have no idea how to get one image from the article. This is my code:
Ibrahim
  • 11
  • 2
0
votes
1 answer

How can I load a module by name instead of id in JSE?

I wants to load a module by name like {loadmodule mod_custom, module_name} instead of id like {loadmoduleid 96}. Can you please suggest where I will get these settings in the JCE Editor so that JCE editor can load modules by name?
0
votes
1 answer

Joomla - Displaying an article inside my component

I have a component for Joomla which I need to add an admin editable field to in order to display custom html. This needs to be multi-lingual and my idea is to display and article in the component so that it is easily maintainable. How would I do…
Pieter
  • 2,188
  • 20
  • 27
0
votes
1 answer

Show category articles inside joomla article?

Is possible show all the titles with links of all the articles inside a Joomla article? Is there any module, plugin or component that can do this?
samuelmf
  • 3
  • 2
0
votes
2 answers

Custom template in joomla. Install Joomla to an existing site

I need some help with integrating Joomla to an existing site. The existing site is made of several .php files which shows static text. I have copied all css and js files to a new template in Joomla and the design seems to work pretty well. I want to…
shuwo
  • 879
  • 2
  • 8
  • 7
0
votes
2 answers

JCE removes textarea attributes from article text

I use a php script that inserts data into the jos_content table in order to create an article. In the article content is a textarea with the attribute required. But, when I open my article manager and…
0
votes
1 answer

Changing Joomla 2.5 behaviour for opening articles that shall be edited in a new window

I would like to have it so that users that are logged into the frontend of my Joomla site can edit their articles in a new window without any template applied as soon they press on the edit Button, so that only the editor (in this case JCE) is…
0
votes
1 answer

How to add custom text when JCE 2.3.1 is loaded?

I have a Joomla 2.5 site with K2 and I have installed JCE Editor 2.3. How can I add custom text by default so that when I open a new article in my editor, some text is preloaded? The custom text is my ads3ns3 script and some other divs. If I can get…
Irene T.
  • 1,393
  • 2
  • 20
  • 40
0
votes
1 answer

How to add JCE MediaBox popup to ajax content in Joomla articles

I am displaying articles in ajax tabs and trying to add the JCE MediaBox popup to content in the article loaded by the ajax request. Because the DOM is updated by ajax, and JCE MediaBox must be adding the event onload of the page, I am not able to…
vishal
  • 3,993
  • 14
  • 59
  • 102
0
votes
1 answer

Why aren't my Joomla 3 articles translating to my new language?

On the last version of Joomla 3, each link, module, and article could be associated with a language. I installed a new language from AdminCP (Joomla 3 has an integrated install language on administrator). Now when I create an article, I continue to…
0
votes
1 answer

Joomla article use template override

Hello! I've many joomla templates which use component overrides. For some articles, I use the default template, and for others I use other template with "?template=zzz". How can I use other override from template "zzz" than the default from "zzz"…
Geo
  • 112
  • 7
0
votes
2 answers

Joomla 2.5 shows add/edit form for article/category incompletely

When I click on add new article, Joomla shows the page incompletely. It doesn't even show the form itself completely. Even now that I have enabled the debug mode, it doesn't show anything. I think that something die()s the process of outputting the…
Mohammad Naji
  • 5,372
  • 10
  • 54
  • 79
0
votes
3 answers

When I create an new article in Joomla, how do I drop the "/joomla" from the URL?

When I create a new article at https://www.example.com the new article comes in the form https://www.example.com/joomla/1-category/1-article-number What can I do so that Joomla drops the "/joomla" and the category and article numbers?
0
votes
1 answer

How can I modify Joomla article styles?

I'm using Joomla 2.5.8 for my website. Now I want to style the articles of my Blog. Under the article div I want to add another div with an image to have a special effect. Is this possible? This is the HTML from Joomla:
0
votes
2 answers

Can I show different articles to different users in Joomla?

I want to create a structure in Joomla for users. A different article for different registered users. I do not have groups. For example If I have 3 users, and when they click on a menu (for example, "Info") they see a different article from each…
Vannian
  • 1,490
  • 5
  • 14
  • 26