,

Scott has published the pre .96 sources of .Text. It includes lots of exciting new features including the long-awaited search.

I’m always a little bit nervous when updating my site, especially when the database has changed. But the new features persuaded me. However, I took the chance to tweak my .Text installation a little bit. You may notice the search panel to the left. Scott hasn’t implemented the UI to get to the search page from the site except going to the URL directly. So I’ve written my own little panel. I don’t know what Scott’s plans are, so if anybody is interested, I’d be glad to support you.

BTW, there’s a little bug in pre .96, so you cannot post comments. In fact, it’s a typo in the web.config. I’ve already posted the details in the .Text forum.

Comments

Scott Watermasysk

The joy’s of pre-Releases :)

For the global count, change the commentcount line in the trigger to:

CommentCount = (Select Count(*) From blog_Content Where blog_Content.BlogID = blog_Config.BlogID and PostType = 8 and PostConfig & 1 = 1),

For individual items, change blog_InsertEntry (sp)

Else if(@PostType = 8) – was three

Begin

Update blog_Content

Set FeedBackCount = FeedBackCount + 1 where [ID] = @ParentID

End

You might also want to write run some sql to update an exisitng counts.

HTH,

Scott

Thomas Freudenberg

“P.S. I think you had once implemented “transitions”, (changed “:)” to an image. The EntryHandlers should give you a “clean” way to do this again.”

Ooops. You’re right. It was just a quick hack and not tested properly ;-)

“P.S. I think you had once implemented “transitions”, (changed “:)” to an image. The EntryHandlers should give you a “clean” way to do this again.”

Cool, I’ll have a look at them.

But, Scott, did you notice that the comment counter in the stats is 0? Have I lost my database trigger again?

Scott

err…I thought someone had written me directly about the comment issue. But you are correct, I changed the name of EntryHanlders (used to be called EntryProcessing) and I fat-fingered the pre-comment processing.

Also for you search control, you might want set the search buttons causes validation property to false, otherwise you can not search from a post page.

As for the search box, I am still undecided. Its cool to have it on every page, but I have always thought the current blog UI was a little cluttered, so for the moment I held off. On my own site, I am using just search link.

Congrats on the setup :).

-Scott

P.S. I think you had once implemented “transitions”, (changed “:)” to an image. The EntryHandlers should give you a “clean” way to do this again.

Leave a Comment

Your email address will not be published. Required fields are marked *

Loading...