Hi all!
I'm working on a site for a Dutch company, and i'm currently finishing the job offers page. The way the company is going to add job offers is by creating a page for each job on a clonable page (vacature.php). If there are job offers, they will be listed on vacatures.php. If there are no job offers, the list should say something in the lines of 'No job offers available'. This is where it gets hard for me, so maybe someone can help me. I've tried a lot of things.
This is the code right now, but the No job offers available is always showing.
I guess I should use a <cms:if> but I can't find out which one. Can someone point me in the right direction? Thanks in advance!
Jan
I'm working on a site for a Dutch company, and i'm currently finishing the job offers page. The way the company is going to add job offers is by creating a page for each job on a clonable page (vacature.php). If there are job offers, they will be listed on vacatures.php. If there are no job offers, the list should say something in the lines of 'No job offers available'. This is where it gets hard for me, so maybe someone can help me. I've tried a lot of things.
This is the code right now, but the No job offers available is always showing.
- Code: Select all
<cms:pages masterpage='vacature.php' paginate='1' limit='10' >
<h4><a href='<cms:show k_page_link />'><cms:show k_page_title /> <small><cms:show vacature_uren /></small></h4></a>
<cms:else />
<p>No job offers available.</p>
</cms:pages>
I guess I should use a <cms:if> but I can't find out which one. Can someone point me in the right direction? Thanks in advance!
Jan