Tags not showing on posts on Blog front page

rated by 0 users
This post has 3 Replies | 1 Follower

Not Ranked
Posts 34
Points 500
PifGadget Posted: Fri, Feb 16 2007 12:59 AM

Hi,

My site has a blog named "News" which has a weird behaviour:

Even though posts have tags, for some posts (which seem totally random), I see no tags from the blog main page while these posts do contain tags that I can see if I click on the post title and see it in.
Moreover, if, for these posts, I try to edit the tags from the blog main page, I get the following error as soon as I press the Save button:

"An error occured while formatting tags: Object reference not set to an instance of an object."

You can have a look by yourself:
Go to http://www.guwiv.com/portal/blogs/news/default.aspx which is my blog main page, then look at the post called "MKLINK". You'll see that on the blog main page it seems to not have any tag. Then click on its title (http://www.guwiv.com/portal/blogs/news/archive/2007/02/15/mklink.aspx) and then magic! you'll see the tags appear below the post body as usual.

Any idea?

Top 25 Contributor
Posts 2,115
Points 27,605
MVPs

Can you let us know how many posts have you tagged under these tags?

Actually I think there are a few posts (in comparision with other posts) that are tagged under these tags (Note that right now I can't load your site to see).

I think Community Server doesn't list all tags in blogs homepage.  It just filter tags based on their frequently so some tags are ignored.

You should be able to check all your tags at Site.Com/tags.

Let me know if this is the problem.

  • | Post Points: 5
Top 10 Contributor
Posts 3,424
Points 65,610
CS Developers
Ben Tiedt replied on Fri, Feb 16 2007 1:49 AM

It looks like tags are showing on every other post -- my guess is that the ItemTemplate and AlternatingItemTemplate are both defined and that the <ItemTemplate> is missing the control that lists tags. 

I'd suggest removing the <ItemTemplate>...</ItemTemplate> and renaming the <AlternatingItemTemplate>...</AlternatingItemTemplate> to be <ItemTemplate>... </ItemTemplate> in the web/themes/blogs/[theme name]/skins/skin-entrylist.ascx page.

 

Ben Tiedt's Blog

  • | Post Points: 20
Not Ranked
Posts 34
Points 500
PifGadget replied on Fri, Feb 16 2007 10:02 AM

Hi Keyvan and Ben,

Thanks for your quick answers. FYI, tags are not showing in many other posts (about half of them) and with the same behaviour, it's not only that post.

The tags do appears in the tags browser page, so they are actually saved, Keyvan. The problem seems more skin related as Ben suggested.

I'm gonna have a look at the Skin-entrylist.ascx file, since I didn't develop the entire theme (it is based on Nick Brown's fantastic Aero theme), it could possibly be a bug in it Wink. I'll keep you posted.

Cheers

Edit: Yayyy, it was a bug in Skin-entrylist.ascx, I just copied the original CS default theme Skin-entrylist.ascx file over the one from Aero theme and it got fixed. Thanks for your help guys, you're brilliant!!

  • | Post Points: 5
Page 1 of 1 (4 items) | RSS
Powered by Community Server (Commercial Edition), by Telligent Systems

Copyright© 2008 Telligent Systems Inc. All rights reserved
CommunityServer.com  •  Telligent.com