Bit of a weird name, bit of a weird problem.
I have created a channel for cases, where the client can add a case. In the case detail page, I show the details of the selected case (based on the URI detail/case-title:
<h1>Case overzicht</h1>
{exp:channel:entries channel="cases" }
<h2>{title}</a></h2>
<p>{question}</p>
<p><br />
{answer}</p>
<p><br />
{/exp:channel:entries}
On that same page, I would like to show all the available cases…..so the same channel, cases:
<?php $teller = 1; ?>
<div class="content-panels">
<div class="arrowgreen">
<ul>
<? $channel = ""; ?>
<? $limit = ""; ?>
{exp:channel:entries limit="4" disable="categories|member_data|pagination" channel="cases" sort="asc"}
<li><a href="http://{url_title_path=%27cases/detail%27}" title="{title}"><h2>CASE: 0<?php echo $teller; ?></h2><p>{subtitel}</a><div class="pijl"></div></li><br />
<?php $teller++; ?><br />
{/exp:channel:entries} <br />
</ul><br />
</div><br />
</div>But now this overview of cases, will only show the selected case as well. Is there a way to “clear” the data, so that it will show the full channel entries within the cases channel? Like set the variables to “” or NULL ?
Hope someone can help me. 😊
Cheers, Robbert