attaching pdf files

Fragen zum Erstellen von Templates für webEdition.
webeditor0000

attaching pdf files

Beitragvon webeditor0000 » Di 1. Dez 2009, 17:41

Hi,

I am a newbie in webedition, and my main problem is, i cannot find much tutorials for webEdition in English.
Ok, my question is, i have uploaded a pdf file to the document, and i created an internal link to it from the object.
but when i try to access it in my template it appears something weird.
this is how i tried to access it in my tempalte:
---------------
<we:ifFieldNotEmpty match="source"> - <we:field name="source"/></we:ifFieldNotEmpty>
---------------
this is how i got the result.
---------------
a:39:{s:2:"id";s:0:"";s:6:"obj_id";s:0:"";s:6:"anchor";s:0:"";s:9:"accesskey";s:0:"";s:8:"tabindex";s:0:"";s:4:"lang";s:0:"";s:3:"rel";s:0:"";s:3:"rev";s:0:"";s:8:"hreflang";s:0:"";s:6:"params";s:0:"";s:5:"title";s:0:"";s:4:"href";s:51
---------------

please help..

Dirk Einecke
Senior Member
Beiträge: 3735
Registriert: Do 1. Jan 1970, 02:00
Wohnort: Karlsruhe
Kontaktdaten:

Re: attaching pdf files

Beitragvon Dirk Einecke » Di 1. Dez 2009, 18:03

Hi,

use <we:field name="source" type="href"/>

Dirk

webeditor0000

Re: attaching pdf files

Beitragvon webeditor0000 » Mo 7. Dez 2009, 12:30

Thank you it worked..:)


Zurück zu „webEdition Templates erstellen (we:Tags)“

Wer ist online?

Mitglieder in diesem Forum: 0 Mitglieder und 87 Gäste