Serious error on fast computers

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
12/27/2009 11:34:56 AM
Gravatar
Total Posts 18439

Re: Serious error on fast computers

Thanks! Got it this time.

I will have this in svn trunk by tonight sometime.

Best,

Joe

12/28/2009 2:42:38 AM
Gravatar
Total Posts 171
I am a Russian programmer

Re: Serious error on fast computers

and more ...

add in SchemaUpgradeScripts

UPDATE
mp_Pages
SET
[Url] = ''
WHERE
[Url] = '~/' AND UseUrl = 0

12/28/2009 3:03:43 AM
Gravatar
Total Posts 171
I am a Russian programmer

Re: Serious error on fast computers

and more ...

add in Web.config

<add key="SwfObjectUrl" value="~/ClientScript/SwfObject/2.2/swfobject.js" />
 

12/29/2009 3:24:09 AM
Gravatar
Total Posts 171
I am a Russian programmer

Re: Serious error on fast computers

Joe, please add configuration parameter

Web.config

<add key="ChildPageMaximumDynamicDisplayLevels" value="20" />

ChildPageMenu.ascx.cs

private int childPageMaximumDynamicDisplayLevels = 20;

protected void Page_Load(object sender, System.EventArgs e)

childPageMaximumDynamicDisplayLevels = WebConfigSettings.ChildPageMaximumDynamicDisplayLevels;

private void ShowChildPageMap()

change

SiteMap1.MaximumDynamicDisplayLevels = 20;

to

SiteMap1.MaximumDynamicDisplayLevels = childPageMaximumDynamicDisplayLevels;

WebConfigSettings.cs

public static int ChildPageMaximumDynamicDisplayLevels

{
  get { return ConfigHelper.GetIntProperty("ChildPageMaximumDynamicDisplayLevels", 20); }
}
-----------------------------------------------------

or instead, add a field 'ChildPageMaximumDynamicDisplayLevels' in a table mp_Pages

how do you feel more comfortable, but if you add a new field, it will add more features

12/29/2009 5:35:26 AM
Gravatar
Total Posts 18439

Re: Serious error on fast computers

I'll add a properties on the ChildPageMenu control so it can be set from the layout.master file in the skin like this:

<portal:ChildPageMenu id="ChildPageMenu" runat="server" CssClass="txtnormal" MaximumDynamicDisplayLevels="20" UsePageImages="true" HidePagesNotInSiteMap="true" />

I changed the other settings there as well instead of Web.config so they can be per skin rather than global across all sites.

Best,

Joe

12/30/2009 2:49:29 AM
Gravatar
Total Posts 171
I am a Russian programmer

Re: Serious error on fast computers

Thank you, Joe  ! I see it in SVN !

But there is another problem.

CssClass for ChildPageMenu not appear in aspx file for browser

I added line SiteMap1.CssClass = CssClass;

in ChildPageMenu.ascx.cs but no change in aspx file for browser

Best regards, Alexander

12/30/2009 3:26:51 AM
Gravatar
Total Posts 171
I am a Russian programmer

Re: Serious error on fast computers

Joe, another problem

Printable View for the pages that contain ChildPageMenu is not valid
This page displays all sitemap and properties of ChildPageMenu for our layout.master not work

Best regards, Alexander

12/30/2009 6:24:05 AM
Gravatar
Total Posts 18439

Re: Serious error on fast computers

Ok, I'll add the TreatChildPageIndexAsSiteMap config setting so you can either set it on the control or set it globally with config.

Css is rendered on the page like this:

<div class="sitemap" id="ctl01_ChildPageMenu_SiteMap1">

I will change it to have this:

<div class="sitemap childpagesitemap" id="ctl01_ChildPageMenu_SiteMap1">

so you can style it with

.childpagesitemap ul {}

etc.

You should not make changes in the code to set css classes.

Best,

Joe

1/1/2010 8:06:29 AM
Gravatar
Total Posts 171
I am a Russian programmer

Re: Serious error on fast computers

Thank you Joe. It works fine!

But I have a few problems. My site has several modules news.
I want to use Blog module, as "News", "New on the site", "Plans for the future". But I miss some of the settings.
Could you add them to the module settings "blog"

1) Format of Date.
Now the date format is taken from
BlogDateTimeFormat = CultureInfo.CurrentCulture.DateTimeFormat.FullDateTimePattern;
Could you do that to date format was taken from the module settings blog? I need to show to date news in a specific format for each news stream on the site


2) Ability to enter the category of news, even if turned off " Show Categories"
I need it because I develop a module for mojoportal ("Links by Categories"). This module will have two options. Blog Name and Category. It is very important for the internal pages of site and will select from the news stream all posts on the Categories.
 

3) Settings the module: 'Only title'.

For this blog module configuration should show only headlines and nothing more.
 

4) Blog settings to disable URL checking when Update Post (The Url is already in use. The Url is already in use. You cannot use the same Url for different pages).
Why is it necessary. I want to use module blog for section " new on the site". Therefore, when you click on the "Title" user must go to the page that has changed and URL will contain the page address have changed


5) Configure the module blog, which will display the messages from the current date.
It is necessary that output plans for the future.
 

Best regards, Alexander
 

1/2/2010 5:30:20 AM
Gravatar
Total Posts 18439

Re: Serious error on fast computers

Hi Alexander,

This thread has gone way past its original topic.

To suggest new features you should start a new thread on the Feature Requests forum (if you don't already see similar requests).

I consider all suggestions but I cannot promise to answer every post or deliver every improvement requested. I will say that a date format setting is on my list of things to do for blog improvements.

Best,

Joe

1/2/2010 7:15:18 AM
Gravatar
Total Posts 171
I am a Russian programmer

Re: Serious error on fast computers

Hi, Joe

I created a new topic "Improvement blog" and Added to this topic one more question

Best regards, Alexander

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