Skip to main content
6 votes
Accepted

Joomla extension update 3.x and 4.x

Based on this link that Roland Dalmulder sent me to: https://github.com/joomla/joomla-cms/blob/5fdba4e5ee022517a05ae893d8f7077eaf864bf7/libraries/src/Updater/Adapter/ExtensionAdapter.php#L113 ...
mickmackusa's user avatar
  • 4,826
2 votes
Accepted

Extension update server - targetplatform to support 4.2 and later

Well, I guess it kind of depends how far you want to pre-emptively include versions in your pattern: 4.2 only: ^4\.2\b 4.2 to 4.3: ^4\.[23]\b 4.2 to 4.4: ^4\.[2-4]\b 4.2 to 4.5: ^4\.[2-5]\b 4.2 ...
mickmackusa's user avatar
  • 4,826
1 vote
Accepted

Mysqli query with regex to Joomla php syntax

quoteName() is something that you call when you are quote-wrapping identifiers. (REGEXP_SUBSTR(r.xml, \'[0-9]+\')) is not a table name or column name so it makes no sense to try to wrap it in quotes ...
mickmackusa's user avatar
  • 4,826
1 vote

Hikashop, extract text after read more

Your coding intent is to use <hr id="system-readmore" /> as your "string delimiter". For this type of task there are several functions that can lead you to the desired output. The most direct ...
mickmackusa's user avatar
  • 4,826
1 vote
Accepted

How to query a table column for values that start with a non-alphabetic character?

First of all, do you actually need a where clause? Are you really trying to exclude any names? What are the actual exclusions you want? If you don't mean to filter any names, then you can simply ...
FFrewin's user avatar
  • 19.7k

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