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

Support Forum

Start ::  Extensions and Distributions Support ::  Modules ::  How to define NEW DOWNLOAD time limit

Moderated by: Support Team

Bottom
How to define NEW DOWNLOAD time limit

  • Link to this postingPosted: 30.07.2005, 04:12
    Profile
    zhadiuk
    rank:
    Freshman Freshman
    registered:
     December 2004
    Status:
    offline
    last visit:
    08.02.06
    Posts:
    40
    Hello,

    Im working with latest version of updownload at the moment but I think the problem applies to the core downloads module as well.

    How can I increase or generally change the time limit in which a download remains new and has the icons associated with it??

    thx
  • Link to this postingPosted: 30.07.2005, 04:38
    Profile Homepage
    thowden
    rank:
    Helper Helper
    registered:
     November 2002
    Status:
    offline
    last visit:
    30.07.08
    Posts:
    117
    Hi

    You'd have to hack the code. Its the same with DownloadsPlus. I had a look at providing time settings as an admin function but pushed it into future planning.

    -----
    cheers
    Tony

    Marble Bay : PostNuke Dev Work
    Wren/Maxwell : PostNuke Hosting

  • Link to this postingPosted: 31.07.2005, 04:49
    Profile
    zhadiuk
    rank:
    Freshman Freshman
    registered:
     December 2004
    Status:
    offline
    last visit:
    08.02.06
    Posts:
    40
    I know I have to hack da code. But its too complicated as Im not aware of PostNuke internal workings.

    I thik it calls a function called pngetModVar inside the root includes folder. But I really dont know how to edit the time settings. I picked up something about reading from the pntables????
  • Link to this postingPosted: 31.07.2005, 12:14
    Profile Homepage
    Petzi-Juist
    rank:
    Softmore Softmore
    registered:
     January 2004
    Status:
    offline
    last visit:
    22.07.07
    Posts:
    82
    You can find tree functions in dl-util.php where you can change the time.
    function newdownloadgraphic
    function categorynewdownloadgraphic
    function subcategorienewdownloadgraphic

    Hope this will help you ...

    Regards Petzi

    -----
    Petzi-Juist :: ... welcome to my digital world ...

Start ::  Extensions and Distributions Support ::  Modules ::  How to define NEW DOWNLOAD time limit

Main Menu

Extensions Database

Documentation

Development

Login





 


 Log in Problems?
 New User? Sign Up!

Donate to Zikula