[Rare case] block templates of the updated mo

  • Tom Hayakawa

    Tom Hayakawa - 2007-08-06

    This report is rare case at block templates of the updated module.
    ( For example, developing module.
    I think that the case that is usually being operated and generated is few. )

    - Content of "templates/blocks/{dirname}_block_xxxxx.html" is empty.

    - The template is set to xoops_version.php. 
      $modversion['blocks']['template'] = '{dirname}_block_xxxxx.html',

    - Installing this module at control panel.

    - The content of the block template is described. 
    Content of "templates/blocks/{dirname}_block_xxxxx.html" is not empty.

    - Updating this module at control panel.

    - But, this block template cannot have been renewed. 
    This template was still empty.

    The condition to occur is limited.
    This may not say the bug simply either.
    I include the meaning of the record and report it here.


    - "templates/blocks/{dirname}_block_xxxxx.html"に、内容が空のblockテンプレートを設定する

    - xoops_version.php に、そのテンプレートを設定する
      $modversion['blocks']['template'] = '{dirname}_block_xxxxx.html';

    - このモジュールを、モジュール管理画面より、インストールする。

    - blockテンプレートの内容を記述する。(/templates/blocks/*.html )

    - このモジュールを、モジュール管理画面より、アップデートする。

    - 記述した筈の、blockテンプレートの内容が更新されていない。


    • minahito

      minahito - 2007-08-21

      The module install utility ignores empty files. Maybe this is the cause of your report.


Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks