I'm new to CMSMS, but the looks and feels are great.
In my pas CMS system i used the next code:
Code: Select all
// random header number (it was on the index.php)
$headerimg = rand(1,2);
// So i can run the script in a TPL file
$inhoud = str_replace("{headerimg}",$headerimg,$inhoud);
//This is in the view file (theme file) where {headerimg} was generated @ the index.php
<img src="images/header_{headerimg}.jpg">Thanks so far.



