1
recupsoft
Looking for mydownloads modification
  • 2004/11/1 8:19

  • recupsoft

  • Friend of XOOPS

  • Posts: 151

  • Since: 2003/10/30


Hi,
the template mydownloads_block_new.html displays the new downloads with Name + Date.
I want to add the Version field.
Of course the template must be changed and maybe functions.php or another file...
But I'm not strong enough to find that

Thanks for your help.
Fred

2
smdcom
Re:Looking for mydownloads modification

you can take a look at modules/mydownloads/blocks/mydownloads_top.php

$result $xoopsDB->query("SELECT lid, cid, title, [color=ff0000]version,[/color] date, hits FROM ".$xoopsDB->prefix("mydownloads_downloads")." WHERE status>0 ORDER BY ".$options[0]." DESC",$options[1],0);
.
.
.
.
[
color=ff0000]$download['version'] = $myrow['version'];[/color]


then you can put the <{$download.version}> in your template...

hope that make sense..

3
recupsoft
Re:Looking for mydownloads modification
  • 2004/11/1 11:50

  • recupsoft

  • Friend of XOOPS

  • Posts: 151

  • Since: 2003/10/30



4
marcionline
Re:Looking for mydownloads modification

Great. Works for me!!

Well, I have a question too: how enable html tags in description field?

Other: I like put more links by id (like Peak Site mydownloads module) but links would be for "mirrors" and not for extensions. Here a code that maybe help.

Thanks for help.


5
smdcom
Re:Looking for mydownloads modification

@marcionline: why don't you try wfdownload. it's base on mydownloads.. here

http://www.wf-projects.com

6
marcionline
Re:Looking for mydownloads modification

Quote:

smdcom wrote:
@marcionline: why don't you try wfdownload. it's base on mydownloads.. here

http://www.wf-projects.com


I will try this module. Thanks smdcom.


7
smdcom
Re:Looking for mydownloads modification

your welcome.. happy xoopsing..

Login

Who's Online

220 user(s) are online (155 user(s) are browsing Support Forums)


Members: 0


Guests: 220


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits