Hi Couch-People!
I'm struggling with a couch problem i haven't encountered so far:
I used this code to create editable and repeatable regions for a page (of course, the template has been set up correctly and is displayed accordingly in the backend):
Now i'm using these to be shown repeated in an audio player like this:
Now when uploading files and refreshing the page, there is nothing being injected into the <li> elements (they are just empty). And the console is throwing up some errors because the player (which uses a .js library) has nothing to play back.
When i use it without the repeatable region as a single file, it works without any errors..
How can i find out what is causing the problem here?
Thanks in advance
Kind regards
Sundance
I'm struggling with a couch problem i haven't encountered so far:
I used this code to create editable and repeatable regions for a page (of course, the template has been set up correctly and is displayed accordingly in the backend):
- Code: Select all
<cms:repeatable name='Hoerproben'>
<cms:editable
name='title'
label='title'
desc='Titel der Hoerprobe'
type='textarea' />
<cms:editable
name='mp3'
label='mp3'
desc='MP3 Version'
type='file' />
<cms:editable
name='ogg'
label='ogg'
desc='OGG Version'
type='file' />
</cms:repeatable>
Now i'm using these to be shown repeated in an audio player like this:
- Code: Select all
<cms:show_repeatable name='Hoerproben'>
<ul>
<li class="xtitle"><cms:show title /></li>
<li class="ximage">images/p3.jpg</li>
<li class="xsources_mp3"><cms:show mp3 /></li>
<li class="xsources_ogg"><cms:show ogg /></li>
</ul>
</cms:show_repeatable>
Now when uploading files and refreshing the page, there is nothing being injected into the <li> elements (they are just empty). And the console is throwing up some errors because the player (which uses a .js library) has nothing to play back.
When i use it without the repeatable region as a single file, it works without any errors..
How can i find out what is causing the problem here?
Thanks in advance
Kind regards
Sundance