In-Portal Issue Tracker

Welcome to the In-Portal Open Source CMS Issue Tracker! This is a central management / tracking tool for all types of tasks / issues / bugs for the In-Portal Project. Before reporting any issues, please make sure to read the Guide into Issue Tracker and How to Properly Test and Report Bugs!

Relationship Graph View Issue ] Dependency Graph ]
related to child of duplicate of

Viewing Issue Simple Details
ID Category Type Reproducibility Date Submitted Last Update
0000683 [In-Portal CMS] Data Management bug report always 2010-04-08 23:19 2010-11-30 12:48
Reporter Dmitry View Status public  
Assigned To alex
Priority normal Resolution fixed  
Status closed      
Summary 0000683: Preventing the Deletion of specific Sections in the Catalog
Description Goals:


1. Optimize current Category prefix/table by:

a. Get rid of CreatedBySystem field:

CreatedBySystem is used ONLY in 1 place:
Categories_tp.php, ItemIcon method:
if ($object->GetDBField('CreatedBySystem')) {
 if (!$object->GetDBField('IsMenu')) {
return 'icon16_section_menuhidden_system.png';
 }
return 'icon16_section_system.png';
}

Seem like we can successfully use ThemeId = 0 check instead.



2. Allow developer to prevent deletion of specific pages in structure

a. Rename IsSystem to "PageType" with 2 options:
- Virtual (User added)
- Template (generated from Theme Template, including container sections)

b. Create new field "Protected" with 2 options:
- Yes
- No

c. ALL Sections where PageType=Template automatically marked as "Protected = Yes"

d. ANY Protected section can NOT be (unless in DEBUG):

- Changed Status (approved/decline) field
- Changed Protected (yes/no) field
- Deleted
- Edited Filename or Actual name?
- Edited Design Template

Additional Information



Web Development by Intechnic
In-Portal Open Source CMS
In-Portal Open Source CMS
Copyright © 2000 - 2009 MantisBT Group

Powered by Mantis Bugtracker