Skip to content

Instantly share code, notes, and snippets.

View hertsch's full-sized avatar

Ralf Hertsch hertsch

View GitHub Profile
@hertsch
hertsch / kitcommand_page_modified_by_en.md
Last active August 29, 2015 14:01
~~ page_modifified_by ~~

##~~ page_modified_by ~~

The kitcommand ~~ page_modified_by ~~ return the display name of the user who has last modified the current page or the page with the given PAGE_ID.

Parameters

All parameters are optional.

@hertsch
hertsch / kitcommand_page_modified_when_en.md
Last active August 29, 2015 14:01
~~ page_modified_when ~~

##~~ page_modified_when ~~

The kitcommand ~~ page_modified_when ~~ return the date and time of the last modification for the current page or the page with the given PAGE_ID. The date/time string can be formatted and localized.

Parameters

All parameters are optional.

@hertsch
hertsch / kitcommand_wysiwyg_content_en.md
Last active August 29, 2015 14:01
Helpfile for the kitCommand ~~ wysiwyg_content ~~

##~~ wysiwyg_content ~~

The kitCommand ~~ wysiwyg_content ~~ can return the content of a WYSIWYG page section.

Please use the parameter section_id[] to specify the SECTION_ID to return:

~~ wysiwyg_content section_id[123] ~~

will return the content of the WYSIWYG section with the ID 123.

@hertsch
hertsch / _imageTweak
Last active August 29, 2015 14:01
Code examples for the usage of imageTweak
Code examples for imageTweak, used at https://kit2.phpmanufaktur.de
@hertsch
hertsch / _TemplateTools
Last active August 29, 2015 14:01
Code Examples for the TemplateTools used at kit2.phpmanufaktur.de
Code Examples for the TemplateTools used at kit2.phpmanufaktur.de
@hertsch
hertsch / sample-bootstrap-navbar
Created April 7, 2014 14:10
Sample for a Bootstrap Navbar with NavbarLinks()
<!-- responsive horizontal navigation with the bootstrap navbar -->
<nav class="navbar navbar-default" role="navigation">
<!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-example-collapse">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
@hertsch
hertsch / sample-event-config-publishing.md
Created March 17, 2014 15:14
sample-event-config-publishing
"date": {
  "event_date_from": {
    "allow_date_in_past": false
  },
  "event_date_to": [
    
  ],
  "event_publish_from": {
    "subtract_days": 21

},

@hertsch
hertsch / flexcontent-config-import-enable.json
Last active August 29, 2015 13:56
Sample: enable or disable flexContent import function
"admin": {
"import": {
"enabled": true
}
}
@hertsch
hertsch / kitcommand_contact_en.md
Last active August 29, 2015 13:56
Helpfile for the kitCommand Contact

~~ contact ~~

Introduction

For a general help to the kitCommands, the usage and the general available parameters please refer the kitCommand help.

Parameters

@hertsch
hertsch / sample-canonical-link.html
Created February 12, 2014 15:49
Sample for an canonical link