The Stack Overflow podcast is back! Listen to an interview with our new CEO.

Questions tagged [com-content]

For questions regarding Joomla's built-in article manager component

Filter by
Sorted by
Tagged with
6
votes
3answers
11k views

How to get the intro image of a joomla article

I am trying to customize the the category list of my website. So I have a menu option that shows the list of all article is a certain category. In this list I would like to show the into image of the ...
2
votes
1answer
431 views

How to change date format in JHTML::calendar to d-m-Y?

In a form I have a date/time-field. It works correctly, but the format of the date isn't right -- I require Dutch date notation (d-m-Y). Instead of day-month-year it displays and saves it as year-...
2
votes
1answer
26 views

Define a default intro image on article submissions

I'm searching a way to define a default intro image in the Joomla article creator from the core (when a user create an article if he don't add an intro image there is one by default generated from a ...
0
votes
0answers
16 views

Category blog display all articles full text but not the image of the full article

Referring to How to create a category blog layout with all articles shown in full?, the advice helped a lot and works fine. Now I would like to get rid of the intro image so that I have full text on ...
11
votes
2answers
4k views

How to deal with Duplicated Content / URLs in Joomla?

I just found out a major SEO issue and while I have solved it for the time being; I am trying to figure out why it may have occurred in the first place and if there was mistake or is it something to ...
0
votes
2answers
73 views

How to validate the Article - Intro Image field in the backend?

When managing an Article in the administrator/backend, it is possible to insert a non-url into the "Intro Image" field (located in the "Images and Links" tab). Upon clicking "Select" a modal window ...
3
votes
1answer
106 views

Is there still no convenient way to hide an article's content on the category blog page?

I've been using K2 since Joomla 1.5. I noticed that in recent versions Joomla has done a lot of improvements to its content system, so I decide to switch back to use vanilla Joomla com_component for ...
2
votes
1answer
101 views

Category blog from a single user

I'm triing to find a way to have a single blog from various users, but that all users can have ther own menuitems with their articles Is there any way to do it only with com_content? to filter ...
1
vote
2answers
1k views

Filtering com_content in the backend by url in Joomla 3.3.1

I am trying to filter the article manager in the backend via the url like: index.php?option=com_content&filter_category_id=18 but it doesn't seem to work. Instead it gives me a warning: ...
0
votes
1answer
58 views

Undefined index in legacyrouter 3.8.2

I get lots of notices for components/com_content/helpers/legacyrouter.php, like: "/home/xxx/domains/xxxxxx/public_html/cc_j34/components/com_content/helpers/legacyrouter.php on line 95\nPHP message: ...
1
vote
1answer
52 views

Limit articles frontend creation by user group

I´m a bit puzzled where to start. This should happen: admins should be able to edit a Usergroup and define the amount of articles members of this group can create. Before a group member creates/...
2
votes
2answers
503 views

Menu item - Articles List - Filter by user

I'm very new to Joomla (version3). I have two registered users. When any registered user is logged in they can see a new menu which contains an item to show the Articles list. This works as expected....
0
votes
1answer
158 views

article view - com_content not triggering content plugins when article is split

I've created a template override for the article view where the intro and the full text are invoked separately. So, instead of <div itemprop="articleBody"> <?php echo $this->item-...
2
votes
0answers
81 views

Joomla 3.8.1 Neither Alternative Menu Item Nor Layout Reflects on Front End

Within mytemplate, I created an alternative menu and an alternative layout for the com_content articles view, and neither reflects on the front end. For com_content, in my template, I created the ...
4
votes
1answer
31 views

Getting the source code of an older version of an article?

I want to get the HTML source of an old version of an article from the version history without restoring it. I can only seem to get a rendered preview or a change list in HTML from the compare option. ...
3
votes
1answer
755 views

How can I increase the maximum length of article titles?

I need to create a few articles with very long titles, but it seems like Joomla has a maximum article title length of around 256. How can I increase this limit?
2
votes
1answer
2k views

How to show previous/next buttons in my articles?

I'm using helix3. my website is 1PSD.net. how to put a button "next" in bottom my pages?like this picture? I mean, not button "READ MORE". I want multiple pages similar the left post "Beginners" and ...
1
vote
1answer
71 views

How can I remove Structure Data from my content

i like to remove the structure data from my content. How can I do that? for example: itemprop="headline" itemprop="articleBody"
0
votes
1answer
21 views

Custom redirect points to correct page but prints 404 in <title>

I'm new to joomla and this isn't my field. I'm developing a module which should be shown on a page. The URL which prints the content is info-compagnie-aeree.html?iata=af and I want it to be compagnie-...
1
vote
1answer
614 views

Getting latest article from category including subcategories

I am attempting to get the latest article in a category that has a number of subcategories through the Articles ContentModel. If I use $model->setState('filter.category_id', $this->category->...
0
votes
1answer
72 views

I want to create a module that shows the content of an article

I want to create a custom module that shows the content of an article, I need to know two things: 1) What form field should I use in order to select the article that I want to use from the backend?. ...
2
votes
1answer
42 views

Ask for confirmation before article publish

How we can add confirm dialog before publishing or unpublish article in Joomla ? I want to add confirmation box before publish or unpublish, I want same for custom component also, how i can achive ...
2
votes
2answers
1k views

Copy partial site content from old site to new site

I am trying to copy content from an old joomla instance to a new joomla instance. We archived the old site and created a completely new site with the same version of joomla both sites are at 3.6.4. ...
3
votes
2answers
1k views

How do I sort articles by article order in Joomla 3?

