plugins Bugs

A place to report and discuss bugs - please mention CMSimple-version, server, platform and browser version
cmb
Posts: 14225
Joined: Tue Jun 21, 2011 11:04 am
Location: Bingen, RLP, DE
Contact:

Re: plugins Bugs

Post by cmb » Tue Mar 31, 2015 11:59 am

Termin wrote:Still, the plugin page_params has no date ISO 8601 of updating/datetime the content for search engines.
That is supposed to be voted upon for the current development sprint of XH 1.7 (item #10).
Christoph M. Becker – Plugins for CMSimple_XH

Termin
Posts: 101
Joined: Thu Jan 27, 2011 8:55 am
Contact:

Re: plugins Bugs

Post by Termin » Thu Apr 30, 2015 4:54 pm

Hi cmb,

plugin sitemapper

in a file:

Code: Select all

http://www.mapsky.ru/?sitemapper_index
link

Code: Select all

http://www.mapsky.ru/js/?sitemapper_sitemap
no such file!
js/?sitemapper_sitemap

How to remove a link to a non-existent file?

cmb
Posts: 14225
Joined: Tue Jun 21, 2011 11:04 am
Location: Bingen, RLP, DE
Contact:

Re: plugins Bugs

Post by cmb » Thu Apr 30, 2015 5:17 pm

Termin wrote:js/?sitemapper_sitemap
Indeed, that is a bug. Quick fix for CMSimple_XH >= 1.6: find function _isSubsite() in plugins/sitemapper/model.php and replace the whole function with the following:

Code: Select all

    function _isSubsite($path)
    {
        $baseName = basename($path);
        $res = is_dir($path)
            && (strlen($baseName) == 2 && file_exists($path . '/.2lang')
                || ($baseName != '2site'
                    && file_exists($path . '/cmsimplesubsite.htm')));
        return $res;
    }
Christoph M. Becker – Plugins for CMSimple_XH

Post Reply