I´m trying to add a pdf to a weblink via a TV, so that my customer easily can update the PDF when neccessary.
However since a weblink isn’t a document how do I get WF to understand that it should get the file.
I´m obviusly missing something here, but for the love of my life I can’t figure it out.
Any thoughts on how to make it work?
I tried all that doesn´t work now, so I´m guessing what works lies ahead...
Cheers
Amrit
This will work if you want it to be the first or last item.
http://wiki.modxcms.com/index.php/Wayfinder
FTA :
&outerTpl
the template chunk for the outer most container
Placeholders
[+wf.classes+] - where classes specifed will be inserted (includes class=" ")
[+wf.classnames+] - outputs the just the class names (without class=" ")
[+wf.wrapper+] - where inner content will be inserted
Example
<ul id="topnav"[+wf.classes+]>[+wf.wrapper+]</ul>
Change <ul id="topnav"[+wf.classes+]>[+wf.wrapper+]</ul> to
<ul id="topnav"[+wf.classes+]>[+wf.wrapper+]<li><a href="path to pdf">pdf name</a></li></ul>
That should add the pdf to the bottom, not elegant, but functional
Thanks for your reply.
I made it slightly different.
I created a weblink, and it is at the bottom.
I also made a template for it, added a TV so I can easily change the PDF when needed, and then I just added [+mypdf+] and voilá it worked.
Dunno why I didn´t do that from the beginning though...
Cheers