Page 1 of 11
uCoz Community » uCoz Modules » File Catalog, Site Catalog, Publisher, Ad Board, Online Games » How to add download button ?
How to add download button ?
Ervinn
Posts: 9
Reputation: 0

Message # 1 | 8:21 PM
Hi, i created my own download button but i don't now how to insert in file catalog, and when i open some movie when i click on this button to download this movie ?

Please, help !
Animorph
Posts: 2855
Reputation: 189

Message # 2 | 12:11 PM
Ervinn, Go CP CP ---> Design ---> Design Management (templates) ---> File Catalog ---> Page with full entry text and associated comments ---> Find:

Code
<?if($FILE_URL$ || $RFILE_URL$ || $SCREEN_URL$)?>[ <?if($FILE_URL$)?><a href="$FILE_URL$"><!--<s5223>-->Download from this server<!--</s>--></a> ($FILE_SIZE$)<?endif?>
<?if($RFILE_URL$)?> · <a href="$RFILE_URL$" target="_blank"><!--<s5224>-->Download from mirror<!--</s>--></a> ($RFILE_SIZE$)<?endif?>


Edit this code to something similar to this (it depends on what you want the buttons to look like for the different download forms)

Code
<?if($FILE_URL$ || $RFILE_URL$ || $SCREEN_URL$)?>[ <?if($FILE_URL$)?><a href="$FILE_URL$"><img scr="http://download-image-url" border="0"></a> ($FILE_SIZE$)<?endif?>
<?if($RFILE_URL$)?> · <a href="$RFILE_URL$" target="_blank"><img scr="http://download-mirror-image-url" border="0"></a> ($RFILE_SIZE$)<?endif?>


I Hope that this helps.

Rengelene
Posts: 4
Reputation: 0

Message # 3 | 9:16 PM
I wrote that code, but the button don't want to display !!! angry angry angry

Sory for my bad Enlgish
Sunny
Posts: 9296
Reputation: 456

Message # 4 | 10:53 AM
Rengelene, have you replaced http://download-mirror-image-url by your image link?
I'm not active on the forum anymore. Please contact other forum staff.
PKGamerX
Posts: 90
Reputation: 5

Message # 5 | 10:34 PM
This is an old topic, but I have questions...

I want a download button instead of default text link. Like, changing "Download file from this server" > BUTTON HERE

Like one below



This is a large size, but an example only. If it is possible to add button instead of default download link, it will be a good thing!

Btw, Animorph said above is wrong. I've tried that and not worked. Then I tried it by my own way, and it worked.
Sunny
Posts: 9296
Reputation: 456

Message # 6 | 9:09 AM
PKGamerX, for example you have

Code
<a href="$FILE_URL$">Download from this server</a>


Replace it by

Code
<a href="$FILE_URL$"><img src="your_image_link"></a>

I'm not active on the forum anymore. Please contact other forum staff.
PKGamerX
Posts: 90
Reputation: 5

Message # 7 | 1:58 PM
Sunny, yes I know this. And I understood what are you saying. But I asked for a Button. Not a Button-like image. Is it possible?
Paradox
Posts: 3276
Reputation: 145

Message # 8 | 4:31 PM
PKGamerX, the only way to achieve the look you are aiming to acquire above is through the use of images and an onHover event. Otherwise you can style your own HTML button using CSS. smile
Developer, Designer, Communicator.
Been here for 6 years and counting.
Visit me at alexmoloney.me.
PKGamerX
Posts: 90
Reputation: 5

Message # 9 | 5:14 PM
Ah! Paradox, I'm not skilled in CSS. But I have a little knowledge of HTML. happy

Can you help me with this? smile

Thank You!
lildavid
Posts: 1
Reputation: 0

Message # 10 | 7:38 AM
please i have some vedios on my ucoz site but i don't know how/were to a downloadlink to it please help me
bigblog
*boops*
Posts: 1475
Reputation: 71

Message # 11 | 8:36 AM
lildavid, can you provide your website URL? Also, please tell us, which module and method are you using to upload your videos to your site.
hey i'm joe, please don't call me on my real name because you're gonna misspell or mispronounce it and it drives me nuts

i do not work for the company anymore, sorry for the late replies
Korijs
Posts: 250
Reputation: 5

Message # 12 | 4:12 PM
Nana_Kesse
Posts: 6
Reputation: 0

Message # 13 | 12:01 PM
Downloading problem

please why people cant download from my site again? when click on the download button is rather play the song in different tab ? pls kindly assist me to get auto download
Sunny
Posts: 9296
Reputation: 456

Message # 14 | 1:38 PM
Nana_Kesse, please provide the link to your website or better to the specific page where the download doesn't work.
I'm not active on the forum anymore. Please contact other forum staff.
uCoz Community » uCoz Modules » File Catalog, Site Catalog, Publisher, Ad Board, Online Games » How to add download button ?
Page 1 of 11
Search: