Now: About Brettle.Web.NeatUpload

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.
5/27/2006 10:08:52 AM
Gravatar
Total Posts 18439

Re: Now: About Brettle.Web.NeatUpload

Looks like the error is saying that it was trying to put a null value in the pagename field when creating the home page and a null value is not allowed.

The code to create the home page looks like this:

PageSettings homePage = new PageSettings();
            homePage.SiteID = siteID;
            homePage.PageName = ConfigurationSettings.AppSettings.Get("HomePageLink");
            homePage.ParentID = -1;
            homePage.PageOrder = 1;
            homePage.AuthorizedRoles = "All Users;";
            homePage.EditRoles = "Content Publishers;";
            homePage.CreateChildPageRoles = "Content Publishers;";
            homePage.RequireSSL = false;
            homePage.ShowBreadcrumbs = false;
            homePage.PageMetaKeyWords = String.Empty;
            homePage.PageMetaAdditional = String.Empty;
            homePage.PageMetaDescription = String.Empty;
            homePage.PageMetaEncoding = String.Empty;
            homePage.Save();

So I wonder if ConfigurationSettings.AppSettings.Get("HomePageLink"); is coming back null. That value should be in the culture file but maybe it is missing in yours.
5/27/2006 10:34:17 AM
Gravatar
Total Posts 146

Re: Now: About Brettle.Web.NeatUpload

YYYYEEEEAAAAA !!!!!

I can see the light !!!.
Joe, thank you!. I can see the main page of mojoPortal!. From here, I think that I can to walk with my things.

...but, a last question: In the main menu (top tight) I cannot to see Login, to add new users... may be culture file too ?

Thanks in advance !
5/27/2006 10:47:51 AM
Gravatar
Total Posts 146

Re: Now: About Brettle.Web.NeatUpload

I forgot it. Really in my culture file, the line with HomePageLink it was not. Whe I to put this line the app work fine!!!.


Now, I am seeing why I cannot to see the Login link in the main menu.

Thanks Joe.
5/27/2006 12:02:29 PM
Gravatar
Total Posts 146

Re: Now: About Brettle.Web.NeatUpload

Hi Joe.

I'm sorry again.

I cannot to see the Login link in the main menu. I think about my problems are because I update my source code with TortoiseSVN, and I have some conflicted files, and my fixes are not in the right way. Now all work better, at the moment.

Thanks in advance
(And with this I hope to continue more alone... jejeje)
5/27/2006 12:14:46 PM
Gravatar
Total Posts 18439

Re: Now: About Brettle.Web.NeatUpload

make sure the LoginLink is in the layout.ascx for your skin. if it is there then set a breakpoint in page load event for Web/Controls/LoginLink.ascx.cs

Cheers,

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