Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#13 2005-06-26 15:18:25
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: upm_file_packets
“…where is this plugin’s preference…”
Under “extensions”?
Offline
Re: upm_file_packets
great plugin mary – thank you!
Offline
#15 2005-06-26 18:19:55
- Niconemo
- Member
- From: Rhône-Alpes, France
- Registered: 2005-04-18
- Posts: 557
Re: upm_file_packets
> mary wrote:
>Under “extensions”?
lol ! Never seen that tab before ! Shame on me ! Thank you very much.
Nico
Offline
#16 2005-07-07 01:21:00
- sivni
- Gone, but not forgotten
- From: Norway, Hamar
- Registered: 2004-10-27
- Posts: 39
Re: upm_file_packets
excellent plugin! Thanks! Its already implemented on textgarden.org (which is still under construction) In action here: http://textgarden.org/category/blog
Any chance of a tag that can output articles based on download count? Something like the standard txp:article tag , just with an option to sort by number of downloads.
Its the last thing I need for Textgarden.org.
Offline
#17 2005-07-07 06:04:21
- Niconemo
- Member
- From: Rhône-Alpes, France
- Registered: 2005-04-18
- Posts: 557
Re: upm_file_packets
> sivni wrote:
> Any chance of a tag that can output articles based on download count?
Yes, any chance ? ô_Ô (oh pleeeeeeease !)
It’s the only missing thing in plugin (I love it). I suppose it’s hard to do but that would be fantastic.
Last edited by Niconemo (2005-07-07 06:09:39)
Nico
Offline
#18 2005-07-07 23:06:54
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: upm_file_packets
Hm. It’d be tricky, since I wouldn’t want to interfere with the article tag in any other way. Still, I’ll see if I can do it.
The site is looking nice, Sivert.
Offline
#19 2005-07-08 00:26:48
- sivni
- Gone, but not forgotten
- From: Norway, Hamar
- Registered: 2004-10-27
- Posts: 39
Re: upm_file_packets
It could be a modification to the chh_article_custom plugin.
>The site is looking nice, Sivert.
Thanks! :)
Last edited by sivni (2005-07-08 00:27:07)
Offline
#20 2005-07-08 01:32:45
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: upm_file_packets
Well, that plugin is an extended version of the older versions of several built-in tags. I’d like to avoid making copies of many tags unless they were really really really (really!) needed. ;)
Can you guys show me the pages and forms you are currently using to make your lists? It may make it a lot easier for me to determine if and how I can do this, so I can know what this would me used for most often. I can see why you’d want this, I’d just like to make the implementation a lot clearer in my mind.
If your forms/pages are really long (or you don’t want everyone see and/or copy your stuff), don’t paste them here. Email them to me (either right in the email or attached as a file or files). I’d really appreciate it.
Offline
#21 2005-07-08 16:28:21
- sivni
- Gone, but not forgotten
- From: Norway, Hamar
- Registered: 2004-10-27
- Posts: 39
Re: upm_file_packets
List forms? Sure. Excerpts following. Do you need all the code? Its just the standard stuff really.
Page code
<code><txp:if_article_list>
<txp:article form=“Layout_Preview” limit=“20” />
</txp:if_article_list></code>
Layout_Preview form
<code><txp:if_custom_field name=“Download file id”>
<txp:upm_article_file_list form=“Layout_Download” /><br/>
</txp:if_custom_field></code>
Layout_Download form
<code><txp:file_download_link>Download</txp:file_download_link> (<txp:file_download_downloads />)</code>
Last edited by sivni (2005-07-08 16:32:18)
Offline
#22 2005-07-08 18:38:58
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: upm_file_packets
Okay, I didn’t want to ‘copy’ the article tag, but it looks like I’d need to. I tried one other method I could think of, but it doesn’t really work well. I thought of another, but that won’t work either, since it would be more complicated than just making a version of the article tag.
Offline
#23 2005-07-10 19:23:23
- sivni
- Gone, but not forgotten
- From: Norway, Hamar
- Registered: 2004-10-27
- Posts: 39
Re: upm_file_packets
A copy of the article tag isn’t bad, it just needs frequent updates if you expect it to behave exactly like the original. Or so I imagine. Perhaps it isn’t that big of a deal… :)
Offline
#24 2005-07-10 23:58:48
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: upm_file_packets
That would be it exactly. But that’s all right, it won’t be a humongous job.
Offline