Posted by Eric Bartels
I’m using the sfAssetLibraryPlugin in one of my active projects. This project uses gettext for interface translation. The plugin ships with XLIFF-files for interface translation. In order to get gettext working simply create the required directories inside the plugin-directory (plugins/sfAssetLibraryPlugin/modules/sfAsset/i18n) and create a new catalog for each language (de, en, fr, …). The important thing [...]
Posted by Eric Bartels
A current requirement was to disable the DocumentTemplateUrl for a SPList-instances. So the “New document” does not appear anymore inside the list. The trick So there is no such property available in the SPList-class which allows us to disable the DocumentTemplateUrl. In order to “get the property” we need to cast the object. // web [...]
Posted by Eric Bartels
If you ever asked yourself how to get your resources-files (resx) into the App_GlobalResources so they can be used inside your custom aspx-pages like all “default SharePoint pages” in the LAYOUTS-folder do <asp:Literal runat="server" Text="<% $Resources:wss,Title; %"> /> STSADM is your helper! Simply deploy your solution and in your manifest specify that your resource-files will [...]