Well I figured it out!!!
First I installed a blank side box
Then I edited the files to be called welcome_sidebox_
You will have to edit inside the files to replace blank with welcome.
I then activated the sidebox in the admin-->Tools-->Layout Boxes and made it the top entry.
I commented out all of the div's in the sidebox files so that it would look like it was just at the top without a header.
In the templates/CUSTOM/sideboxes/tpl_welcome_sidebox.php the following code is the only active code, everything else is commented out.
Code:
if (SHOW_CUSTOMER_GREETING == 1) {
echo "<div class='greeting'>" . zen_customer_greeting() . "</div>";
}
The define statements are in includes/languages/english/extra_definitions/CUSTOM/welcome_sidebox_defines.php
Code:
if (STORE_STATUS == '0') {
define('TEXT_GREETING_GUEST', 'Welcome <span class="greetUser">Guest!</span><br><a href="%s">Log In</a>');
} else {
define('TEXT_GREETING_GUEST', 'Welcome, please enjoy our online showcase.');
}
define('TEXT_GREETING_PERSONAL', 'Welcome %s!<br><a href="%s">Log Out</a>');
This is the code from includes/modules/sideboxes/CUSTOM/welcome_sidebox.php
Code:
$show_welcome_sidebox = true;
if ($show_welcome_sidebox == true) {
require($template->get_template_dir('tpl_welcome_sidebox.php',DIR_WS_TEMPLATE, $current_page_base,'sideboxes'). '/tpl_welcome_sidebox.php');
For the Log Out link to actually go to the log off page I had to edit functions_customers.php in the functions folder. I didn't want to do this because when I upgrade it will be overwritten if I don't remember but I couldn't find a way to make a custom functions file.
Line 140 in includes/functions/functions_customers.php:
Code:
$greeting_string = sprintf(TEXT_GREETING_PERSONAL, zen_output_string_protected($_SESSION['customer_first_name']), zen_href_link(FILENAME_LOGOFF));
So now I have a very nice Welcome Guest! Log In in the sidebox or a personalized Welcome Friend! Log Off in the sidebox.
I hope that saves someone hours of looking around I know it would have saved me!!!