close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Log In/Log Out Customization - A Minor Bug?

Thread began 11/20/2009 9:29 am by shadow329043 | Last modified 11/23/2009 5:47 pm by Eric Mittman | 1860 views | 3 replies |

shadow329043

Log In/Log Out Customization - A Minor Bug?

Hi guys! - My installation/rebranding project seems to be continuing and I do see some results. I got the CMS integrated into my site - I have modified the site menu to include a link that opens the CMS log in page... My site is using the pages that I created (just some simple text) and now I am going to do some customizations to integrate the look of the CMS more into the site......

The log in page I plan customize so that it looks more like the other pages in the site rather than the default blue. I also need to add the site navigation to the page so that it isn't necessary to open the CMS in its own window. Any tips?

I noticed that the log out page doesn't work - if you log out of the CMS using the log out link, you are taken back to the log in page and the log out message isn't displayed. (this is the minor bug that I mentioned) I also noticed that some of the elements of the log out page, like the CMS menu are displayed on the page (is that an error? - If you are not logged into the CMS then you shouldn't see the items that you would only see if you were actually logged in)

Can I subsutitute my own log out page? I do have some concerns about if an update of the CMS occurs and what I would have to do to maintain the look and feel of the site.
Has anyone else noticed this and do you have any tips?

Sign in to reply to this post

Eric Mittman

For the navigation and getting it updated please explain a little more about what you would like it to be like. Currently if you login to the PowerCMS you should be taken directly to the index page with all of the navigation present.

As for the logout page it should be destroying the session and sending you to the login page. Here is the code that is at the top of the logout page:

php:
<?php session_destroy();

            
session_start();
            
header('Location: users_login.php');
?>



This code should kill off the session then send you back to the index page. If you can confirm that your logout page has this code on it and you are not being logged out please let us know. There may be something else you can add to the page to ensure that the session is no longer available, if you add in an unset like this it should clear any values in the session:

php:
unset($_SESSION);



You can put this just before the header call. Please post back and let us know the details.

Sign in to reply to this post

shadow329043

I am adding site navigation so that the page seems to be more a part of the site, not just something that was tacked on. Thanks for the info regarding sessions and how the login/logout pages work. I think I will create those pages using my site template and make sure I add the necessary code to destroy the session but will display a "you are successfully logged out" message.

Sign in to reply to this post

Eric Mittman

Ok, this sounds like it will be a nice looking integrated login page and more robust logout page. I would love to see what you have when you are finished, at least the login page.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...