Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

block remove of index page

#183

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

Reported by semias · March 22nd, 2011 @ 02:50 AM

State: resolved
Milestone: 5.0.4
Assigned to: semias semias

Activity

  1. semias
    semias
    • 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.

    March 25th, 2011 @ 05:46 AM

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.