Hello, What Stored Proc enables me to specify how many photos to display on a page? The page type is Photo Gallery. For instance, I want to display more than 10 on a page because they are small and they will fit w/out any problem. Thanks for your help in advance!
Kelly
I found where to make the change, if anyone is interested. I first added a mutator(set) to the RecordsPerPage accessor to make it read/write:
Engine/Framework/BaseClasses/Sections/Components/SectionInfo.cs public int RecordsPerPage { get { return _recordsPerPage; } set {_recordsPerPage = value;} }
I then added the following conditional to communityDefault.aspx.cs PageInfo objPageInfo = (PageInfo)Context.Items[ "PageInfo" ]; SectionInfo objSectionInfo = (SectionInfo)Context.Items[ "SectionInfo" ]; if(objPageInfo.Name == "Advertisers Index"
) { objSectionInfo.RecordsPerPage = 20; }
None
0 Points
89 Posts
incrementing the amount to display
Dec 13, 2004 02:36 PM|ksbrace|LINK
None
0 Points
89 Posts
Re: incrementing the amount to display
Dec 14, 2004 11:04 AM|ksbrace|LINK
Engine/Framework/BaseClasses/Sections/Components/SectionInfo.cs public int RecordsPerPage { get { return _recordsPerPage; } set {_recordsPerPage = value;} }
I then added the following conditional to communityDefault.aspx.csPageInfo objPageInfo = (PageInfo)Context.Items[ "PageInfo" ]; SectionInfo objSectionInfo = (SectionInfo)Context.Items[ "SectionInfo" ]; if(objPageInfo.Name == "Advertisers Index" ) { objSectionInfo.RecordsPerPage = 20; }