7 votes
Accepted

Can't edit article after Joomla 3.4.7 update

The were session storage changes in the Joomla 3.4.7 update. To fix the issue, you simply need to logout and log back in before you can make any article changes. Reference: https://docs.joomla.org/...
Lodder's user avatar
  • 26.8k
7 votes
Accepted

Get tags for an article

Use TagsHelper::getItemTags(): use Joomla\CMS\Helper\TagsHelper; $tags = new TagsHelper; $tags->getItemTags('com_content.article', $articleId); Where $articleId is article ID. Tags will be ...
Sharky's user avatar
  • 10.8k
6 votes
Accepted

Different templates for viewing and editing articles

It's actually possible by overriding it via 3rd party plugin. You can create a simple system plugin calling setTemplate() method when the onAfterRoute event occurs : public function onAfterRoute() { ...
webchun's user avatar
  • 2,418
6 votes
Accepted

Joomla 4 create article programmatically

I rewrote the "Content Uploader" for Joomla 4 because I couldn't reach the developer. I had exactly the same problem as you described in the first example. The reason is that the Workflow ...
Gratia-Mira's user avatar
6 votes

Joomla 4 create article programmatically

This will work. $newapp = JFactory::getApplication(); $mvcFactory = $newapp->bootComponent('com_content')->getMVCFactory(); $articleModel = $mvcFactory->createModel('Article', 'Administrator',...
Na Nguyễn's user avatar
5 votes
Accepted

Language tags in article content

You can use this language plugin: http://extensions.joomla.org/extension/easy-language Once installed in your article you can do: {lang en}Monday{/lang}{lang es}Lunes{/lang} It will display the ...
Piero Marsilio's user avatar
5 votes
Accepted

How to show a module inside com_content/article/default.php

Assuming with fails you mean it simply doesn't show on the article page and not that you are getting any other kind of errors. The code you posted seems okay and should work. So, I guess it might be ...
FFrewin's user avatar
  • 19.6k
5 votes
Accepted

How to check if the user is authorized to view a particular article?

You can see an exemple of this check in this file modules/mod_articles_latest/helper.php https://github.com/joomlagovbr/joomla-3.x/blob/master/modules/mod_articles_latest/helper.php $...
Pierre-André Vullioud's user avatar
5 votes
Accepted

What is Joomla article options stored table?

The data you are looking for is available in same table (#__content) and you will find all the options in attribs column. Note that in MySQL the table will have the db table prefix that you have ...
Joomler's user avatar
  • 1,791
5 votes
Accepted

How to fetch joomla article custom fields in another component?

You can use the following code to fetch custom field values by article id <?php JLoader::register('FieldsHelper', JPATH_ADMINISTRATOR . '/components/com_fields/helpers/fields.php'); //load ...
Mayank Sahu's user avatar
5 votes

Content plugin doesn't add text to articles

Your plugin appears to be written for a very old version of Joomla! The event in current versions is onContentBeforeSave. You are also missing $context argument. It's a good idea to check for context ...
Sharky's user avatar
  • 10.8k
4 votes
Accepted

Joomla 3-article is published but not showing

Articles in Joomla are usually displayed through Menu Items. Creating and publishing an article is only the first step, you also have to create a menu item: These are some of the most popular menu ...
johanpw's user avatar
  • 13.3k
4 votes

Edit multiple images at once

An alternative way to do this is to apply the margins via a suitable CSS selector in a custom CSS file. You can limit the styling to a single page if you want by using a page class and including this ...
Neil Robertson's user avatar
4 votes

Random image in an article

You have to use a more specific CSS selector in order to target only the main image, and not all images added to an article. The main article image (added through the "Images and links" tab in the ...
johanpw's user avatar
  • 13.3k
4 votes

I can't get changes to a published article to show

In this case the article is loaded by the menu item home, check the correct article here. Are you using some cache extension for your site?, check for possible extensions and clear the cache. Note: ...
AlejandroVega's user avatar
4 votes
Accepted

List articles by author

There is another solution that you can use which doesn't require any installs or modifications. First create a new module of type: "Articles - Category". This type of module allows you to filter ...
cyberp's user avatar
  • 56
4 votes

Administrators cannot edit articles after Joomla update

Well then... I would try ACL Manager's famous Fixing Assets command... ACL Manager | Diagnostics tab, then (Fix Orphan Assets / Add Missing Assets / Fix Assets Issues / Fix Admin Access Conflicts) ...
Mikan's user avatar
  • 3,007
4 votes
Accepted

Cannot remove article info

If you are created a menu item for the article (Single Article menu item) then the article options are overriden by the menu options. You should hide those article infos (Publish date, Hits, and so on)...
webchun's user avatar
  • 2,418
4 votes

How to find the joomla page from url

You can find any url/Alias by searching it in the search box. First go to the Menu manager and enter resource-downloads in the search box. And if you didnt find it then you can go to the article ...
Joomler's user avatar
  • 1,791
4 votes

How to fetch joomla article custom fields in another component?

This function will allow display of JCFields anywhere in any extension desired, including templates. The first parameter is the only requirement and will dump the JCF data, based on the item ID ...
Nadal's user avatar
  • 188
4 votes

How can I create a page that links to all articles with fake long titles?

You can achieve this with the built in functionality of Joomla. Create a Category Blog Menu Item and deactivate title under the options tab. While creating an article, write first your fake title ...
Dennis Heiden's user avatar
4 votes
Accepted

How does the Finish publishing feature for articles work?

Nothing needs to be changed or updated in the background when the Start Publishing or Finish Publishing dates are crossed. Let me explain how it works; I'll try not to be too technical. When you ...
Drew G's user avatar
  • 890
4 votes
Accepted

How do I find out the URL for an article?

The structure of a Joomla site is driven by the menu. So while you could access that article at http://localhost:81/fecms/index.php?option=com_content&view=article&id=33 By creating a menu ...
jamesgarrett's user avatar
  • 3,289
4 votes
Accepted

How to get rendered full page before returning to the browser?

To edit entire HTML output directly, create a system plugin with onAfterRender event. Use application's getBody() method to get the content and setBody() to save the modified content. defined('_JEXEC'...
Sharky's user avatar
  • 10.8k
4 votes
Accepted

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

Got to; content > articles > options > category tab > No Articles Message > hide / show
TheOrdinaryGeek's user avatar
3 votes
Accepted

Why does my table look OK in the back-end but is not formatted correctly in the font-end?

The most likely cause that your table looks different in the front-end is table styling in your template.css file or similar. As it is, much of the existing styling code is duplicated and hard to ...
Neil Robertson's user avatar
3 votes

J3.3 Assigning An Article Multiple Access Levels

The right way of handling ACL is to create user groups, in tyo Solutions, Authorized, Retail, Distributors And after that create access level for each combination you need. For example you create ...
Adam M.'s user avatar
  • 447
3 votes

Allow registered users post content or articles - Joomla 3

As far as I understand you want to give different access to different different menus. For this,in Joomla, we use ACL (Access Control List) and you don't need to use any plugin or extension. Refer the ...
Liz.'s user avatar
  • 1,375
3 votes
Accepted

How to add gravatar support to Joomla article

Take a look at the Gravatar PHP documentation. Basically, you want to generate a URL for the image to be displayed. This URL is based on the users email address, and will of course only work for ...
johanpw's user avatar
  • 13.3k

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