Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

  1. Index
  2. » Archives
  3. » file tags

#1 2006-07-01 14:12:29

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

file tags

r1396

Please check that file tags still work as they did before.

Offline

#2 2006-07-01 16:19:43

hcgtv
Archived Plugin Author
From: Key Largo, Florida
Registered: 2005-11-29
Posts: 2,722
Website

Re: file tags

The tags are the same as they were in r1393.

The diagnostics page does not check /include/txp_file.php

Offline

#3 2006-07-05 16:06:28

rui
Member
From: Espinho, Portugal
Registered: 2005-04-28
Posts: 65

Re: file tags

Not working like they did before :-(

In r1422

Appears the notice: “select id from txp_file where filename”

<code>
<!— txp tag trace:
… <txp:file_download_link filename=“pas.vcf”> [SQL (0,001056): select id from txp_file where filename] </txp:file_download_link>

[ ~~~ secondpass ~~~ ] —>
</code>

<br/ >
All the Best,
rui

Offline

#4 2006-07-05 23:33:20

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: file tags

Sorry, can you run that by me again? What do you get now versus what you’d expect? Please quote exactly any warning/error messages you receive, in their entirety (because they usually include line numbers, so that tells me where to start looking). :)

Offline

#5 2006-07-06 08:41:44

rui
Member
From: Espinho, Portugal
Registered: 2005-04-28
Posts: 65

Re: file tags

Mary wrote:

Sorry, can you run that by me again? What do you get now versus what you’d expect? Please quote exactly any warning/error messages you receive, in their entirety (because they usually include line numbers, so that tells me where to start looking). :)

Hi Mary,

Example:
<code><txp:file_download_link filename=“dionus.vcf”>dionus</txp:file_download_link></code>

Before:
Link to the “dionus” vcard -> ok!

Now:
No link!!!
Error message: “select id from txp_file where filename”
No line numbers…

I’ll mail you a copy of the entire tag trace.

Thanks in advance,
rui

Offline

#6 2006-07-06 09:07:12

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: file tags

Thanks Rui. Try r1429.

Offline

#7 2006-07-06 13:13:37

rui
Member
From: Espinho, Portugal
Registered: 2005-04-28
Posts: 65

Re: file tags

Mary wrote:

Thanks Rui. Try r1429.

Another problem solved by Mary.
The End. :-)

All the Best,
rui

Offline

#8 2006-07-06 13:18:52

phiw13
Plugin Author
From: South-Western Japan
Registered: 2004-02-27
Posts: 3,595
Website

Re: file tags

Mary wrote:

Thanks Rui. Try r1429.

with this <txp:file_download_link id="2"><txp:file_download_name /></txp:file_download_link>, I just get a empty space. I’d expect the name of the file.

If I do this <txp:file_download_link id="2">download: <txp:file_download_name /></txp:file_download_link>, I get [p]<a href="http://127.0.0.1/file_download/Array">download: </a>[/p]

All this within an article. A download page/form works correctly… (?).
Stack trace on your way in a moment.

Last edited by phiw13 (2006-07-06 13:33:56)


Where is that emoji for a solar powered submarine when you need it ?
Sand space – admin theme for Textpattern
phiw13 on Codeberg

Offline

#9 2006-07-07 15:41:11

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: file tags

Ok, thanks.

Offline

#10 2006-07-07 16:55:13

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: file tags

Okay, try r1431.

Offline

#11 2006-07-08 00:21:08

phiw13
Plugin Author
From: South-Western Japan
Registered: 2004-02-27
Posts: 3,595
Website

Re: file tags

Mary wrote:

Okay, try r1431.

Works nicely here. Correct display, correct download url.
Thanks.


Where is that emoji for a solar powered submarine when you need it ?
Sand space – admin theme for Textpattern
phiw13 on Codeberg

Offline

  1. Index
  2. » Archives
  3. » file tags

Board footer

Powered by FluxBB