Skip to content

Instantly share code, notes, and snippets.

Arnoud van Susteren FrontEndStudio

Block or report user

Report or block FrontEndStudio

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View index.html
<html>
<head>
<title>Search</title>
</head>
<body>
<h1>About:</h1>
@FrontEndStudio
FrontEndStudio / feu_download.php
Created Sep 29, 2016
Give FrontEndUsers access to downloads uploaded into (.htaccess) protected directory
View feu_download.php
<?php
# $Id$
# (c) 2016 by Arnoud van Susteren (arnoud at nospam frontendstudio dot com)
# under a GNU General Public License
/**
*
* feu_download - with this script feu'ers can download a file from a .htaccess protected directory
@FrontEndStudio
FrontEndStudio / single_page.tmpl
Created Sep 21, 2016
#CMSMS snippet: Single page website, content from subpages having multiple blocks
View single_page.tmpl
{*
Purpose:
- Display multiple content blocks on a single page, using CGSimpleSmarty and DesignManager Core::Generic
Howto:
- install the CGSimpleSmarty module
- add a root page with alias 'main'
- add a few child pages for example ['child_one' || 'child_two'] having a content block
- add some generic templates via: Design Manager -> Templates -> add Core::Generic
@FrontEndStudio
FrontEndStudio / selfreg_change_group.php
Created Sep 14, 2016
CMSMS UDT to change group_id when user confirms registration
View selfreg_change_group.php
<?php
# $Id: selfreg_change_group.php 43 2016-09-14 11:32:43Z $
# (c) 2016 by Arnoud van Susteren (arnoud at nospam frontendstudio dot com)
# under a GNU General Public License
/**
*
* This UDT can be used with Event Manager -> SelfRegistration -> onUserRegistered
@FrontEndStudio
FrontEndStudio / php
Created Sep 8, 2016
CMSMS UDT to retrieve attributes from html tag
View php
<?php
# $Id: get_html_attributes.php 41 2016-09-08 07:38:43Z $
# (c) 2016 by Arnoud van Susteren (arnoud at nospam frontendstudio dot com)
# under a GNU General Public License
/**
* get_html_attributes
* {get_html_attributes html=$tag}
View zf-breakpoint.scss
/* ############################################################################
* # zf-breakpoint
* ############################################################################ */
// Foundation for Sites by ZURB
// foundation.zurb.com
// Licensed under MIT Open Source
// taken from: Foundation for Sites v6.1.2 ./scss/util/_unit.scss
@FrontEndStudio
FrontEndStudio / node-slimer.js
Created Nov 24, 2015
Script to scale images and collect json via url/breakpoint
View node-slimer.js
/* ----------------------------------------------------------------------------
* node-slimer.js: Script to scale images and collect json via url/breakpoint
* --------------------------------------------------------------------------*/
/*
* Purpose of this script:
To support responsive images the classical <img> tag,
should be replaced by a <picture> element like:
@FrontEndStudio
FrontEndStudio / SassMeister-input.scss
Last active Oct 7, 2015
Dot accessor for lists and maps
View SassMeister-input.scss
// ----
// libsass (v3.2.5)
// ----
///////////////////////////////////////////////////////////////////////////////
// about
///////////////////////////////////////////////////////////////////////////////
// Dot accessor for lists and maps
// Taken from HugoGiraudel: https://github.com/HugoGiraudel/awesome-sass
View SassMeister-input-HTML.html
<h1>Playing with sass-theming:</h1>
<p>
Uses <a href="https://github.com/davidkpiano/sassdash">sassdash</a> as dependency. <br>
Inspired by:
<a href="http://shaneprendergast.co.uk/html/sass-theming/" target="blank">http://shaneprendergast.co.uk/html/sass-theming/</a>
</p>
<h1>Theme on the outer class</h1>
View SassMeister-input-HTML.html
<div class="info">
<img src="http://lorempixel.com/300/100">
</div>
<hr>
<p class="info">
The crazy brown fox jumps over the lazy dog.
</p>
You can’t perform that action at this time.