Links zu Dokumente

Hilfe zu Modulen und Tags
Post Reply
Alfonso
Forum Members
Forum Members
Posts: 12
Joined: Tue Jul 22, 2008 10:05 am

Links zu Dokumente

Post 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
User avatar
hibr
Forum Members
Forum Members
Posts: 73
Joined: Fri Feb 08, 2008 11:22 pm

Re: Links zu Dokumente

Post 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.
Hanis Sammelsurium - How To's, Erfahrungs- und Meinungsberichte
Altin

Re: Links zu Dokumente

Post 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"
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm

Re: Links zu Dokumente

Post by RonnyK »

Did you check the source of the page you introduced.....

{filelist path='uploads/pdf/'}

You described a different insert....

Ronny
Altin

Re: Links zu Dokumente

Post 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...
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm

Re: Links zu Dokumente

Post by RonnyK »

Kannst du mal linken zu ein einzeln pdf....

Damit die richtige Pfaden angezeigt werden..

Ronny
Altin

Re: Links zu Dokumente

Post by Altin »

Hi Ronny,

ich habe einen Link bei "Presseberichte" eingefügt...
User avatar
hibr
Forum Members
Forum Members
Posts: 73
Joined: Fri Feb 08, 2008 11:22 pm

Re: Links zu Dokumente

Post 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
Hanis Sammelsurium - How To's, Erfahrungs- und Meinungsberichte
Altin

Re: Links zu Dokumente

Post 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
User avatar
hibr
Forum Members
Forum Members
Posts: 73
Joined: Fri Feb 08, 2008 11:22 pm

Re: Links zu Dokumente

Post 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
Attachments

[The extension mpg has been deactivated and can no longer be displayed.]

Hanis Sammelsurium - How To's, Erfahrungs- und Meinungsberichte
Altin

[GELÖST] Re: Links zu Dokumente

Post by Altin »

Hallo Hani!

Funktioniert einwandfrei! Vielen Dank für deine Hilfe!

Gruß Alex
Post Reply

Return to “Module und Tags”