[thelist] Joomla anyone? also PHP randomizer?
Paul.Bennett at mch.govt.nz
Sun Aug 23 15:25:47 CDT 2009
Assuming images are named swapImage1.jpg, swapImage2.jpg etc..
<img src="<?php echo randImage(); ?>" alt="" ..>
http://www.php.net has a great online function reference and helpful
example code also.
From: thelist-bounces at lists.evolt.org
[mailto:thelist-bounces at lists.evolt.org] On Behalf Of Jenni Beard
Sent: Saturday, 22 August 2009 1:27 p.m.
To: thelist at lists.evolt.org
Subject: [thelist] Joomla anyone? also PHP randomizer?
Increasingly frustrated here! I posted last week while trying to make
image randomize within a CSS layout. Thanks again for the help on that.
Now I have a new problem. The client wants Joomla added to the site,
has had it installed on his server (GoDaddy). I've used an Access based
before, but never Joomla or any other one. The CMS I was using
a proprietary one with the company I used to work for, was very simple
integrate with an html template. Joomla, apparently, is not.
So, now I've got this great template for my site, with ASP code to make
one background image switch out. And, Joomla's main page is a php page
it won't even read my ASP code. It appears as though I have to create
template somewhat differently than my usual method, though I'm finding
workarounds for that to simplify things a little.
Any suggestions? I don't know PHP at all, though I am guessing that
is a PHP function similar to that which I'm using in ASP to make the
background switch out (thank you again, Brian!). Or I could use
if I could figure that out. As I've mentioned previously, my web
is more in the marketing area, and the more technical things I am very
on-trying to learn, though!
Thanks for any help!
* * Please support the community that supports you. * *
For unsubscribe and other options, including the Tip Harvester
and archives of thelist go to: http://lists.evolt.org
Workers of the Web, evolt !
www.mch.govt.nz - www.teara.govt.nz - www.nzhistory.net.nz - www.nzlive.com
The information contained in this email message does not necessarily reflect the views of the Ministry for Culture and Heritage and may contain information that is confidential or subject to legal privilege. If you are not the intended recipient and receive this email in error: please notify the Ministry for Culture and Heritage by return email or telephone (64 4 499 4229) and delete this email; you must not use, disclose, copy or distribute this message or the information in it.
PLEASE CONSIDER THE ENVIRONMENT BEFORE YOU PRINT THIS EMAIL
More information about the thelist