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

Support Forum

Start ::  Developers Corner ::  Module Development ::  htc file in module structure

Moderated by: Support Team

Bottom
htc file in module structure

  • Link to this postingPosted: 01.08.2007, 01:23
    Profile Homepage
    Jusuff
    rank:
    Helper Helper
    registered:
     April 2005
    Status:
    offline
    last visit:
    01.09.08
    Posts:
    142
    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
  • Link to this postingPosted: 01.08.2007, 16:40
    Profile Homepage
    markwest
    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
  • Link to this postingPosted: 02.08.2007, 12:33
    Profile Homepage
    Jusuff
    rank:
    Helper Helper
    registered:
     April 2005
    Status:
    offline
    last visit:
    01.09.08
    Posts:
    142
    Yes, this works. Thanks for advice icon_smile

    -----
    Polish Zikula Team

    Bianor Works - my Zikula works on CoZi

Start ::  Developers Corner ::  Module Development ::  htc file in module structure

Main Menu

Extensions Database

Documentation

Development

Login





 


 Log in Problems?
 New User? Sign Up!

Donate to Zikula