Though several sites claim Mac OS X properly supporting WebDAV thus making any connection to a WebDAV server a snap you might encounter some trouble on “snapping”. Windows clients properly connect to your Apache 2.2 based installation of mod_dav. Using Finder connection fails due to invalid server address. Using Terminal for invoking command mount_webdav everything’s working, though. While Pages on iPad properly connects to your server, but GoodReader fails to do so, you are stuck in same situation as me. Here is the solution … Continue reading »
Fixing WebDAV support in MacOS X and on iPad
Make Your Contao Installation Least-Writable
If you consider on file permissions in setting up Contao Content Management System you may ask what files and folders need to be writable to the webserver at least. Here is a quite short list I’m used to work with. It’s sufficient to enable managing CSS files as part of a theme as well as installing most (but not all) available extensions. Continue reading »
Stop Wasting Your Contao-Based Site’s Analytics
Google Analytics is the contemporary way of tracking your site’s visitors and analyzing where they come from, what they are interested in and what hard- and software they are using. However, while updating your site’s content and design you’ll probably go and check it in different browsers on several devices. It takes extra efforts to keep those visits out of your analytics results unless using static connection to internet enabling address-based filtering. For Contao CMS there is a new extension to the rescue simplifying use of customer variables in Analytics for segmented tracking. Continue reading »
Preparing Chroot Jail
In Linux and similar operating systems using chroot is a way to put services and applications in a jail so they can’t access any file in filesystem but the ones contained in a single folder, called “chroot jail” becoming root folder from jailed application’s point of view. Unless compiled specially for this purpose applications in Linux etc. are used to depend on shared libraries. And nearly all of them need access on some special files, such as device nodes. Here is a little script conveniently achieving preparation of a chroot jail for your particular application. Continue reading »
Installing Contao
Contao is a powerful content management system taking little efforts to install on a server. This post is available to describe a way I’m frequently used to set it up on customer sites. It’s basically trying to prevent world-writability to any script, requiring special access to server. If you are trying to install Contao in a webspace provided by a major web hoster it might be as simple as uploading files to server and running install. But if you are running dedicated root server and know your webserver’s user and group it might be an option to try this guide for installing Contao in a more restrictive setup. Continue reading »
The DOM event click is frequently used to have custom action on user clicking selected elements of a web page. This event is available on iPad and iPhone as well, though it’s reacting less instantly as on a desktop computer. This is due to double-tap detection globally implemented in Safari for supporting convenient element zoom feature. After click has been detected as a sequence of touchdown and touchup events Safari/WebKit is waiting some milliseconds for another tap before deciding to pass single touch as a click event. This behaviour is disturbing when you want to support fast interaction, such as in providing numeric on-page pad for entering secret pin. Continue reading »
toxA published a new extension to Contao CMS these days providing new insert tag to embed a locally stored video in a web page for playback supporting either Adobe Flash-based playback through Interlake Media‘s player freely available for personal and commercial purposes or by HTML5 native video playback support. Thus it’s possible to provide videos for iPhone/iPod/iPad playback as well providing H264 MP4 videos in addition to the FLV/FV4 version. The extension is available for download from Contao’s Extension Catalog. The full manual is online here.
Galleries with Mixed Arrangements in Contao
In Contao CMS it’s a snap to create an image gallery with several images supporting lightbox effect including forward/backward navigation through all available images of a gallery. Select an article on a page, add a content element of type gallery and select all images from file manager to be included in this gallery. Contao lets you select a common width and/or height to automatically compute thumbnails arrange in a matrix. for lightbox effect you need to check option “Full-size view/new windows” and integrate mootools template moo_slimbox.js in your page layout. That’s it – a well-sorted set of homogenic thumbnails to be clickable and browsable in lightbox. But what if you don’t like such homogenic grid for laying out thumbnails. This blog tries to provide a solution for this … Continue reading »
Contao, formerly known as Typolight, comes with a lot of extensions and plugins available through its Extension Repository. In there is a little extension called “hyphenation”, providing support for frontend integration of Google-hosted JavaScript-based hyphenator script. Its integrating well in Contao implying little change to existing system UI. But as of current release the plugin includes a bug heavily limiting its capabilities. Continue reading »
Webfonts in Safari
On trying out support for webfonts in all contemporary browsers using CSS3 @font-face container I had some trouble on support by Safari 4 on Windows. This was very astonishing to me since Safari is promoted as the browser initially supporting TrueType and OpenType fonts this way.
After some tests I found Safari (at least on Windows computers) failing to properly derive and support small caps font variant. Webfonts aren’t used in Safari unless you remove rule on using font-variant small-caps whenever you select the font family added to your browser’s font database.