Improving the truncatewords filter (and a +1 vote for filters with multiple arguments)

2008-06-04 Thread Aral Balkan
have a person's full name: "Aral Balkan" and I want to greet them by their first name. I should be able to write the following in a template to indicate that an ellipsis should not be added: Hello, {{personName}}|truncatewords:1:False, how are you? The truncatewords filter would

Re: Improving the truncatewords filter (and a +1 vote for filters with multiple arguments)

2008-06-04 Thread Aral Balkan
Hi Russell, Cool, thanks -- will post it as a ticket now. And apologies for the messed up syntax in the previous post -- will clean it up for the ticket. Aral On Jun 4, 12:28 pm, "Russell Keith-Magee" <[EMAIL PROTECTED]> wrote: > On Wed, Jun 4, 2008 at 6:20 PM, Aral Balka

Re: Improving the truncatewords filter (and a +1 vote for filters with multiple arguments)

2008-06-04 Thread Aral Balkan
currently adds faux ellipses (three dots) to every truncated string. This is not ideal for several reasons: 1. It should use a true ellipsis (\u2026) instead of three dots. 2. The filter would be far more useful if adding ellipses was an _option_. Use case for number 2: I have a person'

Re: Proposal: Form rendering with filters

2008-05-21 Thread Aral Balkan
Just a quick bump: has there been any progress on this? Thanks, Aral On Apr 11, 9:44 pm, Brian Beck <[EMAIL PROTECTED]> wrote: > Has anyone started working on this? I don't see a branch, but I'd > love to help out. I've also been writing similar tags and filters for > my form rendering (see [