1
catalin
<{download.title}> on viewing single file
  • 2003/12/4 6:15

  • catalin

  • Just popping in

  • Posts: 30

  • Since: 2003/9/4 7


when a visitor views a single file ( download/singlefile.php ) i want the name of the download the user is viewing to apear in the <title> of the web-site.

I managed to do this with topics and stor.title but i am stuck at download.title.

can anyone help me ?

2
CBlue
Re: <{download.title}> on viewing single file

Open up your modules/mydownloads/templates/mydownloads_singlefile.html

Look for:

<div>
<table width="97%" cellspacing="2" cellpadding="2" border="0">
<tr>
<td class="newstitle"><{$category_path}></td>
</tr>
</table>
</div>

After <{$category_path}> put <{$file}>

If this doesn't work, maybe you can find the right code to put here because this should be the place where the name of the file would go.

3
catalin
Re: <{download.title}> on viewing single file
  • 2003/12/4 18:52

  • catalin

  • Just popping in

  • Posts: 30

  • Since: 2003/9/4 7


10x anyway i found out \how to do it.

so, you modifiy yout theme to show in the title <{$file.title}>

then go and edit /modules/downloads/include/functions.php

and find

/images/pop.gif

and delete the { ... / images/pop.gif } until the " return '' " and upload it. don`t forget to update the theme.

( removing pop.gif removes the <image src= > in the title )

don`t wory about some title when viewing the downloads section. They are a mistake.

you will soon find out

Login

Who's Online

187 user(s) are online (128 user(s) are browsing Support Forums)


Members: 0


Guests: 187


more...

Donat-O-Meter

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

Latest GitHub Commits