I know that it is perhaps a little bit late (just before the final version of CMSimple_XH) but I often use the following code in my projects:
Code: Select all
#CMSimple header('Location:http://www.anotherpage.com'); #
Gerd
Code: Select all
#CMSimple header('Location:http://www.anotherpage.com'); #
Hmm, I think it would be better to release the final WITH this important feature. Other where we said that page_params is a part of CMSimple_XH.Gert wrote: So we can publish CMSimple_XH 1.0 even if that feature still is not included.
This diskuss is not new. I also think, meta_tags and page_params are not good without CMSimple_XH, because the pagedata.php is not included in the backup on the server and not downloadable in settings.johnjdoe wrote:Other where we said that page_params is a part of CMSimple_XH.
That's the point. But to be sure to have a full-backup the pluginloader should be hooked on CMSimple_XH.Gert wrote:I also think, meta_tags and page_params are not good without CMSimple_XH, because the pagedata.php is not included in the backup on the server
Code: Select all
$pd_router -> add_interest('header_location');
Code: Select all
if(trim($values['header_location']) !== ''){
$sc = fsockopen($values['header_location']);
if($sc){close($sc);
$c[$key] = '#CMSimple header("Location:http://'. $values['header_location'] .'"); #';
}
}