Found a but of a bug im my xslt. I have a lsit of news pages with a summary tab, which contains some summary text and a pdf file link.
The page summaries are listed correcty on the news landing page, but the the pdf link for the first news article is added to each news summary. The XSLT is:
Position of media item
Hi All
Found a but of a bug im my xslt. I have a lsit of news pages with a summary tab, which contains some summary text and a pdf file link.
The page summaries are listed correcty on the news landing page, but the the pdf link for the first news article is added to each news summary. The XSLT is:
I beleive that the following line is causing the duplicate pdf links:
If I change 'fileLink'][1], to 'fileLink'][2] the pdf for the second news artilce is repeated.
Any ideas
Using Umbraco version 4.04.2
Thanks
Eddie
Hi Eddie,
I believe you should change this line
to
So that it pulls the info from the current node in the for-each loop, not the current page
I don't think you need the [1] either so I removed it.
Hi Tom
Thanks for the reply, try your amend, but no links where displayed at all. However following on from your sample I manged to get it going with:
Eddie
is working on a reply...