Umfangreicheres Download-Tool als Dateiliste?

Hier bekommst Du deutschsprachigen Support bezüglich offizieller Module für phpwcms. Keine Fehlermeldungen oder Erweiterungswünsche bitte!
Post Reply
User avatar
DecoyCollective
Posts: 22
Joined: Wed 24. Feb 2010, 10:26

Umfangreicheres Download-Tool als Dateiliste?

Post by DecoyCollective »

ich arbeite gerade daran, eine download-liste für unsere website zu erstellen. dort werden die verschiedensten sachen reinkommen: Bilder, Zip-Files, PDFs u.a.

hab nun die dateiliste ausprobiert, aber irgendwie bin ich da zu fest eingeschränkt. gibts irgend ein modul für phpwcms, welches eine download-liste mit mehr funktionen hat?

es wäre super, wenn ich bei jedem eingetragenen download sachen wie "Titel" und "Beschreibung" eingeben könnte und für jeden download auch ein vorschau-bild hinterlegen kann, damit ich auch den PDFs und den ZIP-Files oder beispielsweise einer video-datei ein vorschau-bild zuweisen kann (welches auch immer die gleichen grössen und proportionen hat, im gegensatz zur dateiliste, wo die bilder einfach auf die thumbnail-grösse gestaucht werden). noch cooler wärs natürlich, wenn man das thumbnail auch gleich in einer lightbox vergrössern könnte, damit man sich ein bild vom inhalt des downloads machen kann...

ein aktuelles beispiel für einen download ist folgendes: ein Wallpaper soll angeboten werden, als ZIP-Files welches drei JPG-Dateien enthält mit dem selben Wallpaper für jeweils unterschiedliche Bildschirmauflösungen)...

gibts mit diesem funktionsumfang schon irgend ein modul? das wäre super, denn beim versuch, sowas selbst zu programmieren würde ich an meine grenzen stossen ;)
danke schonmal für eure hilfe!
Decoy Collective
Film & Video | Photography | Graphics
http://www.decoycollective.com


Decoy Collective: A young and innovative bunch of film makers with a zest for action, based in Bern, Switzerland!
User avatar
update
Moderator
Posts: 6455
Joined: Mon 10. Jan 2005, 17:29
Location: germany / outdoor

Re: Umfangreicheres Download-Tool als Dateiliste?

Post by update »

Da ist (m)ein Template dafür:

Code: Select all

<!--FILE_SETTINGS_START//-->
; this is formatted like WIN.INI
; please: do not use comments for value lines
icon_path 			= "img/icons/"
icon_name 			= "small_icon_{FILE_EXT}.gif"
thumbnail			= 1
thumbnail_width		= 50
thumbnail_height	= 50
thumbnail_crop		= 1
file_size_round		= 1
file_size_space		= " "
date_format			= "%d/%m/%y"
set_locale			= "de_DE@Euro"
<!--FILE_SETTINGS_END//-->
[TITLE]<h4>{TITLE}</h4>
[/TITLE][SUBTITLE]<h5>{SUBTITLE}</h5>
[/SUBTITLE]
<div style="margin-top: 1em;margin-bottom: 1em; padding-top: 0.5em; border-bottom: 0.1em dashed #ba0000;">
<!--FILE_ENTRY_START//-->
	<div class="fileEntry" style="margin-bottom:0.5em; padding-bottom: 0.5em;">
		<h2>
			[FILE_IMAGE_ELSE]<img src="{FILE_ICON}" alt="" border="0" />[/FILE_IMAGE_ELSE]
			[FILE_IMAGE]<img src="{FILE_IMAGE}" alt="" border="" />[/FILE_IMAGE]
			<a href="{FILE_LINK}"{FILE_TARGET}>[FILE_TITLE]{FILE_TITLE}[/FILE_TITLE][FILE_TITLE_ELSE]{FILE_NAME}[/FILE_TITLE_ELSE]</a>
		</h2>
		<p>[FILE_DESCRIPTION]
		{FILE_DESCRIPTION}<br />[/FILE_DESCRIPTION]
		{FILE_EXT}, {FILE_SIZE}, {FILE_DATE}, {FILE_DOWNLOADS} downloads
		</p>
		
	</div>

<!--FILE_ENTRY_END//-->
</div>
Wie Du siehst, kann man "crop" einstellen --> immer die gleiche Bildgröße
Wahrscheinlich kann man sogar einen Link für ein (lightbox)Popup einbauen....
It's mostly all about maintaining two or three customer's sites Still supporter for the band Mykket Morton. Visit Mykket Morton on FB. Listen Mykket Morton and live videos on youtube.
Now building a venue for young artists to get wet on stage, rehearsal rooms, a studio, a guitar shop - yes I'm going to build some guitars.
User avatar
DecoyCollective
Posts: 22
Joined: Wed 24. Feb 2010, 10:26

Re: Umfangreicheres Download-Tool als Dateiliste?

Post by DecoyCollective »

super, ich schau mir das mal an.

vielen dank!
Decoy Collective
Film & Video | Photography | Graphics
http://www.decoycollective.com


Decoy Collective: A young and innovative bunch of film makers with a zest for action, based in Bern, Switzerland!
User avatar
DecoyCollective
Posts: 22
Joined: Wed 24. Feb 2010, 10:26

Re: Umfangreicheres Download-Tool als Dateiliste?

Post by DecoyCollective »

