Croogo block

25 views
Skip to first unread message

Symirna M

unread,
Feb 2, 2012, 3:49:57 AM2/2/12
to Croogo
I just want to add element (songs list in the block ) like this:

<div class="song1"> [element:audio] </div>
BUt this list should be come as like in for loop. Under each data I
want to add div.

But as of now the result is coming like this:


<div class="song1">
<oL> <li>song 1 </li><ol>
<oL> <li>song2 </li><ol>
<oL> <li>song 3 </li><ol>
<oL> <li>song4 </li><ol></div>

But I want the result to be like this
<div class="son1"> song1</div>
<div class="song2"> song2</div>
<div class="song3"> song3</div>
<div class="song4"> song4</div>

How could do the above inside the block

Symirna M

unread,
Feb 2, 2012, 7:56:20 AM2/2/12
to Croogo
I have added with the name element.ctp and updated the element with
required <div> Now it looks fine. :)
Croogo is the best!

On Feb 2, 1:49 pm, Symirna M <symi...@indusnet.co.in> wrote:
> Ijustwanttoaddelement(songs list in the block ) like this:
>
> <div class="song1"> [element:audio] </div>
> BUt this list should be come as like in for loop. Under each data Iwanttoadddiv.
>
> But as of now the result is coming like this:
>
> <div class="song1">
> <oL> <li>song 1 </li><ol>
> <oL> <li>song2 </li><ol>
> <oL> <li>song 3 </li><ol>
> <oL> <li>song4 </li><ol></div>
>
> But Iwantthe result to be like this

Borislav Sabev

unread,
Feb 3, 2012, 1:40:58 AM2/3/12
to Croogo
Hello.

Yes, anything that you would like to repeat/process server side should
be
in the element.

Borislav
Reply all
Reply to author
Forward
0 new messages