Skip to content

Instantly share code, notes, and snippets.

wikipeter / DateForm.html
Created Jul 11, 2016 — forked from koernchen02/DateForm.html
Problems with DateTime Timezones in Extbase and Fluid
View DateForm.html
{namespace as=Portachtzig\Asapp\ViewHelpers}
<div class="form-wrap white black-text">
<div class="row" xmlns:f="">
<div class="col-sm-12">
<label for="draft">
<f:translate key="tx_asapp_domain_model_project.draft" />
</label><br />
<f:form.checkbox property="draft" value="1" /><br />
wikipeter /
Last active Nov 20, 2020
SQL migration for renaming a TYPO3 Provider Extension
EXT:fluidcontent related migration
UPDATE tt_content
SET tx_fed_fcefile = REPLACE(tx_fed_fcefile, '[old_value]', '[new_value]')
WHERE tx_fed_fcefile LIKE '%[old_value]%';
EXT:fluidpages related migration
wikipeter / FluxSettingsProviderForMyPlugin.ts
Last active Aug 29, 2015
TypoScript based flux settings for an FE plugin (esp. controllerActions)
View FluxSettingsProviderForMyPlugin.ts
plugin.tx_flux.providers {
myextension_myplugin {
tableName = tt_content
fieldName = pi_flexform
listType = myextension_myplugin
extensionKey = Vendor.MyPlugin
form {
fields {
switchableControllerActions {
label = Plugin Mode
View Example.html
{namespace vm=Vm\Vmtemplates\ViewHelpers}
<div class="navigation">
< newsItem="{newsItem}" settings="{settings}" class="news-next">
<vm:link.prev newsItem="{newsItem}" settings="{settings}" class="news-prev">
wikipeter / 0_reuse_code.js
Created Nov 14, 2013
Here are some things you can do with Gists in GistBox.
View 0_reuse_code.js
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
View languageswitch.php
<?php foreach(c::get('lang.available') as $lang): ?>
<li<?php if($lang == c::get('lang.current')) echo ' class="active"' ?>><a href="<?php echo url($site->uri(), $lang) ?>"><?php echo $lang ?></a></li>
<?php endforeach ?>
wikipeter / gist:4117969
Created Nov 20, 2012 — forked from g3d/gist:2709563
Clean Install – Mountain Lion OS X 10.8 DP3