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
/* | |
* Pure CSS Tooltips with unicode arrow and shadow | |
*/ | |
.ui-tooltip, .ui-tooltip-top, .ui-tooltip-right, .ui-tooltip-bottom, .ui-tooltip-left { | |
color:#ffffff; | |
cursor:normal; | |
display:-moz-inline-stack; | |
display:inline-block; | |
font-size:12px; | |
font-family:arial; |
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
// First child redirect | |
<?php if($page->numChildren) $session->redirect($page->child()->url); | |
// Redirect to specific page | |
$session->redirect($pages->get('/')->url); | |
// Create a menu, needs MarkupSimpleNavigation Plugin | |
<?php | |
$treeMenu = $modules->get("MarkupSimpleNavigation"); // load the module | |
$rootPage = $pages->get("/ueber-uns/"); // if you want to overwrite start level for the menu, for example for breadcrumbs |
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
# Generated on 2013-10-28 using generator-bootstrap-less 3.0.3 | |
"use strict" | |
#lrSnippet = require("grunt-contrib-livereload/lib/utils").livereloadSnippet | |
#mountFolder = (connect, dir) -> | |
# connect.static require("path").resolve(dir) | |
# # Globbing | |
# for performance reasons we're only matching one level down: | |
# 'test/spec/{,*/}*.js' |
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
<script src="path/to/jquery.js"></script> | |
<script src="path/to/rethinkpagination/scripts/rethinkpagination.min.js"></script> | |
<script> | |
jQuery(function($) { | |
$('.pagination').rethinkpagination(); | |
}); | |
</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
<link rel="stylesheet" href="rethinkpagination/styles/rethinkpagination.css"> |
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
jQuery(function($) { | |
$('.pagination').rethinkpagination({animation: 'fadeInDown', selector: 'h1'}); | |
}); |
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
bower install rethinkpagination |
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
pasting this temporarily into any one of your templates, and then viewing a page that uses the template | |
<?php | |
$u = $users->get('admin'); // or whatever your username is | |
$u->of(false); | |
$u->pass = 'your-new-password'; | |
$u->save(); |
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 namespace ProcessWire; | |
$uikit = $this->modules->get('AdminThemeUikit'); | |
$uikit->init(); | |
?> | |
<html> | |
<link rel="stylesheet" href="<?php echo $uikit->getUikitCSS() ?>"/> | |
<head> | |
</head> | |
<body> |
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 namespace ProcessWire; | |
/** | |
* An action that lets you export all fields of pages to a CSV file | |
* | |
* Class ExportAllFieldsAsCSV | |
* @package ProcessWire | |
*/ | |
class ExportAllFieldsAsCSV extends PageAction implements Module | |
{ |
OlderNewer