Thanks, that was certainly straightforward enough - I haven't yet got the hang of my_changes just yet, but have made a few changes and borrowed some code, to create 3 language variables:
'
reminder' - Reminder (instead of Warning or Note)
Value: "Reminder"
'
reminder_message' - Editable message (via Languages) to be shown to administrators in control panel.
Value: "Blah blah blah..."
'
reminder_message_edit_link' - Contains link to Languages search for 'reminder_message', thus it can be clicked on to take you straight to the field which requires editing for displaying the message.
Value: "[<a href="admin.php?q=reminder_message&dispatch=languages.manage&x=0&y=0">Click Here to Change Text</a>]"
<?php
//
// $Id$
//
if (!defined('AREA')) { die('Access denied'); }
if ($mode == 'login') {
if (!empty($_SESSION['auth']['user_id'])) {
fn_set_notification('E', fn_get_lang_var('reminder'), fn_get_lang_var('reminder_message'), fn_get_lang_var('reminder_message_edit_link'), 'S');
}
}
?>
However, reminder and reminder_message are displayed, but regardless what value I enter into reminder_message_link_edit, nothing is rendered.
What I am trying to do is have the message display like so:
Reminder: Blah Blah Blah [Click Here to Change Text]
Any idea why this wouldn't work? I've looked at other calls to 'fn_set_notification' in the cart and they use the same syntax...
Thanks!