1
fla-ts
vieuw of download pages
  • 2014/5/29 14:49

  • fla-ts

  • Friend of XOOPS

  • Posts: 204

  • Since: 2005/1/4 1



2
goffy
Re: vieuw of download pages
  • 2014/5/29 15:30

  • goffy

  • Just can't stay away

  • Posts: 543

  • Since: 2010/12/27


Hi fla-ts

1) which download module and version?
2) did you check module options?

3
fla-ts
Re: vieuw of download pages
  • 2014/5/29 15:40

  • fla-ts

  • Friend of XOOPS

  • Posts: 204

  • Since: 2005/1/4 1


I think wfdownloads
Can you see that on my website ?
http://www.fla-ts.com

4
Bleekk
Re: vieuw of download pages
  • 2014/5/30 6:08

  • Bleekk

  • Theme Designer

  • Posts: 941

  • Since: 2002/12/14


yes you can.
you have to edit the templates of the downloads module. It should be the ..._singlefile.html template

5
fla-ts
Re: vieuw of download pages
  • 2014/5/30 6:55

  • fla-ts

  • Friend of XOOPS

  • Posts: 204

  • Since: 2005/1/4 1


I see :
WF-Dowloads

6
Bleekk
Re: vieuw of download pages
  • 2014/5/30 8:55

  • Bleekk

  • Theme Designer

  • Posts: 941

  • Since: 2002/12/14


can you please write more then 3 words?

what do you see?
did you try to edit the templates?
do you know where templates are and how to modify them?
are you familiar with html?

7
fla-ts
Re: vieuw of download pages
  • 2014/5/30 9:03

  • fla-ts

  • Friend of XOOPS

  • Posts: 204

  • Since: 2005/1/4 1


can you please write more then 3 words?
Meaning
what do you see?
did you try to edit the templates?
do you know where templates are and how to modify them?
I'm afraid not
are you familiar with html?
i'm afraid not to good

8
Bleekk
Re: vieuw of download pages
  • 2014/5/30 9:15

  • Bleekk

  • Theme Designer

  • Posts: 941

  • Since: 2002/12/14


to delete the part "other files by ..."

open this file in a text editor
modules/wfdownloads/templates/wfdownloads_singlefile.html

scroll at the bottom and delete this part of the code
<div>
    <
b><{$smarty.const._MD_WFDOWNLOADS_OTHERBYUID}> <{$download.submitter}>b>
    <
ul>
        <{foreach 
item=download_by_user from=$downloads_by_user}>
        <
li>
            <
a href="<{$xoops_url}>/modules/wfdownloads/singlefile.php?cid=<{$download_by_user.cid}>&lid=<{$download_by_user.lid}>">
                <{
$download_by_user.title}>
            a>
            (<{
$download_by_user.published}>)
            <{/foreach}>
        li>
    ul>
div>

9
Bleekk
Re: vieuw of download pages
  • 2014/5/30 9:17

  • Bleekk

  • Theme Designer

  • Posts: 941

  • Since: 2002/12/14


to hide this part
http://fla-ts.com/uploads/HIDE_2.png

delete from the same file this part
<div>
    <
small>
        <{if 
$download.use_mirrors == && $download.add_mirror == 1}>
        <
a href="mirror.php?cid=<{$download.cid}>&lid=<{$download.id}>"><{$smarty.const._MD_WFDOWNLOADS_ADDMIRROR}>a>
        &
nbsp;|&nbsp;
        <{/if}>
        <{if 
$download.use_reviews == 1}>
        <
a href="review.php?cid=<{$download.cid}>&lid=<{$download.id}>"><{$smarty.const._MD_WFDOWNLOADS_REVIEWTHISFILE}>a>
        &
nbsp;|&nbsp;
        <{/if}>
        <{if 
$download.use_ratings == 1}>
        <
a href="ratefile.php?cid=<{$download.cid}>&lid=<{$download.id}>"><{$smarty.const._MD_WFDOWNLOADS_RATETHISFILE}>a>
        &
nbsp;|&nbsp;
        <{/if}>
        <{if 
$download.useradminlink == true}>
        <
a href="submit.php?cid=<{$download.cid}>&lid=<{$download.id}>"><{$smarty.const._MD_WFDOWNLOADS_MODIFY}>a>
        &
nbsp;|&nbsp;
        <{/if}>
        <{if 
$download.use_brokenreports == 1}>
        <
a href="brokenfile.php?cid=<{$download.cid}>&lid=<{$download.id}>"><{$smarty.const._MD_WFDOWNLOADS_REPORTBROKEN}>a>
        &
nbsp;|&nbsp;
        <{/if}>
        <
a target="_top" href="mailto:?subject=<{$download.mail_subject}>&body=<{$download.mail_body}>"><{$smarty.const._MD_WFDOWNLOADS_TELLAFRIEND}>a>
        <{if 
$com_rule <> 0}>
        &
nbsp;|&nbsp;
        <
a href="#comments"><{$smarty.const._COMMENTS}> (<{$download.comments}>)a>
        <{/if}>
    small>
div>

10
fla-ts
Re: vieuw of download pages
  • 2014/5/30 9:41

  • fla-ts

  • Friend of XOOPS

  • Posts: 204

  • Since: 2005/1/4 1


Okay, I will try it today or tommorow, do I have to delete the compleet teksts or just the colored things of both of the answers I recieved ?
maybe a stupid qeustion

Login

Who's Online

337 user(s) are online (210 user(s) are browsing Support Forums)


Members: 0


Guests: 337


more...

Donat-O-Meter

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

Latest GitHub Commits