4images Forum & Community

4images Modifications / Modifikationen => Mods & Plugins (Requests & Discussions) => Topic started by: Sheep707 on May 04, 2003, 12:08:20 AM

Title: Download nur wenn's auch was zum Downloaden gibt
Post by: Sheep707 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?
Title: English....
Post by: Sheep707 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?  :(
Title: Download nur wenn's auch was zum Downloaden gibt
Post by: Jan 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}
Title: yeah...
Post by: Sheep707 on May 06, 2003, 06:47:30 PM
:D  :D  :D  :D  :D  :D  :D
Es lauft!! Thx viel mal Jan
Title: Re: Download nur wenn's auch was zum Downloaden gibt
Post by: TorbenB on January 31, 2013, 11:57:56 PM
Wo füge ich das genau ein?
Title: Re: Download nur wenn's auch was zum Downloaden gibt
Post by: Jan-Lukas 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