Hello, i'm new to CouchCMS and i really like working with it so far. Thank you !!
I have a question:
i'm displaying the contents of my pages the normal way like this:
And after all the pages has been fetched,i want to display a text and a link, well, actually a button, but i only want to do this if there were some pages fetched...
I can not put the code inside "the loop", since then i'll get one button per page, and if i put it after, i don't have access to no_results.
How should i do? Is there a global "results"-tag, perhaps?
Maybe a simple thing, but i'm not really a coder (and that's why i choosed to use this very nice tool to transform my static sites to dynamic ones=
I have a question:
i'm displaying the contents of my pages the normal way like this:
- Code: Select all
<cms:pages ..>
...
<cms:no_results>
<h3>No pages found</h3>
</cms:no_results>
</cms:pages>
And after all the pages has been fetched,i want to display a text and a link, well, actually a button, but i only want to do this if there were some pages fetched...
I can not put the code inside "the loop", since then i'll get one button per page, and if i put it after, i don't have access to no_results.
How should i do? Is there a global "results"-tag, perhaps?
Maybe a simple thing, but i'm not really a coder (and that's why i choosed to use this very nice tool to transform my static sites to dynamic ones=
