4

Inside your table's constructor use setColumnAlias() to define the actual column name: public function __construct($db) { parent::__construct('#__example', 'id', $db); $this->setColumnAlias('published', 'state'); }


3

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 ...


3

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,...


3

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.


3

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: https://github.com/joomla/joomla-cms/commit/d34a3ecd2d00a3a5119ac0fadadab7f7211e145b?fbclid=IwAR2nh9DBeoMd_DHS-aL-...


3

Here is my first plugin: <?php /** * 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 &...


3

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: https://www.regularlabs....


3

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. administrator/components/com_picture/models/items.php: defined('_JEXEC') or die; class ...


3

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 ...


2

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....


2

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 ...


2

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: $doc->setHeadData(array $data); $doc->setTitle('my title'); And ...


2

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 ...


2

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.


2

Oops, I'd forgotten to disable FTP in Global Configuration. All sorted now.


2

use Joomla\CMS\Factory; .... $lang = Factory::getLanguage(); $lang->transliterate($value); * 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: libraries/src/Language/Language.php public function transliterate($...


1

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: ...


1

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 not connected it takes on the meaning I suggested in one of my comments, that of 'every response to ...


1

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 ...


1

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 ...


1

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 ...


1

Rename actiecode.php to actiecodes.php. Class name, filename and field type in XML form must all match.


1

The problem was that I put the edit.xml inside the override folder instead I needed to put it inside the plugin folder.


1

This seems to work, add URL include regex news($)


1

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 ...


1

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 ...


1

Since your JPATH_BASE is not $_SERVER[ 'DOCUMENT_ROOT' ] anymore thus the required files fail to open. You can try few things: Comment out the line which wrongly defines JPATH_BASE on the top of your files. This can handle the error. Since JPATH_BASE is already defined globally. Or Define JPATH_BASE correctly on the top of your files, like: define( '...


1

The problem was with the Jomsocial Redirect plugin that I had not configured! I installed a clean system and added the extensions on the live system to this test system - all worked until I added Jomsocial - quick Google then gave sufficient clues


1

The base HTML generated by Bootstrap tooltips looks like this: <div class="tooltip"> <div class="tooltip-arrow"></div> <div class="tooltip-inner"></div> </div> Once triggered, outer div also receives position classes (top, bottom, left or right) as well as fade and in: <div class="tooltip fade top in"> ...


1

Actually I would not close this question. Because there are simple answers to it, like what Sharky gave. But there is a simpler, more user friendly solution of this question which is using modules inside articles (or below or above) for the purpose mentioned in the question. If I understood the question well. If you place any content into a custom module (...


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