#183 ✓resolved
semias

block remove of index page

Reported by semias | March 22nd, 2011 @ 02:50 AM | in 5.0.4 (closed)

block the option to remove the webpage with the page-id "index". Removing this webpage results in incorrect working of the website.

Comments and changes to this ticket

  • semias

    semias March 25th, 2011 @ 05:46 AM

    • State changed from “open” to “resolved”

    Added

    /inc/app/cms/boxes/browse/index.php
    
    $tmp = conf();
    $data['handler'] = $tmp['Server']['default_handler'];
    

    and

    /inc/app/cms/html/browse.spt
    
    {if not (loop._key == obj[handler])}
    

    This removes the checkbox at the browse web pages section so you cannot physically delete it anymore.
    It will also make sure the checkbox is removed at the default index handler set in the site settings.

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

The Sitellite web content management system.

People watching this ticket

Pages