Ashley Pond V wrote:
> 2011/2/7 Jiří Pavlovský :
>> On 7.2.2011 16:45, Clinton Gormley wrote:
>>> On Mon, 2011-02-07 at 15:22 +0100, Jiří Pavlovský wrote:
"- name1 , name2 , and name 3 en".
>> Thanks, nice solution
>>> Note: In English, we don't use "a, b, and c", but "a, b and c", which
>>> w
On 07/02/11 14:22, Jiří Pavlovský wrote:
>Hi,
>
> I Have a block like below. It will produce the following output when
> included with the 'collapse' filter.:
>
> "- name1 , name2 , and name 3 en".
>
It's worth noting that the original problem was caused by a combination
of white space and ne
You can remove space easily by using an "-" sign either after [% or before
%]
In other words: [%- or -%]
Try that and see what it does to your output...
2011/2/7 Jiří Pavlovský
> Hi,
>
> I Have a block like below. It will produce the following output when
> included with the 'collapse' filter
2011/2/7 Jiří Pavlovský :
> On 7.2.2011 16:45, Clinton Gormley wrote:
>> On Mon, 2011-02-07 at 15:22 +0100, Jiří Pavlovský wrote:
>>> "- name1 , name2 , and name 3 en".
> Thanks, nice solution
>> Note: In English, we don't use "a, b, and c", but "a, b and c", which
>> would make the above:
If no o
On 7.2.2011 16:45, Clinton Gormley wrote:
> On Mon, 2011-02-07 at 15:22 +0100, Jiří Pavlovský wrote:
>> Hi,
>>
>> I Have a block like below. It will produce the following output when
>> included with the 'collapse' filter.:
>>
>> "- name1 , name2 , and name 3 en".
> [%
> # non-destructive copy
On Mon, 2011-02-07 at 15:22 +0100, Jiří Pavlovský wrote:
> Hi,
>
> I Have a block like below. It will produce the following output when
> included with the 'collapse' filter.:
>
> "- name1 , name2 , and name 3 en".
[%
# non-destructive copy
# drop .merge if you don't care if it is destr
On 07/02/11 14:22, Jiří Pavlovský wrote:
>Hi,
>
> I Have a block like below. It will produce the following output when
> included with the 'collapse' filter.:
>
> "- name1 , name2 , and name 3 en".
>
> I need to get rid of the space in front of comas, but cannot figure out
> a way to do it. I t
On 07/02/11 14:22, Jiří Pavlovský wrote:
>Hi,
>
> I Have a block like below. It will produce the following output when
> included with the 'collapse' filter.:
>
> "- name1 , name2 , and name 3 en".
>
> I need to get rid of the space in front of comas, but cannot figure out
> a way to do it. I t
[% FOREACH author IN COLUMN.list_authors %]
[% author.get_name(LANGUAGE) | collapse %]
[% IF loop.first && loop.last %]
[%# do nothing if we have only one author %]
[% ELSIF loop.last # "and" before last author %]
and
[% ELSE # comma between all other authors %]
Hi,
I Have a block like below. It will produce the following output when
included with the 'collapse' filter.:
"- name1 , name2 , and name 3 en".
I need to get rid of the space in front of comas, but cannot figure out
a way to do it. I tried all possible combinations of TRIM and CHOMP
optio
10 matches
Mail list logo