• First off, thanks to jolley_small for a great plugin. It appears to be well thought out and easy to implement and use, and it just makes a lot of sense.

    I have two questions which I hope are fairly easy, but I’m no genius when it comes to this stuff, so please bare with my potentially obvious questions.

    1. I understand that custom output formats can be created, and see all the variables that can be used in the administration page, but I’m not sure of the exact syntax required when creating one. Let’s say for example that I want to have a format which displays “Title – Description; size; hits” How would I type that into the admin field exactly (something like):

    Name: Page
    Format: {title}{description-autop, – ,; }{size}{hits}

    Would that be syntax (including the brackets)?

    2. If I create a custom output format, can I then use it on a page to display all the downloads for a particular category, and would the tag look like this [download_cat#id#format=Page]? (I understand that ID refers to the category ID.)

    Thanks for any assistance at clarifying these questions.

Viewing 6 replies - 1 through 6 (of 6 total)
  • [download_cat#id#format=Page]

    this is incorrect. format id needs to me numeric.

    [download_cat#id#format=1]

    Mike

    (@jolley_small)

    Solefald is correct, use the ID of the custom format, not its name.

    how would I show top downloads on a page ie Top Downloads page. When i put the Php script in the html page editor it doesnt show when saved, eve n when put it tags. Im a newb at wordpress and interacting scripts sorry if it sounds stupid. It works fine when put into a widget dcPHP widget, but not on the page.

    ok i figured out how to do it with dcoda widgets built in thing makes it come to this
    [dc_php code="<?php wp_dlm_show_downloads(1,25); ?>"]

    Thread Starter bjohnm

    (@bjohnm)

    OK, I have the custom format exactly as I want it, and it works so long as I use:

    [download#id#format=id]

    It perfectly displays the one single specific item associated with the id, in the format with the other “id.” (http://testsite.aiimne.org/resource-library/ — site under construction)

    But, what I want is a page which lists all the available downloads by category. I can accomplish that using [download_cat#id] (where id= the ID of the category). However, this only lists the “title” of the downloads in the specified category.

    I want to list all the downloads in that category with the entry for each item to be in the custom format.

    Anyone have an idea how to do that, or does anyone know if it is even possible.

    I tried the following:

    [#show_downloads#format=1] This results in nothing.

    [download_cat#1#format=1] In this format, it seems like it is close, as it returns “No downloads found” (There are downloads in Category 1, and if I just put in [download_cat#1] it works fine by displaying all downloads in the category, but with only the Title.

    I’m stuck and would appreciate any help. This would be a huge time saver for me.

    I’ve got the same problem. Still trying to figure out the category + custom problem, but maybe it will come with the next plugin update

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Plugin: WordPress Download Monitor] Questions about custom output formats and usage’ is closed to new replies.