In the admin section, whether logged in as super or any administrator, I see a list of the pages of my site, followed by "caledit/caledit.php" and concluded with Comments and Users. Caledit.php is a file in my /caledit folder on the site (outside of Couch). There is no cms code in that file (but it is the target of an html link in one of my pages). Why is it appearing on the admin screen (obviously with no editable fields) and how can I get rid of it?
Hi,
Only PHP files that have '<?php require_once( 'couch/cms.php' ); ?>' and <?php COUCH::invoke(); ?> in them should appear in the sidebar (except, of course, the 'comments', 'drafts' and 'users' menuitems which are added by the system).
Is there a chance that the caledit/caledit.php at some point of time in the past had those two lines of PHP in it? Perhaps those were removed later but the entry persisted.
Anyway, to remove it, please try the following -
temporarily rename the 'caledit/caledit.php' to something else (e.g. name it 'caledit/caleditxyz.php'). Coming back to the admin panel as super-admin, you should see Couch sensing that the template no longer exists. It should prompt you to permanently remove it from the system (it the template has any cloned pages it will prompt you to first delete those pages).
Hope it helps.