Skip to content

Instantly share code, notes, and snippets.

//
// Regular Expression for URL validation
//
// Author: Diego Perini
// Created: 2010/12/05
// Updated: 2018/09/12
// License: MIT
//
// Copyright (c) 2010-2018 Diego Perini (http://www.iport.it)
//
@tbaddade
tbaddade / ctypes_sort_r4.php
Last active July 30, 2020 14:03
REDAXO - Ctypes sortieren
<?php
/*
REDAXO 4.5 - Ctypes sortieren
Sortierung erfolgt mit vorangestellter Zahl beim Ctypenamen im Template.
Bspl:
01 - Inhalt
02 - rechte Spalte
@adrianbj
adrianbj / HideOtherUserPages
Created January 16, 2015 18:41
PW module for hiding pages that don't match the user's name, under a certain parent page - currently hard coded parent name: visitenkarte
<?php
/**
*
*
* ProcessWire 2.x
* Copyright (C) 2010 by Ryan Cramer
* Licensed under GNU/GPL v2, see LICENSE.TXT
*
* http://www.processwire.com