Author Topic: Download nur wenn's auch was zum Downloaden gibt  (Read 8229 times)

0 Members and 1 Guest are viewing this topic.

Offline Sheep707

  • Full Member
  • ***
  • Posts: 165
    • View Profile
    • http://www.leeger.net
Download nur wenn's auch was zum Downloaden gibt
« on: May 04, 2003, 12:08:20 AM »
Der Downloadbutton ist immer sichtbar, meisst wird dann aber genau dasselbe Bild heruntergeladen wie es bereits in der Detailansicht zu sehen ist.

Ist es irgendwie möglich den Button nur dann anzuzeigen wenn eine andere Datei, sprich etwas im Feld "Download URL" abgespeichert ist?
Wer einen Rechtschreibefeher findet, kann ihn behalten!

Offline Sheep707

  • Full Member
  • ***
  • Posts: 165
    • View Profile
    • http://www.leeger.net
English....
« Reply #1 on: May 05, 2003, 09:05:44 PM »
Ok, in English

On a Picure-detail page is the Button “Download” every time visible. Can I mod that the Button is only visible when in the Field “Download URL” is save a path!

Or isn’t it possible?  :(
Wer einen Rechtschreibefeher findet, kann ihn behalten!

Offline Jan

  • Administrator
  • 4images Guru
  • *****
  • Posts: 5.024
    • View Profile
    • 4images - Image Gallery Management System
Download nur wenn's auch was zum Downloaden gibt
« Reply #2 on: May 06, 2003, 09:17:37 AM »
Probiere mal im Template details.html
Code: [Select]
{if image_download_url}
   {download_button}  {download_zip_button}
{endif image_download_url}
Your first three "must do" before you ask a question:
1. Forum rules
2. FAQ
3. Search

Offline Sheep707

  • Full Member
  • ***
  • Posts: 165
    • View Profile
    • http://www.leeger.net
yeah...
« Reply #3 on: May 06, 2003, 06:47:30 PM »
:D  :D  :D  :D  :D  :D  :D
Es lauft!! Thx viel mal Jan
Wer einen Rechtschreibefeher findet, kann ihn behalten!

Offline TorbenB

  • Pre-Newbie
  • Posts: 2
    • View Profile
Re: Download nur wenn's auch was zum Downloaden gibt
« Reply #4 on: January 31, 2013, 11:57:56 PM »
Wo füge ich das genau ein?

Offline Jan-Lukas

  • Addicted member
  • ******
  • Posts: 1.289
    • View Profile
    • Discover the New World of Kindersurprise
Re: Download nur wenn's auch was zum Downloaden gibt
« Reply #5 on: February 01, 2013, 12:28:06 AM »
steht doch da "details.html"

suche nach

{download_button}  {download_zip_button}

und ändere es in

{if image_download_url}
   {
download_button}  {download_zip_button}
{endif 
image_download_url}


LG

Danke Harald