RSS Feed
^__^

Silverstripe Profilable module

Ivo Bathke, 2012/05/03 17:03

This is a reoccuring requirement: you need a profile for some object in your project.
FE you have a company, a member or a location that should get an address, a marker on the map, an icon, homepage etc.

So I created a small silverstripe module that adds a profile tab to any object you choose in your Silverstripe CMS backend.

Silverstripe-profilable-300x129 in
» read more

how to add placeholder attributes in Silverstripe Userforms Module

Max Girkens, 2012/04/19 06:32

to be honest i didn’t find a clean way yet, but i thought this workaround might be worth sharing.

…since SilverstripesUserforms Module Uses jQuery for Validation you can put these lines of code in your UserDefinedForm.ss Template: » read more

Silverstripe – has_many- and many_many-relations when duplicating pages

Max Girkens, 2012/03/07 05:48

When you duplicate a page in the Silverstripe Sitetree, related “has_one” Items are automatically copied, which is nice.

But if you have, lets say, multiple related images on that Page, those are not copied when you duplicate that Page. » read more

Silverstripe Setup Script

Ivo Bathke, 2012/02/09 11:30

We thought we had to improve our SilverStripe setup script for our development environment.
So Max and me rewrote it to add submodules and some other improvements.

Just run:

./install_silverstripe.sh mynewproject tags/2.4.7

and you have

  • silverstripe project folder structure
  • the tutorial theme
  • a already filled git repository
  • sapphire as submodule
  • cms as submodule
  • Uploadify as submodule
  • DataObjectManager as submodule
  • UserForms as submodule

» read more

extend SilverStripe memberprofile module

Ivo Bathke, 2012/01/16 11:50

Alright, SilverStripe again, still our CMS of choice.
Today i’d like to promote a very helpful module that provides Register and Profile Pages for Members for the Frontend.
The memberprofiles module.
It comes with a lot of features and customize options for nearly everthing you might need for Frontend Member Handling.
Further it is fully extendible to customize it even more.

For a starter tutorial i recommend a very good post by deadlytechnology.
I would like to describe how you extend it.

First lets install it (with the orderable module dependency):

» read more

install silverstripe with some modules from GIT

Max Girkens, 2011/09/11 12:53

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

» read more

SilverStripe Image Gallery installation

Ivo Bathke, 2011/06/06 12:33

Theres a lot of old, deprecated and now wrong installation guides for the SilverStripe Image Gallery Module on the web that will lead you to where you dont want to. Dont trust them!

Unclecheese made some changes to the module dependencies and also moved to git, some time ago. He now uses the new Uploadify module instead of the SwfFileUpload module.

So a working installation of the image-gallery for git-people is to:

» read more

SilverStripe 3 UI Vorschau

Ivo Bathke, 2011/03/08 10:58

Wie im SilverStripe Blog gelesen kann man die Entwicklung der neuen SilverStripe 3 UI auf github verfolgen.

Außerdem gibts hier ein Interview mit dem Hauptdesigner.

… und wenn man möchte kann man in der Google Group seine Vorschläge loswerden.

Ganz interessante Einblicke, wie ich finde.

i18n-fieldtypes module für Silverstripe

Ivo Bathke, 2011/02/28 15:15

Heute möchte ich mal ein Silverstripe Modul von mir vorstellen: silverstripe-i18n-fieldtypes
Es ist eigentlich eher ein Work-around für fehlenden oder ungenügenden I18n Support in sapphire.
Eigentlich sind wir hier alle Fans von Silverstripe, da es für Coder einfach anzupassen ist, aber
speziell beim Umgang mit Datums und Currency Typen in Silverstripe merkt man, dass da noch was fehlt.
Es kann gut sein, dass die nächste Version von sapphire das Modul obsolet machen -ich hoffe es sogar-
aber bis dahin, soll dieses Modul helfen.

Für Datum Werte mit deutscher Formatierung muss man zB überall in den templates folgendes machen

$Datetime.FormatI18N(%e. %B %G).

Es reicht nicht einfach sowas in der config anzugeben:

i18n::set_locale('de_DE');

Und das ist schon ganz schön nervig.
Aber hier hilft dann das Modul.

Sapphire kennt verschiedene Wege zur Formatierung, die in Zukunft wahrscheinlich noch vereinheitlicht werden.
Im Groben sind das:

» read more

Cheat-Sheets für alle(s)

Johannes Heinen, 2010/06/13 15:26

Diesem Mann ist sicher nie langweilig: http://www.addedbytes.com/cheat-sheets/. Hinter diesem Link verbergen sich Cheat Sheets zum Selber-Ausdrucken für alles Denkbare.