This was working ok on my instance Joomla 3.9.22 with PHP 7.3.5 (and mysql). Then to test this I selected PHP 7.0.33 instead and it gave me an error:
Fatal error: Declaration of MyObserver::createObserver($table, $params = Array) must be compatible with JObserverInterface::createObserver(JObservableInterface $observableObject, $params = Array) in C:\wamp64\...
Inside your table's constructor use setColumnAlias() to define the actual column name:
public function __construct($db)
parent::__construct('#__example', 'id', $db);
Most critical to fixing your issue is to include the p.ComponentId column in your select() call so that it is available at the time the result set is being constructed.
If you have your error reporting turned on/up, then I expect that you would have seen several of these:
Notice: Undefined index: p.ComponentId in ...
I have a few additional pointers to ...
Answer for Joomla Users
An update of the Captcha - ReCaptcha plugin changed the existing functionality and many of the extension developers need to update the way their extensions handled Captcha responses.
So, a first step is to be 100% sure that you are using the latest version available!
If you are sure about that, please contact the extension ...
In URL assignments section:
Set the option to Include
In URL matches enter /news/?$
Enable Use Regular Expressions
*The /? part is used for the case your /news page is also loading via /news/ and you need to show the module in both cases.
Changes for security patches are normally hidden further down in the commit history or sometimes in the actual release commit to throw people off.
In this case, the security patch is in the release commit, which you can see here:
Here is my first plugin:
* Plugin class for update the Cloudflare Cache after save a article
class plgContentBk_onsave extends JPlugin
public function onContentAfterSave ($context, $article, $isNew)
// I have saved the URL in a custom field by the article to protect against duplicate content.
// I use this field for &...
As far as I can remember since I haven't tested this recently, you don't need to clear CloudFlare's cache in order to display update's of article's with CloudFlare. CloudFlare will only cache static assets like css, js.
In any case, there are ready made plugins that do the job. One I can recommend is the RegularLabs Cache Cleaner:
Normally, the plugin would open a list of items. In this case, the component doesn't have the model/view for the items. So you have to create them.
As a bare minimum, the model must contain getListQuery() method which returns the query used to retrieve the items.
defined('_JEXEC') or die;
It's a good practice to always have up-to-date backups of your projects/sites. This way, you can always revert back to a previous working state.
If an extension has broken your site, then remove that extension.
You can do it manually by navigating to the directories of your Joomla site, where each extension places its files.
For example in the case of Akeeba,...
The problem was: The Tooltip didn't have the styling I wanted.
The quest was: To know the tooltip css class to be able to alter it.
The solution: I googled the internet for the tooltip css class (the jquery suggestion didn't work for me) and altered the .popover class (tooltip) so that it looks the way I wanted.
CSS added: to templates/$template_name$/style....
Here is my solution:
At first: remove meta and link from the source code is not part of the joomla filter. it is part of the core. So modify the core is not a solution about problem with later updates.
Second: the third part component sourcer can work but it is a third part solution out of my control for validation and verification. And every additional ...
You get the `HtmlDocument' object:
$doc = JFactory::getDocument();
// echo "<br><pre>"; print_r($doc); echo "</pre>"; // to check what you have here
You can get only the head Data:
$headData = $doc->getHeadData();
$Title = $doc->getTitle();
You can set things:
The code you currently have works. You just need to clear page cache and view the page again. You'll see fonts.googleapis.com links are removed. This may or may not be fine depending on the rest of your code.
When System - Page Cache plugin is enabled, on first load page (determined by URL) on is rendered normally with all expected plugin events triggered ...
In the end I managed to solve the issue by simply re-creating the page locally (using MAMP), generating an Akeeba backup, and restoring the backup via Kickstart. I really have no idea why this happened in the first place.
$lang = Factory::getLanguage();
* This method processes a string and replaces all accented UTF-8 characters by unaccented
* ASCII-7 "equivalents".
Or check the method code to be more granular:
public function transliterate($...
So to get it from global configuration set in configuration.php from anywhere within Joomla component, plugins, modules and templates you would use:
$config = JFactory::getConfig();
$siteName = $config->get('sitename', 'No Site Name Specified');
$siteName = JFactory::getConfig()->get('sitename', 'No Site Name Specified');
You can also use name ...
So there could be an issue with the new hosting if it’s alao a custom solution in that it doesn’t have a tool called composer installed.
What I’d recommend:
Try reinstalling Joomla (or updating it if it’s not running the latest version, currently 3.9.19) by going to Components > Update Joomla. That will update the dependency files.
if that doesn’t resolve ...
This will rely heavily on the magic of a "pivot" technique. Here are some more examples in JSE to compare/contrast with https://joomla.stackexchange.com/questions/tagged/pivot.
Basically, a WHERE clause will disqualify rows before grouping occurs. In this case, you only want to focus on data in the scope of FormId 14, so this should go in your ...
Create an override of com_fields/layouts/fields/render.php. Find this line:
$content = FieldsHelper::render($context, 'field.' . $layout, array('field' => $field));
Change it to also pass the item to field layout:
$content = FieldsHelper::render($context, 'field.' . $layout, array('field' => $field, 'item' => $item));
The item with its fields is ...
You can do this by creating an override for the com_tags layout file which outputs your list, as described in https://docs.joomla.org/J3.x:How_to_use_the_Template_Manager.
When logged on as a Super User go to Extensions / Templates / Templates, select the Site option and click the template which your site is using. This will lead you to the Templates: ...
Did a little more looking when I had time and discovered a bug in com_finder that complicates this issue, but here's how it's (IMO) supposed to work as well as a workaround for the bug.
The word "not" carries a boolean meaning, so when you enter the string
it takes on the meaning I suggested in one of my comments, that of 'every response to ...
I'm still a little bit blind regarding your issue but I try to give you some direction and maybe we could solve this. There are many ways to add cookiebot to the site, I have never used Google Tag Manager for that.
First about the error:
Uncaught TypeError: $ is not a function at...
When you see the above error in the console then it means that the ...
Depending on how elaborate you want your offering to be then you could start with just adding your customisable attributes as template options via the templates .xml file so that you don't have to reinvent the process of loading template values. And then for you more Bespoke interface write an Admin component to present the options to the APNE that changes ...
One of the solution will be to create a custom font (this tutorial explain a way to do this https://www.wikihow.com/Create-a-Font) with small circles for all characters and bind this font to your password text input.
What email sending method do you use (see System > Global Conguration > Server > mail settings)? What email sending methods do your extensions use? (e.g. in Acymailing you can configure another mail server)
Do you send email with PHP/Sendmail directly from your webserver,
or use SMTP and send all mail via an external SMTP server?
Maybe the mail is sent ...