ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

entry count number to word equivalent

November 06, 2012 11:29am

Subscribe [2]
  • #1 / Nov 06, 2012 11:29am

    thefifthlion

    133 posts

    I want to output the word equivalent of a number for each entry.

    So instead of 1,2,3,4… I want one, two, three, four


    I was hoping for something like this?
    {count type="name"}

  • #2 / Nov 07, 2012 3:54pm

    Dan Decker

    7338 posts

    Hi thefifthlion,

    I was hoping for something like this?
    {count type=“name”}

    ExpressionEngine doesn’t have a feature like that at this time.

    I looked on Devot:ee but couldn’t find anything that would do this either.

    Cheers,

  • #3 / Nov 07, 2012 4:51pm

    LMO

    203 posts

    thefifthlion,

    I did a real quick search and found the below link:

    http://www.karlrixon.co.uk/writing/convert-numbers-to-words-with-php/

    You could write a simple plugin that could use the code from above.

  • #4 / Nov 08, 2012 1:01pm

    Dan Decker

    7338 posts

    Hi VIM Interactive,

    Excellent work there! Thanks!

  • #5 / Nov 12, 2012 7:07pm

    thefifthlion

    133 posts

    thanks for the help, you can mark this one closed

  • #6 / Nov 14, 2012 5:23pm

    Dan Decker

    7338 posts

    Hi thefifthlion,

    Excellent.

    If oyu need anything else, please let me know!

    Cheers,

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases