Forum for discussing general topics related to Couch.
4 posts Page 1 of 1
Hello,

We created some additional pages in the admin panel.(Stats,help,devices,...) However these pages can be accessed without login.

We would like to integrate the couch authentication so that only logged in backend users can access these pages.

Who can tell me how to integrate this ? Thx!
Hi,

Place the following in the secure templates and that should allow access to only logged-in users
Code: Select all
<cms:if k_logged_out >

    <cms:redirect k_login_link />
   
</cms:if>

For more details, please see http://www.couchcms.com/docs/concepts/users.html

Hope it helps.
Workin! But the pages show up in the cms menu stating that there are no editable regions.

We inserted our own links to the pages. How can we remove the pages from the automated menu list.
pages show up in the cms menu stating that there are no editable regions
I think you are doing something incorrectly. You haven't, by any chance, removed the <cms:template> block, have you?

Please PM me your template if you are unsure.

We inserted our own links to the pages. How can we remove the pages from the automated menu list.
I think, you'll have to wrap the links in an access-check before outputting them e.g.
Code: Select all
<cms:if k_logged_in >
   <a href="#">Test</a>
</cms:if>
4 posts Page 1 of 1