Skip to content

Instantly share code, notes, and snippets.

View Kubik-Rubik's full-sized avatar

Viktor Vogel Kubik-Rubik

View GitHub Profile
@Kubik-Rubik
Kubik-Rubik / readmedia.php
Last active May 20, 2025 20:12 — forked from SniperSister/readmedia.php
readmedia.php for Joomla 4 and 5
<?php
/**
* @copyright Copyright (C) 2018 David Jardin - djumla GmbH
* @package Readmedia
* @version 1.0.0
* @license GNU GPLv3 <http://www.gnu.org/licenses/gpl.html>
* @link http://www.djumla.de
*
* 1.0.0-KRJE
* - Updated version to support video streams in Safari (Webkit) - Viktor Vogel - https://www.kubik-rubik.de
@Kubik-Rubik
Kubik-Rubik / .htacess
Last active October 21, 2024 16:44
CMS Joomla! - Redirects requests with `/index.php/` in the URL to the corresponding SEF-URL - .htaccess rule
# Add the rule to the "Custom redirects" section
RewriteCond %{THE_REQUEST} !^POST
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /index\.php/ [NC]
RewriteRule ^index\.php/(.+)$ /$1 [R=301,L]
@Kubik-Rubik
Kubik-Rubik / list.php
Created October 27, 2023 10:04
Joomla! - Pagination - Layout override to limit the number of pages
<?php
/**
* @copyright (C) 2016 Open Source Matters, Inc. <https://www.joomla.org>
* @package Joomla.Site
* @subpackage Layout
*
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/