New answers tagged

0

I think you just need to pass the $article parameter in as a reference. Add a & before the $article variable in the function call. So, to change... public function onContentAfterSave($context, $article, $isNew) ...to... public function onContentAfterSave($context, &$article, $isNew)


0

I have the same issue, moved Joomla 3 from subfolder to the root but the tabs in administrator don't work. Did not find any solution, tried all mentioned above. The only solution for me - change the debug in configuration and set the css for the debug on website to not be visible... Nothing else worked for me and I dont dare to upgrade now :D


2

The front-end Article Edit form in the Joomla core /components/com_content/tmpl/form/edit.php renders the note field using <?php echo $this->form->renderField('note'); ?> (Joomla 3 in line 109, Joomla 4 line 110). A user that has access to the edit forms, will be able to see the content of that field. Furthermore the API in Joomla 4 /api/...


2

There are a few ways in Joomla to solve this problem. Some ideas in order of best practice to not recommended are: 1. Template "Advanced" or "Custom" Feature Check if your template has an option to insert code. For example, The Helix Ultimate template from JoomShaper allows you to insert code in Before </head>, After <body> ...


0

This error usually means that Joomla has failed to connect to the database. Check that the database credentials are correct. Also check that the relevant options e.g. mysqli are enabled in PHP. If you are using cPanel, PHP options are found under "Select PHP Version".


2

You could try clicking the discover button at Extensions -> Manage -> Discover and then select and install the template if it is discovered.


1

You need to have them click on the Remember Me check box when they login to the site and this will store a RememberMe cookie in the users' browser storage that will be read next time they visit the site and automatically log them in. If you don't see the 'Remember Me' check box on your front end login you need to look at the Plugins and make sure the '...


1

If you want an easy way to do it just install the Easy Profile component from the JED. It integrates with registration and with advanced fields in the user's profile which they may edit. I use it a good bit, very simple to setup and manage all of the custom fields you want with direct integration.


Top 50 recent answers are included