Zikula: A Flexible Open Source Content Management System
home | forum | contact us

Dizkus

Bottom
Instalation - installtypes - installer_post_install()
  • Posted: 22.10.2007, 03:42
     
    Jusuff
    rank:
    Helper Helper
    registered:
     April 2005
    Status:
    offline
    last visit:
    21.11.08
    Posts:
    163
    I have been testing today possibility to define own install type - and I have some observation.

    One is bug reported at tracker (basic install type is always included so when we create and use own install type we get PHP error - function installer_modules already define in basic.php)

    Another observation is about blocks.
    I tried to create during installation own block position and add to it new block. Unfortunately - installer_post_install function is executed before default blocks are added. Functions, which adds block start at clearing blocks tables, so there is no posibility to add to installation own blocks.

    I didn't report it as bug, because maybe it is intended to be as is now.
    But I think, that it is not correct. I think that installer_post_install function should be executed as late as it is possible to give us more possibilities to customise installation.
    This should not be difficult to achieve.



    --
    Polish Zikula Team

    Bianor Works - my Zikula works on CoZi
  • Posted: 22.10.2007, 05:54
     
    AmmoDump
    rank:
    Professional Professional
    registered:
     December 2003
    Status:
    offline
    last visit:
    21.11.08
    Posts:
    2975
    Report it as a bug, and ask if it should be feature request... Mark and boys will let you know... there at least it would be better documented.

    --
    David Pahl
    Zikula Support Team
  • Posted: 31.10.2007, 00:53
     
    Jusuff
    rank:
    Helper Helper
    registered:
     April 2005
    Status:
    offline
    last visit:
    21.11.08
    Posts:
    163
    Ok - I've submited a patch resolving this issue


    --
    Polish Zikula Team

    Bianor Works - my Zikula works on CoZi

Main Menu

Extensions Database

Documentation

Development

Login

Donate to Zikula