Logo Logout and css admin

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.

This forum is for discussing mojoPortal development

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.

Before posting questions here you might want to review the developer documentation.

Do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
This thread is closed to new posts. You must sign in to post in the forums.
3/4/2009 7:24:32 AM
Gravatar
Total Posts 30

Logo Logout and css admin

Hi Joe,
I have some questions for you:
- My siteLogo doesn't link to the home page, How can I add an url to it? I can't understand, there isn't a field in Site settings.
Must I modify it directly in the skin?
- Can I modify the time of session for logout? Example: if I login and then close my browser, if I come back to my site the day after, there is my login yet. Why?
- I have a strange layout in the admin of my site, but only for the online version. I can't insert a picture in this post, how can I show you it?

Thanks
 

 

3/4/2009 9:14:23 AM
Gravatar
Total Posts 25

Re: Logo Logout and css admin

 

 Quote: "I have a strange layout in the admin of my site, but only for the online version."

I also noticed that my local developer copy of mojoPortal has a non-tabbed site settings layout but my online site has tabbed site settings. It's almost like the tab control is defaulting to no tabs locally?

 

jrosson  

3/4/2009 9:26:33 AM
Gravatar
Total Posts 30

Re: Logo Logout and css admin

In my case it's the contrary: non-tabbed site settings layout online, it's tabbed in my local copy.
The solution?
 

3/4/2009 9:29:15 AM
Gravatar
Total Posts 70

Re: Logo Logout and css admin

I've noticed the tabs issue too. The cause is if your development machine is not connected to the internet, because it loads the YUI scripts and CSS from the google CDN instead of locally. You could configure it to load them locally but then you'd have to download the YUI scripts and put the YUI build folder somehwere beneath /ClientScript then configure user.config settings to tell it the appropriate path. There are old settings in web.config with the path that used to be correct when Joe was inlcuding the YUI scripts with mojoPortal and there is a setting whether to use the google CDN.

Steve

3/4/2009 9:33:37 AM
Gravatar
Total Posts 30

Re: Logo Logout and css admin

I will try!!! Thanks

3/5/2009 7:59:38 AM
Gravatar
Total Posts 30

Re: Logo Logout and css admin

And for this question? Can someone help me?

Can I modify the time of session for logout? Example: if I login in my site and then close my browser, if I come back to my site the day after, there is my login yet. Why? Where can I change it?

3/5/2009 8:21:53 AM
Gravatar
Total Posts 18439

Re: Logo Logout and css admin

The login cookie is only persistent across sessions if you check the "Remember Login" box when you login. 

You may be able to adjust the timeout of the cookie from Web.config:

<authentication mode="Forms">
<forms name=".mojochangeme" protection="All" timeout="50000000" path="/" cookieless="UseCookies" />
</authentication>

Hope it helps,

Joe

3/5/2009 8:40:06 AM
Gravatar
Total Posts 30

Re: Logo Logout and css admin

My "Remember Login" box is unchecked...so do I try with the timeout value? does it indicate when the cookie must die?

3/5/2009 8:45:51 AM
Gravatar
Total Posts 18439

Re: Logo Logout and css admin

On my installations of mojoPortal, if I don't check the Remember Login box then my session is lost upon closing the browser and I have to login again when I open the new browser. Now maybe in Firefox if you restore a previous session it may preserve your login, but thats a feature of the browser not mojoportal.

For further reading about ASP.NET Forms authentication and cookie timouts see these articles or google. 

http://weblogs.asp.net/scottgu/archive/2005/11/08/430011.aspx

http://support.microsoft.com/kb/910443

Hope it helps,

Joe

3/5/2009 8:48:05 AM
Gravatar
Total Posts 30

Re: Logo Logout and css admin

Thanks

So, now I can try it with IE and Safari...

3/5/2009 8:55:20 AM
Gravatar
Total Posts 30

Re: Logo Logout and css admin

Yes, with IE and Safari it does run, mybe it is a Firefox option. Thanks

But I have more a problem: My siteLogo doesn't link to the home page, How can I add an url to it? I can't understand, there isn't a field in Site settings.

You must sign in to post in the forums. This thread is closed to new posts.