Questions tagged [com-content]

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

Filter by
Sorted by
Tagged with
1
vote
1answer
24 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 ...
2
votes
1answer
312 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-...
0
votes
2answers
69 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
93 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 ...
1
vote
1answer
51 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/...
0
votes
1answer
57 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: ...
2
votes
2answers
443 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
147 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
77 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
698 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?
1
vote
1answer
64 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-...
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
573 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
68 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. ...
2
votes
1answer
152 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
2answers
109 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
2answers
950 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 ...
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
456 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 ...
2
votes
1answer
307 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
778 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. ...
3
votes
2answers
515 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
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
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 ...
3
votes
2answers
424 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 "...
1
vote
2answers
556 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
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
1answer
129 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?
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 ...
3
votes
1answer
866 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
2answers
557 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 ...
1
vote
1answer
126 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
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
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, ...
1
vote
2answers
557 views

Add Content Field Data on form submit

I have a plugin that adds a couple extra fields to com_content. I've already sorted out how to add the fields to the frontend editing form, so that they're displayed and saved appropriately, that is ...
1
vote
1answer
48 views

Combine two components in one template override

Basically, I want to display the "Add to Cart" block of j2store component in a particular position of my com_content template override. Any idea how can I do that? Thanks a bunch
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 ...
1
vote
1answer
227 views

Displaying Content - Vote form in com_content template overriding

I want to display the Content Vote form in a specific position of my joomla article, so I can't use the Content - Vote standard plugin because it's set to be displayed before the article body (I need ...
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?
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 ...
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 ...
4
votes
1answer
342 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 ...
1
vote
1answer
576 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-...