Skip to content

Instantly share code, notes, and snippets.

View tobias-forkel's full-sized avatar

Tobias Forkel tobias-forkel

View GitHub Profile
@tobias-forkel
tobias-forkel / app_code_local_[Namespace]_[ModuleName]_Helper_Data.php
Last active December 14, 2015 03:10
Cut the text after a specific number of characters. If the max length is not reached, just output the text without modifications.
<?php
/**
* Namespace ModuleName
*
* @category Namespace
* @package Namespace_ModuleName
* @copyright Copyright (c) 2015 Tobias Forkel (http://www.tobiasforkel.de)
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
<?php
/**
* Namespace ModuleName
*
* @category Namespace
* @package Namespace_ModuleName
* @copyright Copyright (c) 2015 Tobias Forkel (http://www.tobiasforkel.de)
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@kontikidigital
kontikidigital / tgt-magento-subscribers.php
Last active March 2, 2018 14:41
Export Magento Newsletter Subscribers
<?php
/*
Extension Name: Magento CSV Export Newsletter Subscribers
Description: Export a list of subscribers of the Magento Newsletter in CSV format
Version: 0.1
License: GPL
Author: TargetIMC
Author URI: http://targetimc.com
*/
/* Paste this file in root directory and run it manually*/