OctoberCMS repeater doesn't render data in static page

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP



OctoberCMS repeater doesn't render data in static page



I started using OctoberCMS a few days ago and I am trying to use the repeater tag. The code below is written in my layout.htm file (CMS TAB).


<body>
<!-- HEADER PARTIAL -->

<!-- generate the content -->
% page %
<div>
repeater name="item" prompt="Add item"
<div class="article-container">
<div class="carousel-container">
<img />
<img /> <!-- add X-amount of Images to the carousel -->
<img />
<button class="btn-small">prev</button>
<button class="btn-small">next</button>
</div>

<article>
<header>text name="title" label="Title"Title/text</header>
<p>textarea name="description" label="Description"Description/textarea</p>
<button class="btn-gradient">text name="buttonText" label="ButtonText"ButtonText/text</button>
</article>
</div>
/repeater
</div>
<!-- content generated -->

<!-- FOOTER PARTIAL -->
<!-- SCRIPTS -->
</body>



In Rainlab's Static Pages -> Pages (PAGE TAB) -> A chosen page: I can see this repeater in the 'misc' tab.



When I fill in the fields and save, I do not see the content rendered in my Static Page. All I see is an empty div that is wrapped around the repeater tag. What am I doing wrong? How do I get this content rendered in my Static Page? I see the key & values added in the viewbag in the static page.htm file.



Thank you for your time.




1 Answer
1



I believe this was a bug that has been fixed. It suddenly works now... I didn't change anything.






By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Popular posts from this blog

make 2 or more post in bootsrap

Store custom data using WC_Cart add_to_cart() method in Woocommerce 3

Firebase Auth - with Email and Password - Check user already registered