2

You might want to try switching from the Bootstrap (default) template to the Div template layout instead, that will give you a "card like" layout, that will give the feel of an article blog layout.


2

You will need a plugin for this, as there is no mechanism in Joomla core. Searching in JED, there is one available: "Autocheckin". I haven't tried it, but it should do the job.


2

This was caused by disabling mootools to try and increase the performance on the site. Pesky mootools. And to get the images/links tab you need to set it in the options.


1

Order by featured column and use descending direction: $model->setState('list.ordering', 'a.featured'); $model->setState('list.direction', 'DESC');


1

Normally fields are added by the Fields plugin. You can trigger onContentPrepare event to run this and other content plugins: JFactory::getApplication()->triggerEvent('onContentPrepare', ['com_content.article', &$article, &$article->params]); Fields will be available via jcfields property on the article object. Another option is to manually ...


1

Looking at the source code for com_content - ArticlesModel does not have any filtering capabilities for custom fields. What it does have is tag filtering, so would it be possible to modify your code so that instead of writing a value to a custom field you instead assign a custom tag to the article which you can then use filter.tag when getting your ...


1

Just to clarify, inside the article view, you can get the ID of the article: $app = Factory::getApplication(); if ( $app->input->get('option') === 'com_content' && $app->input->get('view') === 'article' ) { // Get the article ID $article_id = $app->input->getInt('id'); } If you use the previous code inside a blog ...


1

According to a forum post in Joomla (link below), you could check to see if the Session Path Writable is set to NO. If the Session Path Writable is set to no, you will need to contact your hosting provider to change this. Her is a link to a thread for the same problem: https://forum.joomla.org/viewtopic.php?t=971335


1

I fixed it with the following code: if(!isset($this->item->jcfields)){ $this->item->jcfields = FieldsHelper::getFields('com_content.article', $this->item, true); }


1

Custom Fields in Articles Anywhere is a Pro feature, so there's the first thing you need to address. https://regularlabs.com/extensions/articlesanywhere/tutorial#data-tags-custom-fields-pro From there, you need to use the Custom field name to show the value of the custom field for that article. If the custom field is called "Habitat" - that has a ...


1

SAVE THE DATA I want to share how I have created the solution to my problem. Along with the plugin there is a component than is relate with the work I doing, and both will work together. The component has other purposes, but taking advantage of the fact that much of the logic that the plugin needs, is already made or is reusable through the model classes, ...


1

If I understand your problem correctly then you just have to change the first few lines of your original code because you do not just want look for the user ID from the database (user table) but you also need to define the user ID from the particular article's URL. So try it with using the following at the beginning of your code: $articleUrl = \Joomla\CMS\...


1

If you mean disable by noindex, then go to CONTENT->CATEGORIES, enter a needed category (products), go to the tab PUBLISHING, find ROBOTS drop down list and choose noindex/nofollow.


Only top voted, non community-wiki answers of a minimum length are eligible