Posted by Eric Bartels
I’m currently using the latest version of Apache’s FOP (0.95). To create the pdf-file from the transformed fo-file I simply call the fop-binary via PHP’s exec. The command is built dynamically. // Some static command here $cmd = ‘/path/to/fop -c config.yml -fo input.fo -pdf outfile.pdf’; exec($cmd); So quiet This doesn’t work! There is no pdf-file. [...]
Posted by Eric Bartels
Writing feature receivers during SharePoint customizing a common task. Depending on the scope your features belongs to your code looks similar to the following: public override void FeatureActivated(SPFeatureReceiverProperties properties) { // Scope="Web" SPWeb web = properties.Feature.Parent as SPWeb; // Scope="Site" SPSite site = properties.Feature.Parent as SPSite; // Scope="WebApplication" SPWebApplication app = properties.Feature.Parent as [...]
Posted by Eric Bartels
Default values rule! I’m using Propel 1.2 (an upgrade will be done soon) but for other people out there … Consider the following declaration-fragment for the “Foo-entity”. Nothing special here. <column name="name" type="VARCHAR" size="32" required="true" /> <column name="culture" type="CHAR" size="5" required="true" default="de_DE" /> Now if we create the new object and show the state (var_dump) [...]
Posted by Eric Bartels
To allow an easy management of hardlinks and junctions via the windows-explorer Hermann Schinagl provides a nice shell-extension.
Posted by Tom Haesevoets
Bei der Definition des Benutzernamens und des Passworts zum Host muss unter Windows der Host-User folgende Berechtigung besitzen: "Anmelden als Stapelverarbeitungsauftrag" Ist dies nicht der Fall bekommt man folgende Fehlermeldung: "RemoteOperationException: ERROR: wrong password for user" Einstellen der Berechtigung: – Öffnen: Programme > Systemsteuerung > Verwaltung > "Lokale Sicherheitsrichtlinien" – Unter "Lokale Richtlinien" > "Zuweisen [...]