Skip to content

Instantly share code, notes, and snippets.

View renekreijveld's full-sized avatar

Rene Kreijveld renekreijveld

View GitHub Profile
<?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 January 23, 2019 14:28
EU country VAT rates + tax zones for Hikashop (webshop for Joomla)
/*! 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 September 24, 2014 17:31
Default Joomla Template example
<?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 July 22, 2014 04:00
Bootstrap – Class for gutter-less grid
.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 July 3, 2013 15:23
PHP-script to rename MySQL database tables in a MySQL database - for instance when using Joomla!
<?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