How to generate a random quote anywhere in your webpage
Create a folder named "quotefolder". Create several new articles and enter your favourite quotes in each article's Article window individually (and keep the quote in one line, no ENTER or SHIFT-ENTER for this example):

Copy and paste the following code in a CityDesk variable, say "randomQuote" (you could also paste this code directly in your template), and add the variable command {$.randomQuote$} any place you desire within your template:
<script type="text/javascript">
<!--
var quotes=new Array({$foreach x in (folder "quotefolder")$}"{$x.body$}"{$between$},{$next$}); var selection=Math.floor(Math.random()*(quotes.length)); document.write(quotes[selection]);
//-->
</script>




