WebsiteBaker Logo
  • *
  • Templates
  • Help
  • Add-ons
  • Download
  • Home
*
Welcome, Guest. Please login or register.

Login with username, password and session length
 

News


WebsiteBaker 2.13.6 is now available!


Will it continue with WB? It goes on! | Geht es mit WB weiter? Es geht weiter!
https://forum.websitebaker.org/index.php/topic,32340.msg226702.html#msg226702


The forum email address board@websitebaker.org is working again
https://forum.websitebaker.org/index.php/topic,32358.0.html


R.I.P Dietmar (luisehahne) and thank you for all your valuable work for WB
https://forum.websitebaker.org/index.php/topic,32355.0.html


* Support WebsiteBaker

Your donations will help to:

  • Pay for our dedicated server
  • Pay for domain registration
  • and much more!

You can donate by clicking on the button below.


  • Home
  • Help
  • Search
  • Login
  • Register

  • WebsiteBaker Community Forum »
  • General Community »
  • Global WebsiteBaker 2.8.x discussion »
  • Skinable frontend account template - first try :)
  • Print
Pages: 1 [2]   Go Down

Author Topic: Skinable frontend account template - first try :)  (Read 30858 times)

Offline crnogorac081

  • Posts: 2162
  • Gender: Male
Re: Skinable frontend account template - first try :)
« Reply #25 on: November 30, 2009, 04:08:24 PM »
Yea I know, I am thinking to disable  that combo box :) Just wanted to show it fully featured :)

cheers
Logged
Web developer

Offline D. Peeters

  • Posts: 128
Re: Skinable frontend account template - first try :)
« Reply #26 on: November 30, 2009, 04:50:55 PM »
Quote from: crnogorac081 on November 19, 2009, 11:26:23 PM
Quote from: Stefek on November 19, 2009, 06:21:12 PM
Quote from: crnogorac081 on October 23, 2009, 12:34:56 PM
Guys,

I will post it as soon as I get home :) Also I want to try some design adjustments :)

cheers

Hello 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

Oupsss , totaly forgot :( sorry

Ok here it is:

Ih index.php of the temlate add following code into head

Code: [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 . &#39;/account/login_form.php&#39;);
            
?>

            </div>

            <div class="left right">
             <?php
                
include (WB_PATH . &#39;/account/signup_form.php&#39;);
            
?>

               </div>
     
        <?php
        
} elseif (FRONTEND_LOGIN AND $wb->is_authenticated()) {
        
        include (
WB_PATH . &#39;/account/preferences_form.php&#39;);

        
?>


        <?php
        
}
        
?>



        </div>
    </div> <!-- /login -->    

    <!-- The tab on top -->    
    <div class="tab">
        <ul class="login">
            <li class="left">&nbsp;</li>
            <li>
                <?php
                
echo $TEXT[&#39;WELCOME_BACK&#39;].&#39;&nbsp;&#39;;
                
if($wb->is_authenticated()) {
                echo 
$wb->get_display_name().&#39; | <a href="&#39;.LOGOUT_URL.&#39;">&#39;.$MENU[&#39;LOGOUT&#39;].&#39;</a> &#39;;
                
} else{
                echo &
#39;Guest&#39;;
                
}
                
?>

           
            </li>
            <li class="sep">|</li>
            <li id="toggle">
                <?php
                
if($wb->is_authenticated()) {
                echo &
#39;<a id="open" class="open" href="#">&#39;.$MENU[&#39;PREFERENCES&#39;].&#39;</a>&#39;;
                
} else{
                echo &
#39;<a id="open" class="open" href="#">Log In | Register</a>&#39;;
                
}
                
?>

                <a id="close" style="display: none;" class="close" href="#">Close Panel</a>            
            </li>
            <li class="right">&nbsp;</li>
        </ul>
    </div> <!-- / top -->
   
</div> <!--panel -->

And add this account-htt (attached) into your template dir.


that should do the trick :)

cheers


nice design!!!

could you please re-upload the attachments? i wanna use it as well! (hope i may :P)
Logged

Argos

  • Guest
Re: Skinable frontend account template - first try :)
« Reply #27 on: November 30, 2009, 04:51:16 PM »
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.
Logged

Offline Vincent

  • Posts: 376
  • Gender: Male
    • websites voor ondernemers
Re: Skinable frontend account template - first try :)
« Reply #28 on: November 30, 2009, 06:19:08 PM »
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.

Logged

Offline crnogorac081

  • Posts: 2162
  • Gender: Male
Re: Skinable frontend account template - first try :)
« Reply #29 on: November 30, 2009, 08:11:11 PM »
Quote from: Argos on November 30, 2009, 04:51:16 PM
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.

