Page 1 of 1

Links zu Dokumente

Posted: Tue Jul 22, 2008 10:20 am
by Alfonso
Ich habe in einem Upload-Verzeichnis mehrere PDF und DOC Dokumente. Diese sollen in einer Seite zum Download angeboten werden. Natürlich kann ich jedes Dokument auf der Seite einzeln verlinken, doch würde ich es gerne automatisieren, wie es z.B. unter http://www.buergerstiftung-hamburg.de/?seite=29 zu sehen ist.

Gibt es ein Modul oder Tag ähnlich wie {imgGallery}, welches dieses macht?

Gruß
Alfonso

Re: Links zu Dokumente

Posted: Thu Jul 31, 2008 11:11 am
by hibr
Ja gibt es.

Das Plugin (Tag) heißt "Filelist" und kann unter: http://dev.cmsmadesimple.org/projects/filelist heruntergeladen werden. Du musst es nur in dein "plugins" Verzeichnis kopieren. Hilfe findest du wie gewohnt unter Erweiterungen->Tags->filelist im Backend.

Ein Beispiel findest du hier: http://www.daec-duesseldorf.de/pressematerial.html.

Re: Links zu Dokumente

Posted: Mon Aug 04, 2008 1:15 pm
by Altin
Hallo!

Ich habe Filelist eingebunden {filelist {filelist path='uploads/pdf/'}. Es wird aber nichts angezeigt.
Im Verzeichns pdf liegen mehrere pdf-Dateien.
Was mache ich falsch?
Vielen Dank für Eure Hilfe.

Meine Version: CMS Made Simple 1.3.1 "Havana"

Re: Links zu Dokumente

Posted: Mon Aug 04, 2008 1:41 pm
by RonnyK
Did you check the source of the page you introduced.....

{filelist path='uploads/pdf/'}

You described a different insert....

Ronny

Re: Links zu Dokumente

Posted: Mon Aug 04, 2008 2:06 pm
by Altin
Hi Ronny,

this is what i typed in the content: {filelist path='uploads/pdf/'}

What do you mean with Source?

I am a Newbie in CMSMadeSimple.

Take a look at the Site http://www.pro-argentum.com/

Under "Presseberichte" i want to show all PDF´s that are in the directory upload/pdf. But nothin happens...

Re: Links zu Dokumente

Posted: Mon Aug 04, 2008 2:12 pm
by RonnyK
Kannst du mal linken zu ein einzeln pdf....

Damit die richtige Pfaden angezeigt werden..

Ronny

Re: Links zu Dokumente

Posted: Mon Aug 04, 2008 2:16 pm
by Altin
Hi Ronny,

ich habe einen Link bei "Presseberichte" eingefügt...

Re: Links zu Dokumente

Posted: Mon Aug 04, 2008 2:40 pm
by hibr
Altin wrote: this is what i typed in the content: {filelist path='uploads/pdf/'}
Hi Altin and Ronny,

@Altin:
Sorry, I gave the wrong URL to you. I use "file_list" tag from Lewis Stewart not "filelist" from Carsten Wiedmann. You can download the first one at:

http://dev.cmsmadesimple.org/projects/file-list-table

I call the tag like:

Code: Select all

{file_list folder='uploads/subfolder/'}
Sorry for the confusion.

Regards, Hani

Re: Links zu Dokumente

Posted: Mon Aug 04, 2008 2:44 pm
by Altin
Hi Hani!

Thank you. I puted the Tag in my Content. The PDF´s are all shown now. but there is an
error-message shown. Can you help me?

The message is:

Warning: Missing argument 3 for smarty_cms_function_file_list(), called in /mnt/web7/32/95/51857295/htdocs/tmp/templates_c/73^%%70^707^707A8977%%content%3Acontent_en.php on line 5 and defined in /mnt/web7/32/95/51857295/htdocs/plugins/function.file_list.php on line 20

shown on

http://www.pro-argentum.com/index.php?page=referenzen

Alex

Re: Links zu Dokumente

Posted: Mon Aug 04, 2008 3:12 pm
by hibr
Ich glaube wir können wieder deutsch posten. Ist ja auch das deutsche Board hier.

Zum Problem: Ich hatte glaube ich auch anfangs ein Problem mit dem Script. Da ist ein Bug drin.  Ich habe es minimal modifiziert (ins Deutsche übersetzt) und den Fehler entfernt. Schau dir mein Bug-Report unter http://dev.cmsmadesimple.org/tracker/in ... &atid=1911 an. Du kannst die Originaldatei selbst ändern oder mein modifiziertes Script verwenden.

Ich habe mein Script hier mal angehängt. Du musst nur die Dateiendung nach php ändern und in Dein Plugins-Verzeichnis kopieren. Entferne auf jeden Fall die Orginaldatei von Lewis.

Du musst mein modifiziertes Script so aufrufen ("_de" anhängen):

Code: Select all

{file_list_de folder='uploads/subfolder/'}
Gruß Hani

[GELÖST] Re: Links zu Dokumente

Posted: Tue Aug 05, 2008 7:28 am
by Altin
Hallo Hani!

Funktioniert einwandfrei! Vielen Dank für deine Hilfe!

Gruß Alex