I've got a category with two sub-categories, the articles appear to be grouped in the back end by sub-category and it doesn't allow me to set the article order to mix them. Is this normal? It's ...
2
votes
1answer
157 views

Create a Custom field for content for adminside as Video

I am in need of custom plugin that allow me to add custom fields like Video from admin side for Articles of all category. Can anyone guide me please. Video File type (I will select file and that ...
3
votes
2answers
427 views

Article Manager: “No Matching Results” when navigating in pagination after page 1 - Joomla 3.4.5

I am getting a weird issue on site I 'm setting up on Joomla 3.4.5. When in article manager trying to go the next page (so to show the next bunch of 20 articles), it shows no articles and a message "...
4
votes
1answer
242 views

Can't override com_content controller

I'm trying to override com_content controller (administrator/components/com_content/controller.php), for this I have installed the joomla-override plugin and followed as the documentation says. ...
1
vote
1answer
1k views

Jmodel get articles of an attribute

I'd like to get articles of a certain attribute, how do I achieve it. Below is a code I get to get an article of an id: jimport('joomla.application.component.model'); JModel::addIncludePath(...
2
votes
2answers
111 views

Menu Item - Show only a few articles

I have a general question. I want to show for instance four articles ( or ten, the number doesn't matter just so much as I want ) that are in a category "articles". So the problem is that in the ...
3
votes
1answer
882 views

Users can't save new article in backend (buttons does not show)

I've got an annoying problem and can't solve it. I need to create a lower-level admin access in my website backend, which can only create and edit articles. I started creating a new group (Admin ...
4
votes
1answer
1k views

Check if Content exists

I have this piece of code in my template: <article id="content"> <section id="mid"> <jdoc:include type="component" /> </section> </article> which ...
5
votes
1answer
2k views

Custom Read More text

Is it possible to set a custom Read more text for each article in Joomla? I would like to be able to somehow set a unique text for some of the readmore links (added using <hr id="system-readmore" /&...
4
votes
1answer
477 views

Article custom fields for one category

With the help of this and this I made a plugin to add a custom fields to the article component. It works fine but I would like to make these custom fields mandatory and only for a specific article ...
3
votes
5answers
15k views

How to create a category blog layout with all articles shown in full?

Hello Joomla community, I'd like to create a category blog layout where all articles are shown with their entire content. I.e. without having the article shortened at the 'read more' position. What's ...
5
votes
1answer
2k views

Query database for articles, filtering by tag

I can use this to get published articles from the database: function queryDatabase_Posts($select, $limit) { // Database connection and query object. $db = JFactory::getDbo(); $query = $db-...
2
votes
3answers
3k views

How to display user profile fields on an article?

When using the TinyMCE editor, how can I display the username at the top of an article?
3
votes
2answers
564 views

Adding Custom Fields to Article Component [Not in attribs field]

I am trying to save some additional fields into the Article Content and there has been a few questions like this relating to this issue but all of the solutions seem to point to saving the extra field ...
0
votes
1answer
765 views

Running content plugin on content prepare trigger for com_content attributes text

I created a custom plugin that allows the user to save custom text from a predefined list through editors buttons, in the attributes (attribs). The idea was to give the users an easy way to add a few ...
2
votes
1answer
832 views

Calling category title params from a com_content

I have tried to search on every Joomla site to find a solution but haven't found a proper result yet. I have created this custom module for my page and I need to display the "corrent" category title. ...
6
votes
1answer
174 views

Is it possible to display a list of category “grand children”?

We have our articles organized as shown below - the main Producers category has a subcategory for each Producer, which then has a category for each of their Programs. I've been tinkering with the ...
2
votes
1answer
330 views

How to show a module inside com_content/article/default.php

I'm attempting to show a module inside the com_content/article/default.php file but it fails. Here is the php code <div class="mySearch"> <?php jimport( 'joomla.application.module....
1
vote
1answer
586 views

Adding select user field in com_content to assign article to specific user

I am working on a student management system. How can I add extra select field (e.g. select user, select class.) to com_content, so that I can assign the article to the specific student (e.g. mark-...
2
votes
1answer
95 views

Joomla create content plugin to add fields to article (com_content)

Am a beginner to joomla development ,id like to add extra fields to the article (com_content)component. I have read this article https://docs.joomla.org/Adding_custom_fields_to_the_article_component ...
3
votes
2answers
537 views

Joomla assets table ucm rows

Does anyone know what these rows are for? Is it safe to remove them? Since they seem to be mostly empty? Note: this is assets table!
1
vote
2answers
611 views

I need to change “Continue Reading ” to “Read more” How to do?

HI. I need to change "Continue Reading " to "Read more" How to do? *Joomla 3.4.5 Thk.
5
votes
1answer
1k views

Triggering onContentPrepare from Category Blog view

I found this page on how to implement a custom field in article: http://docs.joomla.org/Adding_custom_fields_to_the_article_component and it works well, but only in article view. What should I do ...
2
votes
1answer
135 views

Language tags in article content

I have a Joomla site with lots of articles and two languages. All content is the same, except for the weekdays. Is it possible, in any way, to use the Joomla override language to create tags and add ...
0
votes
1answer
156 views

How to add gravatar support to Joomla article

I'd like to add gravatar support to my Joomla article. How can I do that?
1
vote
1answer
132 views

Running content plugins for a custom editor type field in com_content

For our latest Joomla-Projects, I extended the com_content component with custom fields using the following documentation: https://docs.joomla.org/...
2
votes
2answers
2k views

Unable to hide subcategories in category blog layout

I have a menu item of the category blog type, which is pointing to a category which has category children. I have configured this menu item and the category manager options to hide all subcategories, ...