New answers tagged

0

This looks similar to https://stackoverflow.com/questions/28025204/joomla-category-blog-view-different-height-on-articles but I have no idea how that solution would work. The easiest, quickest and dirtiest workaround for this is to add a min-height css declaration on the divs: .question-page .form-inline > div { min-height: 300px; } But this will ...


2

On the SQL side, data inserted using JDatabaseDriver::insertObject() and JDatabaseDriver::updateObject() methods is escaped automatically. On HTML side, you should filter user input to prevent XSS. Normally, Joomla\CMS\Component\ComponentHelper::filterText() is used to filter content where HTML is allowed. These filters can be configured per user group in ...


0

I recently came about the need to accomplish this, and found that @Arlen's answer was almost what I needed. I like the automatic nature of the media version (auto-version when extensions are installed or updated) - but I also want to control the version for local CSS updates. $mediaversion = $this->getMediaVersion(); $this->setMediaVersion($...


2

This is an unnecessarily strict rule and it has already been removed in code base. The change should be reflected in the next major JED Checker release. See this commit for reference.


0

in the plugin configuration you have a button to clear JCH cache. Have you tried that? That usually does the trick for stubborn files.


1

Keep in mind that: https://github.com/btoplak/Joomla-Anti-Malware-Scan-Script--JAMSS-/blob/master/README.md#:~:text=this%20script%20gives%20out%20many%20false,%20so%20be%20cautious says: this script gives out many false-positive files, as it is not "ironed out" yet, so be cautious https://github.com/btoplak/Joomla-Anti-Malware-Scan-Script--JAMSS-...


0

For local development, there is nothing better than a Docker. We develop exclusively in a Docker. That's no magic either. Simple LAMP conatiner, install joomla once, dump db and store everything together in Git. All plugins, modules, components are included as submodules. The main repo of a component consists of several submodules (site, admin, media,...) ...


0

In a fresh Joomla install, the above code works as expected - the editor is shown as expected. One thing to note, The "buttons" parameter is expected to be boolean, so you don't need the quotes around your "true". When you say the "buttons won't show on load", what do you actually mean? Does the TinyMCE editor load, but without ...


1

why would someone has a totaly wrong date on his system?! but to answer your question: have you tried to set the filter to server_utc? from the docs: filter (optional) is time zone to be used. There are two values; server_utc and user_utc. The first one is server time zone and the later is user time zone as configured in global configuration and user ...


0

i would say there are two options: build an override eg. own form for frontend add the required in the frontend with js (https://stackoverflow.com/questions/18770369/how-to-set-html5-required-attribute-in-javascript) it depends on your usecase and „how often“ users will edit this form. in both scenarios i would set the default state to not required.


0

This is from Litespeed Cache. Weirdly it's from a Virtumart part of it but I am running J2Store. I went into cPanel and I went to Terminal and I did a search by copying and pasting this (right click to paste) grep -Ri purgeprivate public_html and it found: $this->plugin->lscInstance->purgePrivate("com_virtuemart.cart"); Problem found. ...


0

You can develop a custom plugin binded to user events to trigger your custom code when the user is modified. Here you can find a guide to create the plugin and the event to use: Creating a Plugin for Joomla User event: onUserBeforeSave With this solution your code will be safe in future updates avoiding direct edits on Joomla code. There are also a lot of ...


0

Just for the record: I was facing the same problem, but in the end it seemed to be much easier to simple create a multiple select form field and use Tokenize2 to create the tag input.


Top 50 recent answers are included