FeedManager paging does not work

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.
6/14/2010 11:45:31 AM
Gravatar
Total Posts 72

FeedManager paging does not work

Hi Joe,

Not sure if already logged but the page size setting on the feed manager module does not work as of 2.3.4.4 (im using changeset ee3aed3985e2).

Looking at the source for FeedManagerModule, pageSize does is not set from the FeedManagerConfig.

My solution was to remove the pageSize private field form FeedManagerModule and then changed BindRepeater method like so:


PagedDataSource pagedDS = new PagedDataSource();

pagedDS.DataSource = entries;
pagedDS.AllowPaging = true;

var pageSize = config.PageSize; //pageSize variable is used in rest of method so this was easiest way

pagedDS.PageSize = pageSize;
pagedDS.CurrentPageIndex = pgrRptEntries.CurrentIndex - 1;
 

After making this change, paging works as expected.

Cheers,

Ben

6/15/2010 6:34:04 AM
Gravatar
Total Posts 18439

Re: FeedManager paging does not work

Hi Ben,

Thanks for that! It should be fixed in the repository now. I must have missed that/introduced this bug when I did the refactoring of module settings into FeedManagerConfiguration class.

Best,

Joe

6/15/2010 6:41:14 AM
Gravatar
Total Posts 72

Re: FeedManager paging does not work

Great stuff.

While i've got you then, I am unable to display module icons. It is a custom skin and I am not hiding them with my css, the markup is not actually rendered at all. Trying to look through the ModuleTitleControl code now to see where/how this is rendered but not having much luck,


Thanks,
Ben

6/15/2010 6:49:26 AM
Gravatar
Total Posts 18439

Re: FeedManager paging does not work

If you mean the pencil and wrench vs text links, you can set a property on the StyleSheetCombiner in layout.master UseTextLinksForFeatureSettings="false"

It isn't really controlled by the StyleSheetCombiner, but we use it for settings related to skins and the ModuleTitle will detect the property on the styleSheetCombiner.

Hope it helps,

Joe

6/15/2010 6:52:33 AM
Gravatar
Total Posts 72

Re: FeedManager paging does not work

I mean when I go to the settings of a specific module, I can choose an icon on the general settings tab. I assumed this would display an icon next to the module title. Is this not the case?

6/15/2010 6:56:59 AM
Gravatar
Total Posts 18439

Re: FeedManager paging does not work

Those icons are only used in the MyPage feature. If you mark a content instance as available for MyPage, it shows up in the WebPart Catalog and the icon is displayed there. It is not used anywhere else.

6/15/2010 6:59:52 AM
Gravatar
Total Posts 72

Re: FeedManager paging does not work

Okay, my bad.

Guess I will just a custom css class to the module and override the module title style.

Thanks for the clarification although I do think it would be nice to be able to set icons on the title from the settings.

6/15/2010 3:33:46 PM
Gravatar
Total Posts 16

Re: FeedManager paging does not work

I'm having this same issue as well.  And I've tried downloading the code again but it didn't seem to take care of the issue.

Any ideas? 

6/16/2010 7:47:25 AM
Gravatar
Total Posts 18439

Re: FeedManager paging does not work

Please be more specific, what did you download from where? Are you using TortoiseHG?

6/16/2010 9:15:51 AM
Gravatar
Total Posts 16

Re: FeedManager paging does not work

Sorry...Here is what I am currently running:

mojoPortal Version 2.3.4.4 MSSQL
Operating System Microsoft Windows NT 6.0.6002 Service Pack 2
ASP.NET Version v4.0.30319 Running in Full Trust

Basically my feed manager is setup to display 4 items per page however there is no paging and it's displaying 20 items all on one page. The only way I am able to workaround this issue is to set the max items per feed to 4.  This creates other issues like having no additional pages.

Mike

6/16/2010 9:24:30 AM
Gravatar
Total Posts 18439

Re: FeedManager paging does not work

 

This is only fixed as of now in the source code repository not the pre-compiled deployment packages.

It will be fixed in the new compiled deployment files release coming this week

You said you downloaded the code again. I assume that means the source code and then you compiled and deployed it yourself. If you really have the latest code and did that it would be fixed.

I asked where you got the source code from and whether you used TortoiseHG.

If you are working with the source code then please answer the questions. Where you got the source code from and whether you used TortoiseHG? and then I may be able to help.

If you are not compiling your own deployment package from source code then you will need to wait for the coming release in a few days.

Best,

Joe

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