Questions tagged [articles]

This tag is for questions related to Joomla articles and the com_content component.

Filter by
Sorted by
Tagged with
1
vote
0answers
13 views

How to get product id in the article text (j2store)

I want to somehow get the product id from j2store and display the main image of each product in the article section each product. In /templates/namira/html/com_content/article/default.php there are ...
4
votes
2answers
3k views

How to fetch joomla article custom fields in another component?

I have created some custom fields in my joomla article from backend now I want to fetch them in another component. What would be the code to achieve it?
0
votes
2answers
49 views

How to disable all category pages?

I have a Joomla site and I would like to hide the category pages. Google is indexing some of them with a number before. For example, I have a product category and the mydomain.com/2-products page is ...
0
votes
1answer
176 views

Tracing source of this error: Call to a member function reorder() on boolean

Is there a way to trace this error: Call to a member function reorder() on boolean I'm checking my PHP Logs but this particular error isn't showing up there. It happens when I'm trying to create ...
0
votes
1answer
50 views

How to implement language-specific tags in select tags list from editing?

I have observed in Joomla (v3.9.16 and in older version too) a strange behavior (maybe it is right, but I don't understand it). When we have fully installed and configured a multi-language site, if ...
0
votes
2answers
30 views

Bring featured articles to the front of the articles retrieved by ArticlesModel

How can I bring the featured articles to the front of the articles array retrieved by the ArticlesModel? I know I can change the ordering via this line: $model->setState('list.ordering', $ordering);...
0
votes
1answer
55 views

Changing how Fabrik extension lists are displayed

I created a list using Fabrik and used elements to create fields for the list. The result was a form for my Joomla registered users to use to input data such as in fields I created like in the below ...
0
votes
1answer
21 views

Add fields to the articles retrieved by ArticlesModel

In my module i get the articles via this way: $model = JModelLegacy::getInstance('Articles', 'ContentModel', array('ignore_request' => true)); $model->setState('params', JFactory::getApplication(...
1
vote
1answer
37 views

Get article list based on custom field value (com_fields)

I'm trying to get all the articles from a specific category with a specific value in one of the custom fields (com_fields) I have created. I have this code: $model = JModelLegacy::getInstance('...
0
votes
1answer
202 views

How to dynamically filter blog/list layout by today's date?

I've created a Joomla article category 'Events' with three list views: all events past events future events All three views refer to the same "Events" category. The past and future events layout use ...
2
votes
1answer
276 views

Add “show all” button to BT Content Slider module

I am using Joomla 3.X. I have a module which displays three news and events at a time to see next set of news and events user has to press the next button. The name of the module is "BT Content Slider"...
1
vote
2answers
187 views

How redirect the button new of frontend to open a seblod form in Joomla 3?

when I enter in frontend as super-user appear a button to create new articles, but this button open the Joomla predeterminate editor and I want that open the seblod from that I designed to create ...
0
votes
0answers
10 views

Stop display custom fields in edit article in frontend

I’m having some trouble with custom fields and tags when creating/editing an article from frontend. I’m using tags and several custom fields (grouped into five groups). By standard, the custom fields ...
0
votes
1answer
66 views

Send values from article to article

I have two articles in my Joomla site. One article has various links to the same article. The other article display, with code of java script, the HTML content of a file depending on what link was ...
0
votes
1answer
48 views

How do I carry a Joomla article title and its link across from an article layout into a module's helper?

I have a module that appears on an article page. The module has a form and I would like to send the article's title and page URL as part of the information sent through the form. Using $this->item-&...
2
votes
2answers
821 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
0answers
27 views

An error has occurred. 1062 Duplicate entry '0' for key 'PRIMARY' Return to Control Panel?

I have been trying to add a new post from few days using the EasyBlog component in my Joomla 3.9.24 site, but I am getting anerror after clicking the add new button from the Joolma backend. I can't ...
1
vote
2answers
57 views

Custom fields with Articles Anywhere

I'm using articles anywhere to load in certain articles on certain positions in my template, but the problem is is that my custom fields are not loaded in. Does anyone know how to achieve this?
1
vote
0answers
51 views

Get the Article ID in J4.0

I am trying Joomla 4. My biggest problem is to migrate the get article id functionality. In Joomla 3.x, I used: defined('_JEXEC') or die; $id= JRequest::getInt('id'); but this is not longer ...
1
vote
2answers
623 views

Joomla.submitbutton is not a function at HTMLButtonElement.onclick

I have been facing a problem when I try to update the article from the frontend then it shows this error Joomla.submitbutton is not a function at HTMLButtonElement.onclick Here is my code &...
1
vote
0answers
62 views

Managing authors of Joomla articles

We have a Joomla site with a few people managing it, adding articles written by numerous other authors. I would like to set the author name for each article and show it in the front end in the article ...
2
votes
1answer
41 views

Can article be automatically unlocked after a certain amount of time in joomla 3?

referring to this issue in 2014: Can content items be automatically unlocked after a certain amount of time? is there a good solution for unlocking items after a certain period of time with Joomla 3 ?
0
votes
0answers
80 views

Error 500 when drag & drop an image via tinymce

I have two domains pointing to the same joomla 3 : example1.com (main domain) and example2.com. When I edit an article in front via the main domain, the drag & drop of an image works well with ...
2
votes
0answers
39 views

Access Joomla article content from PHP-script with “file_get_contents”

I'm using php-script to export Joomla article to PDF-file with mPDF. The script is shortly the following: define('_JEXEC', 1); define('JPATH_BASE', realpath(dirname(__FILE__) . '/..')); ...
0
votes
1answer
327 views

403 Error: Forbidden You don't have permission to access this resource

I have been contracted to manage a website built with Joomla, I have to update articles but anytime I try to save changes this is the error I get. Forbidden You don't have permission to access this ...
1
vote
3answers
60 views

How to show dynamic article to non-registered users?

I have a dynamic article in Joomla. The article information is extracted from fabrik when the user is logged in. But when the user is not logged.. I can not see the information. The idea is to create ...
1
vote
1answer
54 views

Save/load a custom form inside a new tab in the article edit view

I have a plugin which loads a custom form in a new tab inside the article edit view. So far, no problem with this part: public function onContentPrepareForm(Form $form, $data) { // Check we are ...
0
votes
0answers
81 views

Set article attribs on-the-fly via JTable

I am using a CCK (Seblod) that extends com_content and allows adding complex fields, like PHP code to be run on onBeforeRender event. I need to change the values of some attribs of an article in the ...
4
votes
4answers
2k views

Is there a way to have registered users auto-publish their articles

I'm extremely new to Joomla and even simply hosting a website, so answers should be pretty step-by-step if possible. I am running a hobby group site that will have multiple users submitting articles ...
0
votes
1answer
156 views

Change article edition workflow

I have to make some changes on the article edition workflow to add some features in the middle of the current edition process. I mean, the articles when published must be saved in a different status, ...
0
votes
0answers
5 views

Add different meta tag for articles pages, categories pages and front page

I am using Joomla 3.3 on my website and I need to insert some meta tags in my website, but I want three different tags for article pages, categories pages and, of course, on the front page. The model ...
0
votes
1answer
26 views

Find Menu Item through Article Item?

I'm wondering if there's a way to see which Menu Item is associated with an Article. I know this is easy from the Menu Item -> Article view, since Articles are assigned in Menu Items. If I'm in an ...
3
votes
1answer
711 views

Get tags for an article

How can I query the db for all the tags associated with an article? I have been able to use JTable to query to *_tags table, but that doesn't return the tags that are associated with the article ...
1
vote
1answer
80 views

Error JLIB_APPLICATION_ERROR_INVALID_CONTROLLER from CLI on Joomla 3.7

I have an issue with a cli php script that I'm trying to execute. I want to add an article with custom fields. The part where I add articles is working well, but when I add the code to load the ...
2
votes
1answer
145 views

How to extend the article search to take into account the values of custom fields?

In articles I have added a series of custom fields, now I need to be able to filter through these fields, while being in the article manager view. I have searched about it but without success, I just ...
0
votes
0answers
115 views

A slash is being automatically added after the hashtag in urls

I just wanted to implement a scroll to an element for two anchor tags. The problem is that Joomla is adding a forward slash between the hash mark and the named anchor. When I have something like <a ...
1
vote
3answers
2k views

Joomla 3: import rss feed

I could not find any plugin, which could help me with importing rss feed (like this: http://www.verzekeringsnieuws.nl/rss/algemeen.xml) I found feedGator, but it didn't work in joomla 3... maybe ...
0
votes
1answer
95 views

How to set article options and associations programmatically?

I work on a custom Joomla 3 module that creates articles programmatically based on user input. I can create the articles, but I could not find a way to set the article options and associations when ...
3
votes
1answer
813 views

Can I allow front-end users to PUBLISH articles in specific categories?

Can I allow users to PUBLISH articles in certain categories without giving them the ability to publish to any category. It seems that they can create articles but then the article requires someone ...
1
vote
2answers
2k views

Canonical tag problem in Joomla articles

look at the URLs below: 1. /essays/technical-essays/180-technologies/247-megapixel 2. /essays/technical-essays/247-megapixel 3. /essays/technical-essays/technologies/247-megapixel 4. /essays/...
0
votes
1answer
154 views

Default value for repeatable custom field

I am trying to set a default value for the repeatable custom field. My subform has a number field, a media field and a text field. I am using the default value field in the repeatable field ...
0
votes
0answers
33 views

Load banner in Joomla article

Is there any plugin that can load banner "id x" from banner component? Or is there any other way, but not with {loadmoduleid x}? Thanks in advance
0
votes
1answer
20 views

Joomla 3 Article Gallery View stopped displaying articles

I have a website with some menu items using the Article / Gallery View option to display a list of articles in blog style. It has been working perfectly for a few years now, but it stopped working in ...
1
vote
0answers
25 views

I have some missing articles in a category on the front end. Joomla 3

Any reason why some articles may be missing on the front end of my Joomla 3 site when most of them are there? 2 articles are missing out of 63. All but 2 are listed in the category on the front end. ...
1
vote
2answers
242 views

Remove 'There are no articles in this category.' Text

Joomla 3.9.14 I have a category with no articles, although the sub categories do contain articles. - colours (no articles) -- red (1 article) -- blue (2 articles) I have a menu type Category ...
1
vote
1answer
30 views

Building a new module that loads articles not adding slashes in front of images

i am currently building a new module that loads joomla articles via ajax. During the final tests I noticed that image links are (relative links) not handled correctly. If an image is added to an ...
0
votes
1answer
86 views

Ajax Call: Problem with filter in Article & Articles Model in Module Context

I currently have a problem with an ajax call in my new module. the filters are not used. Here is an extract of the relevant lines: $articleid = $data_decoded->articleid; // Get an instance of ...
0
votes
1answer
29 views

Share article dropdown

I'm looking for a plugin that will allow to have a dropdown social share menu, like the ShutterStock has I need next sharing options: Facebook Instagram Copy Link Email probably, few more items ...
2
votes
2answers
166 views

How can I display the first name of the currently logged in user in content

Matthew Murphy asks the following on the Joomla Facebook Group: Anyone know of an extension for content that replaces the name with the person who's logged in? For example I have been working on a ...
0
votes
1answer
31 views

How to keep count of how many times an article has been seen as fulltext or introtext-alone?

Joomla core articles hits counter only works when the full article is shown (fulltext). But if only the introtext is displayed, like in a Category Blog view or in a Featured Articles Blog view, the ...

1
2 3 4 5
7