Welcome, Guest. Please login or register.
Did you miss your activation email?
May 26, 2012, 01:32:32 AM

Login with username, password and session length
Search:     Advanced search
Interested in joining the WebsiteBaker team?
For more Information read here or on our new website.
155533 Posts in 21713 Topics by 7738 Members
Latest Member: Pattieardathfe
* Home Help Search Login Register
Pages: 1 [2]   Go Down
Print
Author Topic: Skinable frontend account template - first try :)  (Read 5835 times)
crnogorac081
AddOn Development
*
Offline Offline

Posts: 1706



« Reply #25 on: November 30, 2009, 04:08:24 PM »

Yea I know, I am thinking to disable  that combo box Smiley Just wanted to show it fully featured Smiley

cheers
Logged

Wow, I coded something myself: PM Messanger Modul ,Searchbox with suggestions
D. Peeters

Offline Offline

Posts: 128


« Reply #26 on: November 30, 2009, 04:50:55 PM »

Guys,

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

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 Sad sorry

Ok here it is:

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

Code:
<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:

<!-- 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">&nbsp;</li>
            <li>
                <?php
                
echo $TEXT['WELCOME_BACK'].'&nbsp;';
                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">&nbsp;</li>
        </ul>
    </div> <!-- / top -->
   
</div> <!--panel -->

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


that should do the trick Smiley

cheers


nice design!!!

could you please re-upload the attachments? i wanna use it as well! (hope i may Tongue)
Logged
Argos
Moderator
**
Offline Offline

Posts: 2161


WWW
« 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

Jurgen Nijhuis
Argos Media
Heiloo, The Netherlands
WB Showcase: http://www.mywebsitebaker.com/pages/showcase.php?v&category_id=1242&count=30
----------------------------------------------------------------
Please don't request personal support, use the forums!
Vincent

Offline Offline

Posts: 360


WWW
« 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
crnogorac081
AddOn Development
*
Offline Offline

Posts: 1706



« Reply #29 on: November 30, 2009, 08:11:11 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

Wow, I coded something myself: PM Messanger Modul ,Searchbox with suggestions
crnogorac081
AddOn Development
*
Offline Offline

Posts: 1706



« Reply #30 on: November 30, 2009, 08:15:42 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 Smiley

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

cheers
Logged

Wow, I coded something myself: PM Messanger Modul ,Searchbox with suggestions
D. Peeters

Offline Offline

Posts: 128


« Reply #31 on: November 30, 2009, 10:40:02 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
crnogorac081
AddOn Development
*
Offline Offline

Posts: 1706



« Reply #32 on: December 01, 2009, 09:00:44 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

Wow, I coded something myself: PM Messanger Modul ,Searchbox with suggestions
Stefek
WebsiteBaker Org e.V.

Online Online

Posts: 4884



« 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

"In a time of universal deceit, telling the truth becomes a revolutionary act."
- George Orwell, Nineteen eighty-four (1984)
crnogorac081
AddOn Development
*
Offline Offline

Posts: 1706



« Reply #34 on: December 05, 2009, 10:16:56 PM »

I would probablz dissable most of settings Smiley

I am hoping some developer could answer this.. Smiley

cheers
Logged

Wow, I coded something myself: PM Messanger Modul ,Searchbox with suggestions
crnogorac081
AddOn Development
*
Offline Offline

Posts: 1706



« Reply #35 on: January 05, 2010, 09:48:49 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

Wow, I coded something myself: PM Messanger Modul ,Searchbox with suggestions
Stefek
WebsiteBaker Org e.V.

Online Online

Posts: 4884



« 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 wink

Kind Regards,
Stefek
Logged

"In a time of universal deceit, telling the truth becomes a revolutionary act."
- George Orwell, Nineteen eighty-four (1984)
Pages: 1 [2]   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!