-
- 4,213 Posts
Try:
[[FileDownload? &getFolder=`assets/js` &tplList=`FileDownloads` &useHlt=`1` &evenClass=`evenrow` &oddClass=`oddrow`]]
"He can have a lollipop any time he wants to. That's what it means to be a programmer."
-
- 2,204 Posts
are you using RTE? cause it will change the & into & in the source I alway put my snippetcals insite a chunk (must be a way that the snippets translate the & back to & or the parser maybe? you can never use & in RTE’s thats realy a pain
-
- 4,213 Posts
Parser can handle the &
"He can have a lollipop any time he wants to. That's what it means to be a programmer."
-
- 786 Posts
looks like there are extra spaces in your chunk FileDownloads in the placeholders. the placeholders need the extra space between the [ + removed. They should look like this: [+filename+]
-
- 103 Posts
Hi everybody,
I have some difficulties to use your Snippet with my chunk :
here is my chunk FileDownload
<div id='downloads'>
<table class='tbldwn' cellspacing='0'>
<tr>
<th>Filename</th>
<th>Link</th>
</tr>
<hr>
<tr>
<td>[+filename+]</td>
<td><a href="[+link+]">GO</a></td>
</tr>
<hr>
</table>
</div>
Here is my call to your snippet
[!FileDownload?getFolder=`assets/docs` &tplList=`FileDownload`!]
When i use this, my chunk is not used by this snippet; is there an error in my Snippet Call ?
Configuration Apache + Modx + MSSQL 2008
===============================
Apache/2.4.3 (Win32) OpenSSL/1.0.1c PHP/5.4.8
OS : Windows 2008 R2
SGBDR : Microsoft SQL Server 2008 (express)
-
- 2,204 Posts
is there an option to number the rows?
like
1-image-description-etc
2-image-description-etc
3-image-description-etc
4-image-description-etc
5-image-description-etc
dimmy