Home
Download
Add-ons
Help
Forum
Organisation
Project
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
May 26, 2012, 01:32:32 AM
1 Hour
1 Day
1 Week
1 Month
Forever
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
WebsiteBaker Community Forum
English
WebsiteBaker 2.x discussion
(Moderator:
Argos
)
Skinable frontend account template - first try :)
Pages:
1
[
2
]
Go Down
Author
Topic: Skinable frontend account template - first try :) (Read 5835 times)
crnogorac081
AddOn Development
Offline
Posts: 1706
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
Wow, I coded something myself: PM Messanger Modul ,Searchbox with suggestions
D. Peeters
Offline
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, 11:34:56 AM
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:
<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"> </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
nice design!!!
could you please re-upload the attachments? i wanna use it as well! (hope i may
)
Logged
Argos
Moderator
Offline
Posts: 2161
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
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
Posts: 360
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
crnogorac081
AddOn Development
Offline
Posts: 1706
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
Wow, I coded something myself: PM Messanger Modul ,Searchbox with suggestions
crnogorac081
AddOn Development
Offline
Posts: 1706
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
Wow, I coded something myself: PM Messanger Modul ,Searchbox with suggestions
D. Peeters
Offline
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
crnogorac081
AddOn Development
Offline
Posts: 1706
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
Wow, I coded something myself: PM Messanger Modul ,Searchbox with suggestions
Stefek
WebsiteBaker Org e.V.
Online
Posts: 4884
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.
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
Posts: 1706
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
Wow, I coded something myself: PM Messanger Modul ,Searchbox with suggestions
crnogorac081
AddOn Development
Offline
Posts: 1706
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
Wow, I coded something myself: PM Messanger Modul ,Searchbox with suggestions
Stefek
WebsiteBaker Org e.V.
Online
Posts: 4884
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
"In a time of universal deceit, telling the truth becomes a revolutionary act."
- George Orwell, Nineteen eighty-four (1984)
Pages:
1
[
2
]
Go Up
Jump to:
Please select a destination:
-----------------------------
General
-----------------------------
=> General Announcements
=> Security Announcements
=> Documentation
=> WebsiteBaker Website Showcase
=> Guest Area & Off-Topic
-----------------------------
English
-----------------------------
=> WebsiteBaker 2.9
===> Announcements
===> Help/Support
=====> Modules / Extensions
===> Suggestions
===> Software bugs
=> Help & Support
=> Modules
=> Droplets (PHP code for use with Droplet module) & Snippets (raw PHP code)
=> jQuery
=> Templates, Menus & Design
=> WebsiteBaker Language Files
=> WebsiteBaker 2.x discussion
=> WebsiteBaker 3
=> Archive (posts up to 2007)
-----------------------------
Deutsch (German)
-----------------------------
=> Ankündigungen
=> WebsiteBaker 2.9
===> Ankündigungen
===> Hilfe/Support
=====> Module / Extensions
===> Vorschläge
===> Softwarefehler
===> Erfahrungs und Testberichte
=> Hilfe/Support
=> Module & Snippets
=> Templates & Design
=> Tutorials
=> jQuery
=> Diskussion über WB
=> Off-Topic
=> Archiv für Themen bis 2007
-----------------------------
Nederlands (Dutch)
-----------------------------
=> Aankondigingen
=> Hulp & Ondersteuning
=> Niet-Terzake (Off Topic)
-----------------------------
Francais (French)
-----------------------------
=> Help/Support
-----------------------------
Italiano (Italian)
-----------------------------
=> Help/Support
-----------------------------
Bakery (WB shop module)
-----------------------------
=> Bakery English
=> Bakery Deutsch
-----------------------------
KeepInTouch (Multi Contact Module)
-----------------------------
=> KeepInTouch English
=> KeepInTouch Deutsch
Loading...