Skip to content

Instantly share code, notes, and snippets.

Avatar

Rene Kreijveld renekreijveld

View GitHub Profile
View readmedia.php
<?php
/**
* @version 1.0.0
* @package Readmedia
* @copyright Copyright (C) 2018 David Jardin - djumla GmbH
* @license GNU GPLv3 <http://www.gnu.org/licenses/gpl.html>
* @link http://www.djumla.de
*/
/* Initialize Joomla framework */
@pe7er
pe7er / hikashop-EU-vat-rates-2015
Last active Jan 23, 2019
EU country VAT rates + tax zones for Hikashop (webshop for Joomla)
View hikashop-EU-vat-rates-2015
/*! European Union country VAT rates + tax zones for Hikashop (webshop for Joomla)
by Peter Martin
Company: http://www.db8.nl
Twitter: @pe7er
Currently, before January 1st 2015, VAT on e-services (like telecommunications, radio & television
broadcasting and electronic services) to consumers (and businesses without VAT number) within the EU,
is charged based on the location (EU country) of the seller.
Starting on January 1st 2015, the VAT on e-services must be calculated based on the end customer’s
@sanderpotjer
sanderpotjer / index.php
Created Sep 24, 2014
Default Joomla Template example
View index.php
<?php
// Template by Perfect Web Team // www.perfectwebteam.nl //
defined('_JEXEC') or die;
// Connect with Joomla
$app = JFactory::getApplication();
$doc = JFactory::getDocument();
$uri = JFactory::getURI();
// Variables
@berfarah
berfarah / no-gutter.css
Created Jul 22, 2014
Bootstrap – Class for gutter-less grid
View no-gutter.css
.no-gutter.row,
.no-gutter.container,
.no-gutter.container-fluid{
margin-left: 0;
margin-right: 0;
}
.no-gutter>[class^="col-"]{
padding-left: 0;
padding-right: 0;
@yireo
yireo / yr_rename_database_table_prefix.php
Created Jul 3, 2013
PHP-script to rename MySQL database tables in a MySQL database - for instance when using Joomla!
View yr_rename_database_table_prefix.php
<?php
$database_host = 'localhost'; // Database hostname
$database_user = 'root'; // Database username
$database_password = ''; // Database password
$database_name = 'myjoomla'; // Database name
$new_table_prefix = 'zkl_'; // New table prefix
$old_table_prefix = 'jos_'; // Old table prefix (optional)
$test = false; // Test-run (true or false)
// NO NEED TO EDIT BELOW THIS LINE