Dave Burke : Freelance .NET Web Developer specializing in Online Communities

CSBlogs : Title Happy

I am now happy with the use of Post Titles display on my blog (for this week), having extended the TitlesListContainer and TitlesList controls to support Category and Archive by Month.  At the right of each category and archived month I've added a HyperLink to their respective title list .ASPX pages shown below.

As described in my Adding a new CSBlogs Page post, I started by adding new pages to the SiteUrls.config.

<url name = "weblogpostcategorytitles" location = "weblogs" path="archive/categorytitles/{1}.aspx" pattern="archive/categorytitles/(\d+)\.aspx" vanity="categorytitles.aspx?CT=BlogPost&amp;CategoryID=$1" />

<url name = "weblogmonthtitles" location = "weblogs" path="archivetitles/{1}/{2}.aspx"     pattern="archivetitles/(\d{4})/(\d{1,2})\.aspx" vanity="monthtitles.aspx?y=$1&amp;m=$2&amp;d=1" /> 

Then added the stub.aspx pages, as I call them: categorytitles.aspx and monthtitles.aspx in the /blog directory.  Here's what categorytitles.aspx looks like.  Here's the View-CategoryTitles.ascx view.  The rest is modifying the existing EntryList and EntryListContainer controls.


 

Comments (0) | Post RSS RSS comment feed

Posted on 4/12/2005 5:59:00 AM by Dave Burke
Categories: Community Server
Tags:

Related posts


Powered by BlogEngine.NET 2.0.0.36
Theme by Dave Burke