asp.net - How to get nicely formatted comment count and date for a blog post in subtext -
I'm making my own skin for subtext, and there is one thing that I can not understand ... how i I can
& lt; Asp:
literal id = "PostDesc" runat = "server" />
This generates something like this: Posted @ Thursday, July 29, 2010 2:13 am | Feedback (0)
How do I view Phile Hawks on my site?
After hours of intense hours of research, trial and error, and address after browsing the subtext source code walked.
& lt; Asp: hyperlink runat = "server" navigateUrl = '& lt;% # string.format ("{0} # feedback", Url.EntryUrl ((IEntryIdentity) container.detite))% & gt; & Gt; View Comments (& lt;% # Eval ("FeedBackCount")%>) & lt; / ASP: Hyperlink & gt;
For the number of comments, and I will do something similar to date.
Comments
Post a Comment