someone just +1’d this nice addon for firefox:
(thanks, conrad :)
Tilt visualizes the DOM in 3D and is a lot faster than i expected.
Continue reading “Tilt – 3D DOM visualization”
…dev, tech problems and solutions.
someone just +1’d this nice addon for firefox:
(thanks, conrad :)
Tilt visualizes the DOM in 3D and is a lot faster than i expected.
Continue reading “Tilt – 3D DOM visualization”
Hey, today Wunderlist released a Linux Client for the Desktop. That made me curious about the hyped tool.
So I gave it a try on my Ubuntu machine!
Open the console and:
wget http://www.6wunderkinder.com/downloads/wunderlist-1.2.4-linux-32.tgz tar xvfz wunderlist-1.2.4-linux-32.tgz sudo mv Wunderlist-1.2.4/ /opt/
As we also have more pageviews from outside germany lately and we’re happy about that,
we have decided to continue posting in english from now on.
I recently made my first OXID eShop module: OXID-manufacturer-text-mod
Which basically adds a long description field to the manufacturer.
This comes just as a normal textarea, as usual in OXID CE.
If you would like to add an Richtext Editor, you can purchase the fck Editor module
and install it, if you did not already.
After you installed the fck module your textareas of the basic shop are rich text.
But since the manufacturer long description comes from the module, you have to teach the fck module the new field.
Continue reading “OXID eShop manufacturer long description module and fck editor module”
Da habe ich mir letztens die html5 boilerplate angeschaut und musste feststellen, dass die einen ziemlich guten build mitbringt.
Dieser optimiert Bilder, konkateniert und komprimiert alles was so geht, mit Hilfe von u.a. dem YUI Kompressor.
Was es noch nicht kann ist der Deploy, aber das kann man ihm ja beibringen ;)
Schon mal gefragt, welche globalen Variablen in der Twig-Extension eines Symfony 2 (Standard Distri)-Projektes zur Verfügung stehen? Continue reading “[Symfony 2] Twig – Global Variables”
This is a small shell script to set up silverstripe CMS
along with some modules i often use (as seen in ivo’s post)
The script has two parameters:
– the folder to clone the whole thing into
– the branch/tag to checkout afterwards
# install silverstripe + common modules from github # usage sh install_silverstripe.sh <folder_name> <tag/branch> # examples: # sh install_silverstripe.sh some_folder tags/2.4.5 # sh install_silverstripe.sh some_folder master
Continue reading “install silverstripe with some modules from GIT”
Das AsseticBundle ist ein Wrapper um Assetic, ein geniales Tool, um statische Assets für Webprojekte zu verwalten. AsseticBundle ist extrem einfach zu verwenden, einfach die entsprechende Filter-Chain via yaml konfigurieren, um mehr muss man sich nicht kümmern. Natürlich allerdings müssen die zugrundeliegenden Abhängigkeiten im Vorfeld installiert sein. In unserem Falle benötigen wir den Yui-Compressor als jar-File und Less CSS. Less ist ein node.js Modul, was bedingt, dass wir zuvor node.js installieren müssen.
Continue reading “[Symfony 2] AsseticBundle, Less CSS & YUI Compressor unter OSX installieren”
This is dangerous:
//example array $array = array('a' => array(array(243,453,435,232))); foreach ($array['a'] as &$value) { $value[3] = $newvalue; }
This works, but now the $value var is in the array by reference which can lateron lead to:
Notice: Array to string conversion
EDIT:
see below in the comments for when…
This works better:
[UPDATE]
A recent update to this article may be found here: https://nerdpress.org/symfony-2-set-default-locale-on-form-login-2/
Das Security Bundle ist ein wenig magisch. Da muss man eine HTML-Form definieren, der Rest wird irgendwie konfiguriert (Namen der Post-Parameter wie “_username”, “_password” etc., den Redirect zum Referrer, Remember-Me Funktion und so weiter, das alles wird von der Firewall intern geregelt. Man muss nur eine Login-Route definieren, einen Stub-Controller + Action-Callable (der aber nie ausgeführt wird, weil die Firefall sich davorhängt), fertig.
Das ist angenehm einfach, solange man keine Fragen stellt. Aber wie führe ich zusätzliche Aktionen direkt nach erfolgtem Login aus, ohne Einfuss auf den Code des Security Bundles zu haben?
Continue reading “[Symfony 2] Security Bundle: Set User Locale on Form Login”