Hi there,
Here is a toughy for me, which hopefully someone could shed some light on.
My site is here.
I recently posted a question about getting my Log In greeting into the header and having it work. Here is the post.
Now I have the 'Welcome Guest, would you like to log yourself in?', which is great.
When I click on it and log myself in I get this, 'Hello *****! Would you like to see our newest additions?'.
I would like to change this to 'Hello *****! When your finished you can log out here.', or something like that.
Refer to the post to see what code I put in the header.
I'm pretty sure this is what I have to change, located in '/popoutportraits.com/cart/includes/functions/functions_customers.php'
Any help or suggestions would be appreciated.Code:// Return a customer greeting function zen_customer_greeting() { if (isset($_SESSION['customer_id']) && $_SESSION['customer_first_name']) { $greeting_string = sprintf(TEXT_GREETING_PERSONAL, zen_output_string_protected($_SESSION['customer_first_name']), zen_href_link(FILENAME_PRODUCTS_NEW)); } else { $greeting_string = sprintf(TEXT_GREETING_GUEST, zen_href_link(FILENAME_LOGIN, '', 'SSL'), zen_href_link(FILENAME_CREATE_ACCOUNT, '', 'SSL')); } return $greeting_string; } function zen_count_customer_orders($id = '', $check_session = true) { global $db; if (is_numeric($id) == false) { if ($_SESSION['customer_id']) { $id = $_SESSION['customer_id']; } else { return 0; } } if ($check_session == true) { if ( ($_SESSION['customer_id'] == false) || ($id != $_SESSION['customer_id']) ) { return 0; } }
Thanks again,
Happyworker



