public function init($iBlogId)
    {
        $this->iActiveBlogId        = $iBlogId;
        $this->aAvailable[$iBlogId] = array();
        $this->aEnabled[$iBlogId]   = array();

        //  Get available skins
        $this->aAvailable[$iBlogId] = Components::skins('nails/module-blog');

        if (empty($this->aAvailable[$iBlogId])) {
            throw new SkinException(
                'No skins are available.'
            );
        }

        //  Get the skin
        $sSkinSlug                = appSetting('skin', 'blog-' . $iBlogId) ?: self::DEFAULT_SKIN;
        $this->aEnabled[$iBlogId] = $this->get($sSkinSlug);
        if (empty($this->aEnabled[$iBlogId])) {
            throw new SkinException(
                'Skin "' . $sSkinSlug . '" does not exist.'
            );
        }
    }