We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Plugin: Nice Weblog Categories Plugin

Development and Programming

Steve [at] Gleam.'s avatar
Steve [at] Gleam.
27 posts
16 years ago
Steve [at] Gleam.'s avatar Steve [at] Gleam.

This plugin is basically an improved version of the default {categories} tag, it still shows the categories that an entry belongs to, however what makes this different is that it shows the categories in a much nicer format.

Like this: Category One, Category Two and Category Three

More Info and Download

       
Ingmar Greil's avatar
Ingmar Greil
29,243 posts
16 years ago
Ingmar Greil's avatar Ingmar Greil

Of course it’s nice to have a plugin, but a bit of PHP can get you a long way …

       
Steve [at] Gleam.'s avatar
Steve [at] Gleam.
27 posts
16 years ago
Steve [at] Gleam.'s avatar Steve [at] Gleam.

As I said on my blog, there is a way of doing this via PHP, but now there is a way of doing it with EE tags.

Some people may be scared of using php? 😊

       
Ingmar Greil's avatar
Ingmar Greil
29,243 posts
16 years ago
Ingmar Greil's avatar Ingmar Greil

Yeah, you never know… Or just not enable PHP for their templates. As I’ve said, it’s nice to have it in one convenient template, no doubt.

       
JeffClick's avatar
JeffClick
1 posts
16 years ago
JeffClick's avatar JeffClick

Ingmar, thanks for that code snippet. It’s something I’ve been looking for. FYI, to be grammatically correct, there should always be a comma before the “and” in a list of more than two items.

       
Steve [at] Gleam.'s avatar
Steve [at] Gleam.
27 posts
16 years ago
Steve [at] Gleam.'s avatar Steve [at] Gleam.

With the plugin you can use whatever text you want 😊

       
Jamie Pittock's avatar
Jamie Pittock
108 posts
16 years ago
Jamie Pittock's avatar Jamie Pittock

And FYI, there’s alot of disagreement about the use of a serial comma. In the proper british english anyway 😉

Depends on the use alot of the time.

       
Lisa Wess's avatar
Lisa Wess
20,502 posts
16 years ago
Lisa Wess's avatar Lisa Wess

Interestingly, trying to go from British English to American English (having taken classes both in Australia and the US) has a tendency to get you yelled at by professors on both sides. It is nearly impossible to “win” here. It’s not just commas, either! Semicolons apparently differ, as well. I had one professor specifically write on a paper: “You’re in America, stop using British grammar.”

However she didn’t mark me down for using “ou” rather than “o” in several circumstances. I did get marked down for utilising “s” instead of “z”.

sighs

Anyway, sorry - slightly off-topic, eh.

       
Jamie Pittock's avatar
Jamie Pittock
108 posts
16 years ago
Jamie Pittock's avatar Jamie Pittock

You can’t win Lisa.

I expect to be thoroughly chastised by Jeff for starting a sentence with ‘and’ too.

       
Lisa Wess's avatar
Lisa Wess
20,502 posts
16 years ago
Lisa Wess's avatar Lisa Wess

That has, albeit begrudgingly, gained acceptance over here, right along with using “them” instead of “him/her” etc. chuckles

       
Ingmar Greil's avatar
Ingmar Greil
29,243 posts
16 years ago
Ingmar Greil's avatar Ingmar Greil

OK, I am not going to get involved here, English being foreign language for me. Just use in a way you personally deem correct, with or without comma 😊

       
wilmot's avatar
wilmot
6 posts
14 years ago
wilmot's avatar wilmot

The plugin url in EE wiki doesn´t work. Can someone fix it?

       
Steve [at] Gleam.'s avatar
Steve [at] Gleam.
27 posts
14 years ago
Steve [at] Gleam.'s avatar Steve [at] Gleam.

I will upload a new version to this forum when I get a chance. (I need to find it)

Cheers, Steve

       
wilmot's avatar
wilmot
6 posts
14 years ago
wilmot's avatar wilmot

Great, thanks for quick reply!

Any ideas why the old php version doesn’t work with EE 1.6.3? It gives an error: Parse error: syntax error, unexpected T_LNUMBER in /biz/site/core/core.functions.php(637) : eval()’d code on line 69

       
Steve [at] Gleam.'s avatar
Steve [at] Gleam.
27 posts
14 years ago
Steve [at] Gleam.'s avatar Steve [at] Gleam.

That error usually means that you have a variable starting with a number, which isn’t allowed.

I didn’t write the standard php version.

       
1 2

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.