Cotonti / Open Source PHP Content Management FrameworkContent Management Framework

Forums / Cotonti / Extensions / Custom Header Message on POST

Gökhan YILDIZ
#38334 2013-11-05 15:59

open your plugin and

add

$msg = cot_import('msg', 'G', 'INT');
if ($msg == 'customID'){ header("Location: message.php?msg=customID"); }

open your /lang/en/message.en.lang.php

find:

$L['msg951_body'] = 'Your session is no longer valid. Please try again.';

add after:

//Custom Message
$L['msgCUSTOMID_title'] = 'custom message title';
$L['msgCUSTOMID_body'] = 'custom message details';

 

Gökhan YILDIZ