This file contains hidden or 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 namespace ProcessWire; | |
| /** | |
| * Cleanup orphaned page folders and their content | |
| * | |
| * - Only delete page folders WITH NO existing Page-ID. | |
| * - Implements a dry run mode | |
| * - Tested with ProcessWire 3.0.x, PHP 8.4.x | |
| * | |
| * Place the script file in the root of your PW installation (or |
This file contains hidden or 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 namespace ProcessWire; | |
| /** | |
| * Swap the content of multilingual fields between two languages | |
| * | |
| * - Tested with ProcessWire 3.0.x, PHP 8.4.x | |
| * | |
| * Usage: | |
| * | |
| * Place the script file in the root of your PW installation (or |
This file contains hidden or 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
| .tab-bar { | |
| height: 45px; | |
| } | |
| .tab-bar .tab { | |
| height: 45px; | |
| padding-right: 32px; | |
| } | |
| .tab-bar .tab:hover { |
This file contains hidden or 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
| $ npm install grunt-browser-sync --save-dev |
This file contains hidden or 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
| var gulp = require('gulp'); | |
| var bs = require('browser-sync').create(); | |
| var runSequence = require('run-sequence'); | |
| var connect = require('gulp-connect-php'); | |
| gulp.task('php', function() { | |
| php.server({ | |
| base: './app', | |
| port: 8001, | |
| }, function (){ |
This file contains hidden or 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
| var gulp = require('gulp'); | |
| var bs = require('browser-sync').create(); | |
| var runSequence = require('run-sequence'); | |
| ... |
This file contains hidden or 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
| $ npm install run-sequence --save-dev |
This file contains hidden or 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
| var gulp = require('gulp'); | |
| var sass = require('gulp-sass'); | |
| var bs = require('browser-sync').create(); | |
| var runSequence = require('run-sequence'); | |
| gulp.task('browser-sync', function() { | |
| bs.init({ | |
| server: { | |
| baseDir: './' | |
| } |
This file contains hidden or 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
| $ npm install browser-sync --save-dev |
This file contains hidden or 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
| var gulp = require('gulp'); | |
| var bs = require('browser-sync').create(); | |
| /** | |
| * Server-Modus | |
| * 1. Berücksichtige alle Dateien in dem hier angegebenen Ordner | |
| */ | |
| gulp.task('browser-sync', function() { | |
| bs.init({ | |
| server: { |
NewerOlder