WebsiteBaker 2.13.8 is now available!
R.I.P Dietmar (luisehahne) and thank you for all your valuable work for WBhttps://forum.websitebaker.org/index.php/topic,32355.0.html
Quote from: Stefek on November 19, 2009, 06:21:12 PMQuote from: crnogorac081 on October 23, 2009, 12:34:56 PMGuys, I will post it as soon as I get home Also I want to try some design adjustments cheersHello Ivan,you didn't post your trick till now, right?Could you explain how you did include all the boxes in top?Kind Regards,StefekOupsss , totaly forgot sorry Ok here it is:Ih index.php of the temlate add following code into headCode: [Select]<link href="<?php echo TEMPLATE_DIR; ?>/account-htt/css/slide.css" rel="stylesheet" type="text/css" media="screen" />AND ALSO<script src="<?php echo TEMPLATE_DIR; ?>/account-htt/js/slide.js" type="text/javascript"></script>Now, just below <body> tag I added this code:Code: [Select]<!-- Panel --><div id="toppanel"> <div id="panel"> <div class="content clearfix"> <?php if(FRONTEND_LOGIN AND !$wb->is_authenticated()) { ?> <div class="left"> <h1>Welcome to this Web-site</h1> <h2>This is great site..</h2> <p class="grey">Next step is to drop text from from global block!</p> <h2>This is Header</h2> <p class="grey">this is raw design.. but its working :)</p> </div> <div class="left"> <?php include (WB_PATH . '/account/login_form.php'); ?> </div> <div class="left right"> <?php include (WB_PATH . '/account/signup_form.php'); ?> </div> <?php } elseif (FRONTEND_LOGIN AND $wb->is_authenticated()) { include (WB_PATH . '/account/preferences_form.php'); ?> <?php } ?> </div> </div> <!-- /login --> <!-- The tab on top --> <div class="tab"> <ul class="login"> <li class="left"> </li> <li> <?php echo $TEXT['WELCOME_BACK'].' '; if($wb->is_authenticated()) { echo $wb->get_display_name().' | <a href="'.LOGOUT_URL.'">'.$MENU['LOGOUT'].'</a> '; } else{ echo 'Guest'; } ?> </li> <li class="sep">|</li> <li id="toggle"> <?php if($wb->is_authenticated()) { echo '<a id="open" class="open" href="#">'.$MENU['PREFERENCES'].'</a>'; } else{ echo '<a id="open" class="open" href="#">Log In | Register</a>'; } ?> <a id="close" style="display: none;" class="close" href="#">Close Panel</a> </li> <li class="right"> </li> </ul> </div> <!-- / top --> </div> <!--panel -->And add this account-htt (attached) into your template dir.that should do the trick cheers
Quote from: crnogorac081 on October 23, 2009, 12:34:56 PMGuys, I will post it as soon as I get home Also I want to try some design adjustments cheersHello Ivan,you didn't post your trick till now, right?Could you explain how you did include all the boxes in top?Kind Regards,Stefek
Guys, I will post it as soon as I get home Also I want to try some design adjustments cheers
<link href="<?php echo TEMPLATE_DIR; ?>/account-htt/css/slide.css" rel="stylesheet" type="text/css" media="screen" />AND ALSO<script src="<?php echo TEMPLATE_DIR; ?>/account-htt/js/slide.js" type="text/javascript"></script>
<!-- Panel --><div id="toppanel"> <div id="panel"> <div class="content clearfix"> <?php if(FRONTEND_LOGIN AND !$wb->is_authenticated()) { ?> <div class="left"> <h1>Welcome to this Web-site</h1> <h2>This is great site..</h2> <p class="grey">Next step is to drop text from from global block!</p> <h2>This is Header</h2> <p class="grey">this is raw design.. but its working :)</p> </div> <div class="left"> <?php include (WB_PATH . '/account/login_form.php'); ?> </div> <div class="left right"> <?php include (WB_PATH . '/account/signup_form.php'); ?> </div> <?php } elseif (FRONTEND_LOGIN AND $wb->is_authenticated()) { include (WB_PATH . '/account/preferences_form.php'); ?> <?php } ?> </div> </div> <!-- /login --> <!-- The tab on top --> <div class="tab"> <ul class="login"> <li class="left"> </li> <li> <?php echo $TEXT['WELCOME_BACK'].' '; if($wb->is_authenticated()) { echo $wb->get_display_name().' | <a href="'.LOGOUT_URL.'">'.$MENU['LOGOUT'].'</a> '; } else{ echo 'Guest'; } ?> </li> <li class="sep">|</li> <li id="toggle"> <?php if($wb->is_authenticated()) { echo '<a id="open" class="open" href="#">'.$MENU['PREFERENCES'].'</a>'; } else{ echo '<a id="open" class="open" href="#">Log In | Register</a>'; } ?> <a id="close" style="display: none;" class="close" href="#">Close Panel</a> </li> <li class="right"> </li> </ul> </div> <!-- / top --> </div> <!--panel -->
Nice! The site is very slow though, possibley due to the image rotator in the header. And if I save something in the slide-out panel, I get redireced to a normal admin page in the site.
Nice feature.I tried it on a template, and it shows, but the toggle function (slider) doesn't seem to work. I followed your instructions. Are you sure you haven't forgotten something, or am I missing something?Regards,Vincent@Peeters: the zip file is still attached under the post you copied.
And yes, you are right, it redirects to account page, as that is set by defult in WB when you change something.. but I cant figure out the way how not to be redirected and stay on same page..
Quote from: crnogorac081 on November 30, 2009, 08:11:11 PMAnd yes, you are right, it redirects to account page, as that is set by defult in WB when you change something.. but I cant figure out the way how not to be redirected and stay on same page..Does anyone know how to stop the redirection ?