Questions tagged [com-content]

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

Filter by
Sorted by
Tagged with
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 ...
6
votes
2answers
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 ...
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 ...
6
votes
1answer
323 views

Menu Item loads any article content when ID passed in the URL instead of showing 404 error

I am having a very strange issue where I have a menu item called /foo which loads article Item 1. Now if I do /foo/2, I would expect this to generate a 404 page since I don't have a sub menu item '2' ...
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" /&...
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-...
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 ...
4
votes
1answer
2k views

Adding class to content 'Read More'

I want to add a class to the Read More link found in //components/com_content/views/category/tmpl/blog_item.php I want the class to be: <a class="btn btn-primary readmore-link"> But I can't ...
4
votes
1answer
240 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. ...
4
votes
1answer
468 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 ...
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. ...
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 ...
4
votes
1answer
359 views

Article multi language selection

I have a multi language site with 4 languages, and I need one article to display in all languages except one. I need to assign more than one language to each article, how can I override and change ...
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 ...
3
votes
3answers
2k views

Overriding Core Components Model Form XML

I want to change the Field type for the Article's Links, from input text to DropDown List with internal menu items. I am looking for a convenient way to do this with the minimum work. I can't find ...
3
votes
2answers
562 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 ...
3
votes
1answer
728 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?
3
votes
2answers
426 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 "...
3
votes
2answers
992 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 ...
3
votes
2answers
530 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!
3
votes
2answers
663 views

Displaying more articles in the article view

I'm using joomla 3.3.6 and I designed content page as I want, but I need one more thing. Is there a plugin or a component to display all/other articles as a list, so the user can move to them. The ...
3
votes
1answer
285 views

How to trace source of open <div> in Joomla template

I really hope you can help me! I'm building a site as a favour to a charity (I am only a beginner with Joomla. I'm alright with html and css but crap with php). My problem is on a category blog page. ...
3
votes
1answer
99 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 ...
3
votes
1answer
875 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 ...
3
votes
1answer
2k views

Display Joomla article contents and title using PHP

I have a component and module built by an external company, they have hardcoded content into the component - I want to change it so the content is called from the Joomla Article Manager. The ...
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, ...
2
votes
3answers
866 views

Joomla! - Give Blog Categories Classes

First off, I'm a PHP noob :/ just to get that out of the way My goal is to give each Joomla! category a class, so I can pre-style layouts for my client, and when they choose a Category, they would ...
2
votes
2answers
2k views

How to move print/email to be inline with article title for blog view?

for single article view I've moved the print/email function up to be inline with the title, instead of being located below the title in top-right corner of the content. Did this my moving the code ...
2
votes
2answers
292 views

No way to make any changes on com_content category blog view - T3 Template

I am out of ideas with this one... I have to make a few changes on the category blog template on a Joomla 2.5 site. The issue is that whatever I do in any of the templates of the view, it won't be ...
2
votes
1answer
324 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....
2
votes
1answer
131 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 ...
2
votes
2answers
110 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 ...
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?
2
votes
2answers
102 views

See content form data submitted

is there any way to see the data that's being submitted in a content form? I'm trying to use the onContentBeforeSave plugin event to do some actions based on the content in the form, but I'm not sure ...
2
votes
1answer
87 views

Display Categories in Different Layouts

I've got two categories, say "Cat A" and "Cat B" and both of them are associated with a menu item so that a category list can be displayed. Now, I want to display Cat A in list style, which is the ...
2
votes
2answers
482 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....
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 ...
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
1answer
815 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. ...
2
votes
1answer
94 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 ...
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. ...
2
votes
1answer
156 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 ...
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 ...
2
votes
1answer
370 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
0answers
79 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 ...
1
vote
2answers
584 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.
1
vote
1answer
25 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 ...
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(...
1
vote
2answers
144 views

How to get currently opened article vote / rating value

I want to display the article rating number in my template 'com_content/article' override. How can I get the value of rating_sum and rating_count of the opened article?
1
vote
1answer
583 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-...