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 ...
With thanks to @glenn-arkell who pointed me in the right direction, for j3.9 this works to stop Joomla writing '0000-00-00 00:00:00' into the checked_out_time field. For other fields (eg modified and any of your own datetime fields) use bind() or prepareTable() and getItem() to set empty dates from a form control to null and null dates back to zero for use ...
Check and verify the Global Config settings for Log Folder Path and Temp Folder Path, and make sure they are correct, they are within your domain's root folder, and their permissions are good (should by writable, 0755).
These paths can sometimes go adrift, often for domains that have been restored from backups. If they are wrong, then either the site's ...
Well, i recommend you that you change your server from Microsoft Web Server to a more approriate server for php, such as WampServer.
WampServer has some configurations you must pay attention to. If you are ever going to install it, make sure to select mysql on the installation process (since it's more compatible with Joomla) and set mysql as your default ...
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.