Yes, unfortunately site is slow because I use some free web hosting provider..

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..

cheers
Logged
Web developer

Offline crnogorac081

  • Posts: 2162
  • Gender: Male
Re: Skinable frontend account template - first try :)
« Reply #30 on: November 30, 2009, 08:15:42 PM »
Quote from: Vincent on November 30, 2009, 06:19:08 PM
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.



Yes, JQuery script must be inserted in head tag :)

<script type="text/javascript" src="<?php WB_URL; ?>/include/jquery/jquery-min.js"></script>

cheers
Logged
Web developer

Offline D. Peeters

  • Posts: 128
Re: Skinable frontend account template - first try :)
« Reply #31 on: November 30, 2009, 10:40:02 PM »
Quote from: Vincent on November 30, 2009, 06:19:08 PM
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.


thanks
Logged

Offline crnogorac081

  • Posts: 2162
  • Gender: Male
Re: Skinable frontend account template - first try :)
« Reply #32 on: December 01, 2009, 09:00:44 PM »
Quote from: crnogorac081 on November 30, 2009, 08:11:11 PM
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..

Does anyone know how to stop the redirection ?
Logged
Web developer

Offline Stefek

  • Posts: 6177
  • Gender: Male
  • ("ړ)
Re: Skinable frontend account template - first try :)
« Reply #33 on: December 05, 2009, 07:48:56 PM »
Hello Ivan,

I don't know right now where to change it.
But without core changes it won't be possible (I guess).

For me it's too much to include all the settings etc. into this slider anyway and I would suggest to have only the login box in there.  :wink:
And settings and registration form I would do on single pages (the way it is right now).

Kind Regards,
Stefek
Logged
"Gemeinsam schafft man mehr."

gemeinsam
1. mehreren Personen oder Dingen in gleicher Weise gehörend, eigen
2. in Gemeinschaft [unternommen, zu bewältigen]; zusammen, miteinander
#Duden

Offline crnogorac081

  • Posts: 2162
  • Gender: Male
Re: Skinable frontend account template - first try :)
« Reply #34 on: December 05, 2009, 10:16:56 PM »
I would probablz dissable most of settings :)

I am hoping some developer could answer this.. :)

cheers
Logged
Web developer

Offline crnogorac081

  • Posts: 2162
  • Gender: Male
Re: Skinable frontend account template - first try :)
« Reply #35 on: January 05, 2010, 09:48:49 PM »
Quote from: crnogorac081 on December 01, 2009, 09:00:44 PM
Quote from: crnogorac081 on November 30, 2009, 08:11:11 PM
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..

Does anyone know how to stop the redirection ?

Hi,

I am still wondering how to stay on same page after loging in.. I hope someone who knows core files well could help me..

cheers
Logged
Web developer

Offline Stefek

  • Posts: 6177
  • Gender: Male
  • ("ړ)
Re: Skinable frontend account template - first try :)
« Reply #36 on: January 05, 2010, 09:52:39 PM »
Hello Ivan,

for it is no issue of this patch itself, it's maybe better to open an new thread for your question?
Otherwise it is a little bit misleading here? What you think ;-)

Kind Regards,
Stefek
Logged
"Gemeinsam schafft man mehr."

gemeinsam
1. mehreren Personen oder Dingen in gleicher Weise gehörend, eigen
2. in Gemeinschaft [unternommen, zu bewältigen]; zusammen, miteinander
#Duden

  • Print
Pages: 1 [2]   Go Up
  • WebsiteBaker Community Forum »
  • General Community »
  • Global WebsiteBaker 2.8.x discussion »
  • Skinable frontend account template - first try :)
 

  • SMF 2.0.19 | SMF © 2017, Simple Machines
  • XHTML
  • RSS
  • WAP2