Use vokoscreen
to create a screencast with audio and video, optionally with webcam. Save as MKV file.
video-with-noise.mkv
Export to MPEG4 video and MP3 audio.
# Example robots.txt for MageBridge. | |
# Jooomla! is assumed to be in the root / | |
# Magento is assumed to be installed in /magento/ | |
# MageBridge Root Menu-Item is assumed to have an URL /shop/ | |
User-agent: * | |
Disallow: /administrator/ | |
Disallow: /bin/ | |
Disallow: /cache/ | |
Disallow: /cli/ |
<?php | |
defined('_JEXEC') or die(); | |
class PlgSystemCustom extends JPlugin | |
{ | |
/** | |
* Plugin event dealing with raw VirtueMart data | |
*/ | |
public function onVm2MageItemConvertBefore($item, $type) | |
{ |
<?php | |
require_once 'app/Mage.php'; | |
Mage::app(); | |
$password = 'password01'; | |
$customerId = 1; | |
$customer = Mage::getModel('customer/customer')->load($customerId); | |
$customer->setPassword($password); | |
$customer->setConfirmation($password); |
<?php | |
// Basic settings | |
$storeCodes = array('french', 'german', 'danish', 'dutch'); | |
$productAttributes = array('name', 'short_description', 'description'); | |
// Initialize Magento | |
require_once 'app/Mage.php'; | |
Mage::app(); | |
Mage::app()->setCurrentStore(Mage_Core_Model_App::ADMIN_STORE_ID); |
<?php | |
// Basic settings | |
$text = 'Hello World'; | |
$source = 'en'; | |
$destination = 'fr'; | |
// Startup the application | |
require_once 'app/Mage.php'; | |
Mage::app(); |
-- Disable foreign key checks temporarily -- | |
SET SQL_MODE=''; | |
SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0; | |
SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO'; | |
-- Reset all vm2mage information | |
TRUNCATE TABLE `vm2mage_categories`; | |
-- Reset all customer information | |
TRUNCATE TABLE `customer_address_entity`; |
-- Disable foreign key checks temporarily -- | |
SET SQL_MODE=''; | |
SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0; | |
SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO'; | |
-- Reset all product information | |
TRUNCATE TABLE `catalog_product_bundle_option`; | |
TRUNCATE TABLE `catalog_product_bundle_option_value`; | |
TRUNCATE TABLE `catalog_product_bundle_selection`; | |
TRUNCATE TABLE `catalog_product_entity_datetime`; |
-- Disable foreign key checks temporarily -- | |
SET SQL_MODE=''; | |
SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0; | |
SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO'; | |
-- Reset all vm2mage information | |
TRUNCATE TABLE `vm2mage_categories`; | |
-- Reset all category information | |
TRUNCATE TABLE `catalog_category_entity`; |
<?php | |
require_once 'app/Mage.php'; | |
Mage::app(); | |
Mage::app()->setCurrentStore(Mage_Core_Model_App::ADMIN_STORE_ID); | |
$urlRewrites = Mage::getModel('core/url_rewrite')->getCollection(); | |
foreach($urlRewrites as $urlRewrite) { | |
$urlRewrite->delete(); | |
} |