Download Monitor
[resolved] Don't Show Download Counter (7 posts)

  1. George McKnight
    Posted 4 years ago #

    I would like to know how to remove the document hits from my web sites download page, so that it just shows the title.
    e.g. Aims and Objectives (0), would change to just Aims and Objectives
    Here is a link to the page as it stands: http://www.littledreamsnursery.com/policies-and-procedures


  2. RayBernard
    Posted 4 years ago #

    You can define a custom format that will show only the title.

    In the Dashboard, go to Downloads, Configuration to define a Custom Output Format in the Add Format section.

    The example code below is for custom output format #1 defined like this (the Name field could be any name):

    Name: List with No Counts
    Format:<a href="{url}" class="downloadlink" title="{version} downloaded {hits} times">{title}</a>

    In your page you would list the files this way:

    [downloads format="1"]

    This should produce the same HTML output you have now except that the download count would not appear in the list.

    I hope this helps.

  3. George McKnight
    Posted 4 years ago #

    Thanks Ray, that seems to have worked. Now I have to figure out how to list all documents and not just the 5 it's showing

  4. George McKnight
    Posted 4 years ago #

    Sorted - just used the following:
    [downloads format="3" query="limit=0&orderby=title;"]

  5. derekshirk
    Posted 4 years ago #

    How would I go about removing the (#) of documents in each category in the default h3 category title

    Category title(#)

  6. George McKnight
    Posted 4 years ago #

    derekshirk - Can you post an example

  7. derekshirk
    Posted 4 years ago #

    Problem solved.

    I ended up removing '.$count.' from line 807 of download-monitor-page-addon.php

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Download Monitor
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic