Header Log In Help
| Author |
Message |
dadki


Joined: Dec 17, 2007 Posts: 158
|
Post subject: Header Log In Help Posted: Wed Dec 03, 2008 9:48 am |
|
hey
I started to make a Show/hide a nice Login Panel using Mootools 1.2 in the header which can be found at link :
web-kreation.com/index...otools-12/
I've paste path to css files and javascript form but I can not get to work as I want to show me here below:
After body tags :
Code:
<!-- Login -->
<div id="login">
<div class="loginContent">
<form action="" method="post" enctype="multipart/form-data" accept-charset="utf-8>
<label for="log"><b>Username: </b></label>
<input type="text" id="ulogin" class="field" name="ulogin" size="18" maxlength="25" />
<label for="pwd"><b>Pass:</b></label>
<input type="password" class="headerlogin" id="pwd" name="user_password" size="8" maxlength="15" />
<input type="submit" value=""class="button_login" />
<input type="hidden" name="index.php?name=Your_Account" value="login"/>
</form>
<div class="left">
<label for="rememberme"><input name="rememberme" id="rememberme" class="rememberme" type="checkbox" checked="checked" value="forever" /> Remember me</label></div>
<div class="right">Not a member? <a href="#">Register</a> | <a href="#">Lost your password?</a></div>
</div>
<div class="loginClose"><a href="#" id="closeLogin">Close Panel</a></div>
</div> <!-- /login -->
<div id="container">
<div id="top">
<!-- login -->
<ul class="login">
<li class="left"> </li>
<li>Hello Guest!</li>
<li>|</li>
<li><a id="toggleLogin" href="#">Log In</a></li>
</ul> <!-- / login -->
</div> <!-- / top -->
</div><!-- / container -->
I can not get it to redirect to the page after the user is logged in as the same like general user info block do.
dadki's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) xp/2.0.1/5.0.45/4.4.7/9.2 |
|
| Back to top |
|
 |
Dizfunkshunal


Joined: Mar 23, 2006 Posts: 2079
|
Post subject: Re: Header Log In Help Posted: Wed Dec 03, 2008 12:26 pm |
|
Try adding
Theme.php
in the theme header function.
Should looks something like this
Code:
function themeheader() {
global $slogan, $sitename, $banners, $mainindex, $adminindex, $cpgtpl, $site_logo, $CPG_SESS, $userinfo;
_________________ Diz Web Design Status: Open (Use of resources requires registration.)
Dizfunkshunal's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Multiple Setups |
|
| Back to top |
|
 |
dadki


Joined: Dec 17, 2007 Posts: 158
|
Post subject: Re: Header Log In Help Posted: Wed Dec 03, 2008 3:14 pm |
|
Dizfunkshunal wrote:
Try adding
Theme.php
in the theme header function.
Should looks something like this
Code:
function themeheader() {
global $slogan, $sitename, $banners, $mainindex, $adminindex, $cpgtpl, $site_logo, $CPG_SESS, $userinfo;
I paste it into header.php $userinfo but nothing happens, it should appear in the login info achieve user is logged in, because now is the same after logged in as outside
dadki's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) xp/2.0.1/5.0.45/4.4.7/9.2 |
|
| Back to top |
|
 |
Dizfunkshunal


Joined: Mar 23, 2006 Posts: 2079
|
Post subject: Re: Header Log In Help Posted: Thu Dec 04, 2008 12:16 am |
|
Sorry I will not be assisting you any further. I cant stand unnecessary censorship of posts and threads. Some people need to get a life instead of sitting on the computer all day being power happy @#%$@#%@^ !
_________________ Diz Web Design Status: Open (Use of resources requires registration.)
Dizfunkshunal's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Multiple Setups |
|
| Back to top |
|
 |
Phoenix


Joined: Apr 19, 2004 Posts: 8729 Location: Netizen
|
Post subject: Re: Header Log In Help Posted: Thu Dec 04, 2008 12:28 am |
|
Your post was inappropriate, did not reflect DF policy, and could be misleading to our users.
Phoenix's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
 |
|
| Back to top |
|
 |
Dizfunkshunal


Joined: Mar 23, 2006 Posts: 2079
|
Post subject: Re: Header Log In Help Posted: Thu Dec 04, 2008 1:13 am |
|
@dadki: come to www.dfthemes.com for support on your problem. I do not care if you show DF credits or not. Give me about 15 minutes to create some forums.
@Phoenix: My post pacifically stated it was not DF policy. As well as it did not break any forum rules at all. Your opinion as to whether or not it was appropriate or inappropriate is irrelevant. As long as a post or thread does not break the rules of this forum, you should not be permitted to censor it. Censoring any post or thread that does not break forums rules is abuse of your admin position. You can ban me again if you want to. I do not care anymore. Bad moderators such as yourself are responsible for running everyone off to other CMS systems. Your killing the Dragonfly Community. Your a great developer, but someone like you should never be permitted to have a position of authority. This is my personal opinion. I know several other DF users that share this opinion.
_________________ Diz Web Design Status: Open (Use of resources requires registration.)
Dizfunkshunal's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Multiple Setups |
|
| Back to top |
|
 |
Phoenix


Joined: Apr 19, 2004 Posts: 8729 Location: Netizen
|
Post subject: Re: Header Log In Help Posted: Thu Dec 04, 2008 1:29 am |
|
You're free to express to your opinion, just not free to mislead users.
For the record, you were previously (briefly) suspended for excessive abuse, nothing more, nothing less.
I also know several others who share your opinion, nothing new there if DF management wish me to move on, I'm fine with that too. I have never presumed to call myself a developer, far from it, but I would lay claim to being a good tweaker 
Credit strippers unite - away from here is great. Topic sealed since you're taking it elsewhere.
Phoenix's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
 |
|
| Back to top |
|
 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You cannot download files in this forum
|

|
User Info ![Show/hide content [x]](themes/dragonfly/images/minus.png)
 Welcome Anonymous
Last CVS commits ![Show/hide content [x]](themes/dragonfly/images/minus.png)
Languages ![Show/hide content [x]](themes/dragonfly/images/minus.png)
Community ![Show/hide content [x]](themes/dragonfly/images/minus.png)
 Support for DragonflyCMS in a other languages:
• Deutsch
• Español
X-links ![Show/hide content [x]](themes/dragonfly/images/minus.png)
Preview theme ![Show/hide content [x]](themes/dragonfly/images/minus.png)
Each user can view the site with a different theme.
Themes marked with a * also change the forum look.
|