Random Content

4 posts by 2 authors in: Forums > CMS Builder
Last Post: July 7, 2009   (RSS)

By Moonworks - July 7, 2009

Is there a simple way to show random content.

I want to show a quote and who said the quote randomly at the top of each page.

The perfect solution would be to have two text boxes, one for the quote and the other for the quoter, then I can work on the look of each bit.

If that isn't pssible, then just to have a wysiwyg editor and show that.
High quality residential training for writers, actors & Film Making - Click Here for further information

Re: [Damon] Random Content

By Moonworks - July 7, 2009

Thanks for that

The problem I get with it, is the following error:

Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /var/www/vhosts/moonworksuk.com/subdomains/blackhound/httpdocs/quote.php on line 12
High quality residential training for writers, actors & Film Making - Click Here for further information

Re: [Moonworks] Random Content

By Moonworks - July 7, 2009

It's ok, I just had to remove the require_once "/var/www/vhosts....... line, due to it being an include.

Thanks for the help, and making it so simple [cool]
High quality residential training for writers, actors & Film Making - Click Here for further information