Page 1 of 1

( RISOLTO ) Modulo download

Posted: Wed Sep 29, 2010 7:35 pm
by Rubio
Secondo voi quale è il modulo migliore per gestire i download, dividendo i file anche per categorie e mostrando il numero di download effettuati?

Grazie

Re: Modulo download

Posted: Thu Sep 30, 2010 7:43 am
by blast2007
Credo che tu abbia descritto le caratteristiche del modulo Uploads...

Ciao
blast

Re: Modulo download

Posted: Thu Sep 30, 2010 3:55 pm
by Rubio
Ma ho capito bene??
Il modulo Upload per gestire i download?

Re: Modulo download

Posted: Fri Oct 01, 2010 10:01 am
by blast2007
Non ci posso fare niente se si chiama cosi'...  ;D

Re: Modulo download

Posted: Wed Oct 13, 2010 6:21 pm
by Rubio
Ok il modulo funziona bene, vorrei però chiedervi se sapete dirmi quale stringa devo inserire nel sommario-template per far visualizzare il numero di download effettuati. ;D ;D

GRAZIE

Alfredo

Re: Modulo download

Posted: Thu Oct 14, 2010 7:53 am
by blast2007
Modifica il summary template cosi'

{if isset($input_filter) }
{$startform}
{$prompt_filter}{$input_filter}{$hidden_params}{$input_submit}
{$endform}

{$matches} {$matchestext}
{/if}

  {"\n"}
  {"\n"}
    {$name}
    Data UPL
    Dim.(Kb)
    N.Download
 
{foreach from=$items item=entry}
 
   
download_url}" >
      {if isset($entry->thumbnail_url)}
        {$thumbnail} thumbnail_url}" border="0" alt="bullet lista" />
      {else}
        iconurl}" border="0" alt="bullet lista" />      {/if}{$entry->description}
{$entry->summary}
    {$entry->date|date_format:"%d/%m/%Y"}
    {$entry->size}
    {$entry->downloads}
 
{/foreach}
{"\n"}

Dovrebbe andare.

ciao
blast

Re: Modulo download

Posted: Thu Oct 14, 2010 3:52 pm
by Rubio
OTTIMO  :D :D :D :D

Tra le altre cose ho visto che l'hai messo in tabella, ed è quello che avrei cercato di fare anch'io per ordinarli.

Meglio di così non potevo aspettarmi.

GRAZIE 1000  ;) ;).

Alfredo

Re: Modulo download

Posted: Thu Oct 14, 2010 4:26 pm
by blast2007
Scrivi [Risolto] nell'oggetto del topic.

ciao
blast

Re: ( RISOLTO ) Modulo download

Posted: Sun Oct 17, 2010 10:50 am
by Rubio
Avrei un altro problemi da risolvere con il modulo upload.

Poichè devo importare nel sito file che sono già stati scaricati, avrei la necessità di modificare il numero di downlad in modo che il conteggio non inizi da zero.

Si può fare?

Magari anche entrando nel database e inserendo il numero.

grazie

Re: ( RISOLTO ) Modulo download

Posted: Sun Oct 17, 2010 3:46 pm
by blast2007
Certo che si può fare...
Entra nel db mysql con phpmyadmin o simili e modifica la tabella
`cms_module_uploads_downloads`
aggiungendo le tante righe per ogni file del quale vuoi aumentare il numero dei download.

Es. (non testato)
Hai il file che corrisponde a file_id = 6 e vuoi portare a 10 il numero dei download? Allora aggiungi 10 righe identiche alla tabella, ovviamente con dati fittizi.
Una volta finito aggiungi alla tabella `cms_module_uploads_downloads_seq` l'ultimo numero di id.
Dovrebbe funzionare...

ciao
blast