Forum for discussing general topics related to Couch.
5 posts Page 1 of 1
I am unable to delete a cloned page. It's almost identical to another one I have, so I want to delete either one of them. I can't delete either.

No error is shown. I click DELETE on either page and the admin panel reloads and nothing is removed.

I have related pages set such that these cloned pages can be 'related' to themselves and others, so I've removed ALL relationships to either of these two pages.

I've tried removing the template file and then deleting - same result.

Unsure what's happening but is it safe to directly manipulate the database content to remove it?

I'd rather not do that. Is there something else I should check?

TY

Hmmm. I created a new test page of the clonable in question. That won't delete either.

Help!

Are you logged in as superadmin?

Yes, definitely. There's only one account set up currently.

Additionally. I just added a new clone to a different template. That won't delete either. Very strange indeed.

SOLVED.

I didn't want users to have the option to bulk delete (or delete AT ALL) some cloned items so I had removed:

Code: Select all
<cms:field 'k_selector_checkbox' />


From my

Code: Select all
cms:config_list_view searchable='1'>


It seems without those checkboxes, the javascript that performs the delete doesn't work.

I've re-instated the k_selector_checkbox and hidden it using this instead, in my config_list_view:

Code: Select all
<cms:config_list_view searchable='1'>
        <cms:field 'k_selector_checkbox' />
        <cms:field 'k_page_title' header='Product Title' />
        <cms:field 'product_cats' header="Categories" />
        <cms:field 'k_page_foldertitle'  header="Folder" />
        <cms:field 'weight' header="Weight" />
        <cms:field  'k_page_date' />
        <cms:field 'k_actions' />
        <cms:style>
            .ctrl-bot{
                display: none !important;
            }
            .col-checkbox{
                display: none !important;
            }
            .col-weight {
                padding: 10px !important;
                text-align: center !important;
            }
        </cms:style>
    </cms:config_list_view>
5 posts Page 1 of 1