This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* $Id$ | |
* | |
* Duplicate Theme settings for another Theme | |
* Script is a just a quick fix for current Oxid versions (4.10.0 tested) | |
* and based on the script of forum member "stefan2" | |
* http://forum.oxid-esales.com/showthread.php?t=9393&page=2#post55919 | |
* | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Twitter Cards frontend render script for phpwcms | |
* | |
* Use it in combination with [X] social sharing checkbox to mix | |
* OpenGraph meta tags with Twitter Cards Markup Tags and optional | |
* HTML comment to define type of Twitter Card (e.g. template) | |
* like <!--TWITTER:summary_large_image--> | |
* | |
* @see https://dev.twitter.com/cards/getting-started Documentation of Twitter Cards |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$.event.special.touchclick = { | |
setup : function(data) { | |
var elt = $(this); | |
elt.data($.extend({ | |
sens : 25 // Available touch offset in pixels | |
}, data)); | |
elt.bind("touchstart", $.event.special.touchclick.onTouchstart); | |
elt.bind("touchend", $.event.special.touchclick.onTouchend); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html xmlns="http://www.w3.org/1999/html"> | |
<head> | |
<meta charset='utf-8'> | |
<meta http-equiv="X-UA-Compatible" content="chrome=1"> | |
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"> | |
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" rel="stylesheet"> | |
<script src="http://code.jquery.com/jquery-2.1.4.min.js" type="text/javascript"></script> | |
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/******************************************/ | |
// db_utf8_fix.php // | |
// Original author: J. van Hemert // | |
// Original Date: 26-10-2011 // | |
// // | |
// Fixes encoding when utf-8-encoded data // | |
// is stored in tables with other (e.g. // | |
// latin_swedish_ci) encoding. // | |
// Will convert all columns in all tables // |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Use "sudo command" or as root user: | |
=================================== | |
In this example /var/www/vhosts is moved to /data/www/vhosts on another partition. Change all steps as your needed for your location. | |
1) Stop services | |
~# /etc/init.d/psa stopall | |
OR | |
~# /etc/rc.d/init.d/psa stopall | |
NewerOlder