Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-12-17 16:41:06

gaza
Member
Registered: 2004-11-22
Posts: 29
Website

File download problem in article lists only

Hi everyone. Here’s my problem:

When I am watching my articles are displayed in lists, all file download links receive the same id as the first of the page.
If you click on an individual article, then it doesn’t have any problems, and each article has the correct file_download id attached to itself.

The custom download form I’m using is this:

<txp:file_download_link><img src="<txp:site_url />images/down.gif" alt="Descargar para tu iPod" border="0" /></txp:file_download_link> <p><b>File</b>: <txp:file_download_name /></p> <p><b>Size</b>: <txp:file_download_size format="auto" decimals="2" /> <p><b>Downloaded</b>: <span class="red"><txp:file_download_downloads /></span> veces</p>

The way I’ve got my Page displaying articles is simply this:

<txp:article limit="2" />

That’s it. It’s limited to 2 articles, but both get the same download id. I’ve changed that number to different things, but the problem persists.

Here’s the tag I’m using to create the download, as I write the articles:

<txp:file_download id="55" form="canal-download-form" /> (canal-download-form is the form I posted at the beggining of the post).

Does anyone know what could be happening? Last night it was working ok. Now it’s messed up.

Thanks for any help you can give me.

-G.

Last edited by gaza (2006-12-17 16:51:03)

Offline

#2 2006-12-17 16:46:13

gaza
Member
Registered: 2004-11-22
Posts: 29
Website

Re: File download problem in article lists only

Sorry, should have googled a bit longer:

file_download issues

Anyways. Let’s see if I can fix it.

)

Offline

Board footer

Powered by FluxBB