claus wrote:Da ist (m)ein Template dafür:
habs mir nun angeschaut... so weit bin ich leider auch schon gekommen... da hab ich aber immer noch das problem, dass es mir beispielsweise bei ZIP-files ein hässliches ZIP-icon auflistet statt einem von mir definierten thumbnail des ZIP-inhaltes...

ich denk mal, das wird mit diesem modul schwierig, sowas einzubauen...
Decoy Collective
Film & Video | Photography | Graphics
http://www.decoycollective.com


Decoy Collective: A young and innovative bunch of film makers with a zest for action, based in Bern, Switzerland!
User avatar
update
Moderator
Posts: 6455
Joined: Mon 10. Jan 2005, 17:29
Location: germany / outdoor

Re: Umfangreicheres Download-Tool als Dateiliste?

Post by update »

Mal als Idee:

Code: Select all

icon_path          = "img/icons/myown_pics/"
icon_name          = "small_icon_{FILE_IMAGE}.gif"
Oder so ähnlich...
It's mostly all about maintaining two or three customer's sites Still supporter for the band Mykket Morton. Visit Mykket Morton on FB. Listen Mykket Morton and live videos on youtube.
Now building a venue for young artists to get wet on stage, rehearsal rooms, a studio, a guitar shop - yes I'm going to build some guitars.
User avatar
flip-flop
Moderator
Posts: 8178
Joined: Sat 21. May 2005, 21:25
Location: HAMM (Germany)
Contact:

Re: Umfangreicheres Download-Tool als Dateiliste?

Post by flip-flop »

Das geht alles mit diesem ContentPart (kein Modul).
Der Schalter

Code: Select all

lightbox_init  = [0|1]
ist eingebaut und funktioniert in soweit, dass die richtige JS-Lib und SlimBox geladen wird.
Allerdings muss der Bildaufruf in der Light/Slimbox noch eingebunden werden.
Ideal wäre natürlich auch die Einbindung des "Copyright" (ist wohl in der Mache) und des "Info-Textes" aus der Dateizentrale.
Copyright siehe: http://forum.phpwcms.org/viewtopic.php?p=122986#p122986

Auch diesem CP können mit einem CP-Trigger diese logisch zusammenhängenden Dinge beigebracht werden - im Sinne von "Wenn ich diese Taggeritis sehe ... RT hier, RT da" :D

Knut
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
User avatar
update
Moderator
Posts: 6455
Joined: Mon 10. Jan 2005, 17:29
Location: germany / outdoor

Re: Umfangreicheres Download-Tool als Dateiliste?

Post by update »

:lol:
rrrrt rrrt rrrt, rrrt rrrt rrrt, rrr-rrt rrrt-rrrt-rrrt rrt-rrrrt.... (zu singen nach der weise "Muss I denn, muss I denn...")
It's mostly all about maintaining two or three customer's sites Still supporter for the band Mykket Morton. Visit Mykket Morton on FB. Listen Mykket Morton and live videos on youtube.
Now building a venue for young artists to get wet on stage, rehearsal rooms, a studio, a guitar shop - yes I'm going to build some guitars.
User avatar
juergen
Moderator
Posts: 4556
Joined: Mon 10. Jan 2005, 18:10
Location: Weinheim
Contact:

Re: Umfangreicheres Download-Tool als Dateiliste?

Post by juergen »

Hallo Jungs,

was ihr das macht ist ja schon gemapte Taggeritis ! http://lumma.de/2005/07/20/gemappte-taggeritis/
User avatar
flip-flop
Moderator
Posts: 8178
Joined: Sat 21. May 2005, 21:25
Location: HAMM (Germany)
Contact:

Re: Umfangreicheres Download-Tool als Dateiliste?

Post by flip-flop »

Hier eine schnelle Lösung um auch Copyright und Infotext aus der Dateizentrale darzustellen - oder schreibe ein Issue oder beauftrage Oliver die Funktionalität in den Core zu bringen.

Copyright & Infotext mit Tags und die LightBox ist auch schon drin .....

Image

Knut
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
User avatar
flip-flop
Moderator
Posts: 8178
Joined: Sat 21. May 2005, 21:25
Location: HAMM (Germany)
Contact:

Re: Umfangreicheres Download-Tool als Dateiliste?

Post by flip-flop »

Eine erweiterte Variante könnte auch Bilder zu Dokumenten (PDF, TXT, DOC, ZIP ...) darstellen und vergrößern.

Im CP würde dazu die Bild-ID in den Beschreibungstext eingesetzt mit dem Tag: [ID:BIld-ID]
Bsp.: [ID:32] → ZIP-Description|FileName-ZIP[ID:32]|Title-ZIP|_blank|70x100x1

Die Größe des Vorschaubildes wird ebenfalls in diesem Text bestimmt |WxHxc Z.B. 70x100x1

Image

Knut
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
design4minds
Posts: 9
Joined: Sat 23. Jan 2010, 09:23

Re: Umfangreicheres Download-Tool als Dateiliste?

Post by design4minds »

Was wäre denn eine angemessene Spende? Und kann ich dann das Bild als Vorschaubild vergrößerbar per lightbox hinterlegen, sowie in dem rechten Bereich einen Downloadlink anbieten?
User avatar
flip-flop
Moderator
Posts: 8178
Joined: Sat 21. May 2005, 21:25
Location: HAMM (Germany)
Contact:

Re: Umfangreicheres Download-Tool als Dateiliste?

Post by flip-flop »

Angemessene Spende: Denk dir etwa aus, ich gebe keine Höhe vor.

Das Vorschaubild ist wie beschrieben mit der LightBox vergößerbar, ein Downloadlink kann angeboten werden.

Knut
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
Post Reply