Questions tagged [articles]
This tag is for questions related to Joomla articles and the com_content component.
358 questions
1
vote
1
answer
95
views
Only older category blog articles are displayed
I moved my website (https://permacultura-es.org/Joomla4/) recently from Joomla 3.10 to Joomla 5.2.2 and at some point I realized that the newest blog articles are not displayed as they used to be. The ...
0
votes
1
answer
68
views
Select Article Field like it is used in com_menu to select an article in a PopUp
For one of my projects (Custom Module) I would like to have a "com_menus"-styled modal to select an article - unfortunately it looks like this is not a "default form field type".
...
1
vote
1
answer
524
views
Embeded PDF is blocked by Chrome
I have a problem with an embedded PDF file in Joomla. It worked just fine until today when I tried to change the PDF content. I guess everything started when I updated to the latest Joomla version, ...
0
votes
1
answer
83
views
2 menu items to the same article and 2 different layouts; which url in blog content category?
I have a Joomla 4 site; using Helix Ultimate Framework template.
I have an article and I need to link the same article from two different menu items and each menu item must use a different layout.
I ...
0
votes
1
answer
140
views
Get Joomla Articles via Model inside static (Module) Method
When calling an AJAX Method in a Module Helper file the method has to be static. I have no app context there, when doing the following:
public static function getDataAjax()
{
$data = ...
0
votes
1
answer
147
views
Tag page with blog layout
I want to create a menu item for a tag that shows the articles as in category blog layout.
After, I would like to insert tags in the article info block.
Is it possible in joomla 4 and 5?
If yes, how ...
0
votes
1
answer
104
views
Article options overridden by global settings
I would like to control the display of fields like author, modified date, etc. on a per-article basis in addition to the global options.
However, even when I set the options in the article, they do ...
0
votes
0
answers
132
views
Media Resize plugin not working on article images
I have a Joomla 4 site and have enabled the 'Media Action - Resize' plugin, I have set the max width and max height in the plugin params to be 500
When I upload an image via Content > Media, it ...
1
vote
1
answer
117
views
Article fields layout
I am using Joomla 4 with casseiopa template.
I have created a load of custom fields where the layout ends up like this:
<ul class="fields-container">
<li class="field-entry ...
0
votes
1
answer
185
views
Upgrade Joomla CLi script to handle bulk import of items into articles
I am upgrading a client's CLi script that is used to automatically bulk import news items into Joomla articles. The code was originally programmed for Joomla 3 and now needs to support Joomla 4.
I ...
0
votes
1
answer
315
views
How do you change category blog article titles to H2?
I'm trying to change the Category Blog article titles from H1 to H2.
I've already tried creating a template override for com_content > tmpl > article > default.php. I found this line:
<div ...
3
votes
3
answers
555
views
Tag Item programmatically
I am trying to tag some items (com_content.article) programmatically, and I have an issue while trying to use the TagsHelper class' tagItem method. I am not an expert in Joomla and I am a bit lost.
I ...
1
vote
2
answers
160
views
Number of articles in multiples sub-categories
I use mod_articles_category to display a list of categories with their articles.
I need to display the total of articles next to each category title.
I've tried with <?php echo $item->numitems; ?...
0
votes
1
answer
619
views
Joomla 4 Get a list of site articles in the module settings
My code
use Joomla\CMS\Language\Text;
use Joomla\CMS\Access\Access;
use Joomla\CMS\Component\ComponentHelper;
use Joomla\CMS\Factory;
use Joomla\CMS\Router\Route;
use Joomla\Component\Content\...
0
votes
0
answers
59
views
Newly published article does not load
I have published a new article, which is in a published category and menu that contain other published articles.
The article, which is public, goes to a 404 error page. The url of the article is:
...