Modify

Opened 7 years ago

Closed 6 years ago

#2445 closed defect (worksforme)

categories should be tags, otherwise it is confusing ...

Reported by: ThurnerRupert Owned by: osimons
Priority: normal Component: FullBlogPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description

if one has the tags plugin installed, the tags entry field has a link which allows listing existing tags. this would be great if the same tag listing would be available instead of the categories field.

Attachments (0)

Change History (7)

comment:1 Changed 7 years ago by osimons

About renaming:

Yes - and no. Arguments for both sides can be made. I do see your point, but I named it category so as NOT to confuse it with tags... The way tags work is that it collects if from all kinds of fields in various modules, with many different names - like 'keywords' in tickets. Additionally, I can also foresee more fields from blog being selected as tags - most notably the author, but even periods. Then the nice one-to-one naming scheme would be less clear-cut.

So, basically: I made a concious choice on the naming, pondering it quite a bit, but fell down on 'category' as the term to use for blog. I'm sticking with it.

About the '(view all tags)' link on cateogy in edit more:

All that field does is send you to the same as the main Tags menu item? In the same window no less, so my editing disappeared. It may be a convenience for you, but it isn't something I see as too useful. Perhaps not all tags should be used for blog? Should I show the blog categories instead? Anyway, I don't use tags myself, so if tags users vote your idea as a good feature, I'm happy to accept a patch that provides an ITemplateStreamFilter plugin in the optional extra tags.py file - basically adding the link to the stream in the correct place if current template is fullblog_edit.html.

I'm leaving the ticket open to hear opinions on the last issue.

comment:2 Changed 7 years ago by anonymous

I've tested FullBlogPlugin and like it. Before FullBlogPlugin I've used the smaller plugin TracBlogPlugin but the developer(s) doesn't start porting to 0.11.
TracBlogPlugin uses the tags plugin in combination. I'm not sure if a blog need tags but this plugin gives nice macros:

In this combination you can setup a newsflash box at your start page containing the newest blog entries tagged with "news" like the green box on http://trac-hacks.org. It will be great if FullBlogPlugin can provide macros in an analogical way. So you can use the category "news" or something else.

comment:3 Changed 7 years ago by anonymous

That the reason way I should use Preview. ;)
Here is the code the the used macros:

  • [[BlogShow(blog,news,num_posts=5)]]
  • [[BlogPost(tag=(blog,news))]]

comment:4 follow-up: Changed 7 years ago by osimons

Have you checked your wiki macros help page for information on the macro with documentation? The plugin includes a [[BlogList]] macro that does what you say i think. It can show posts in full on another page, or as a list (like archive), and even contains a 'news flash' mode.

comment:5 in reply to: ↑ 4 Changed 7 years ago by anonymous

Replying to osimons:

Have you checked your wiki macros help page for information on the macro with documentation? The plugin includes a [[BlogList]] macro that does what you say i think. It can show posts in full on another page, or as a list (like archive), and even contains a 'news flash' mode.

No, I have not seen this page before. Now I have my newsflash box. Thanks for this hint and this great plugin.

comment:6 follow-up: Changed 6 years ago by ckcin

anyways to change the color of the box using [[BlogList]]?

also is there anyways to import wiki blog posts from TracBlogPlugin?

Thanks

comment:7 in reply to: ↑ 6 Changed 6 years ago by osimons

  • Resolution set to worksforme
  • Status changed from new to closed

Replying to ckcin:

anyways to change the color of the box using [[BlogList]]?

Yes, of course. It contains various CSS hooks, and just like the rest of the Trac interface you can add your custom CSS to override defaults. See trac:wiki:TracInterfaceCustomization#SiteAppearance for details on how to link in your own stylesheet.

also is there anyways to import wiki blog posts from TracBlogPlugin?

Nope. Not provided by me at least.

As for the main topic of the ticket, no further feedback is received so I'm closing it as worksforme and sticking to 'categories' as the common term.

Add Comment

Modify Ticket

Action
as closed .
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from osimons. Next status will be 'closed'.
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.