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

Dizkus

Bottom
htc file in module structure
  • Posted: 01.08.2007, 01:23
     
    Jusuff
    rank:
    Helper Helper
    registered:
     April 2005
    Status:
    offline
    last visit:
    21.11.08
    Posts:
    163
    I need to add to block I've wrote a *.htc file (particulary: csshover.htc).
    I tried to place it in my module directory (modules/menutree/pnstyle/) - but in pn8rc1 all files excerpt images, javascript and CSS are blocked by htaccess file placed in modules directory.

    Temporary I skipped this problem by placing htc file in global "javascript" directory.
    But I wanted to ask if this is good idea? And if blocking this type of files in modules dir is good idea?


    --
    Polish Zikula Team

    Bianor Works - my Zikula works on CoZi
  • Posted: 01.08.2007, 16:40
     
    rank:
    Moderator Moderator
    registered:
     March 2002
    Status:
    offline
    last visit:
    26.08.08
    Posts:
    7720
    You could also place a .htaccess file inside your module to allow this file type to be served out from that directory.

    -Mark
  • Posted: 02.08.2007, 12:33
     
    Jusuff
    rank:
    Helper Helper
    registered:
     April 2005
    Status:
    offline
    last visit:
    21.11.08
    Posts:
    163
    Yes, this works. Thanks for advice icon_smile

    --
    Polish Zikula Team

    Bianor Works - my Zikula works on CoZi

Main Menu

Extensions Database

Documentation

Development

Login

Donate to Zikula