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!

Viewing Issue Advanced Details Jump to Notes ] Wiki ] View Simple ] Issue History ] Print ]
ID Category Type Reproducibility Date Submitted Last Update
0000189 [In-Portal CMS] Admin Interfaces bug report always 2009-08-06 10:26 2009-10-03 07:57
Reporter Dmitry View Status public Project Name In-Portal CMS
Assigned To alex Developer
Priority normal Resolution fixed Platform
Status closed   OS
  OS Version
ETA none Fixed in Version 5.0.1 Product Version 5.0.0
  Target Version 5.0.1 Product Build
Time EstimateNo estimate
Summary 0000189: Changes in Options for "Section Template" field for Sections
Description Currently it's confusing when we have EMPTY field which works as Inherit from Parent. Often users won't put anything there and it will lead to a Fatal Error since NO design template specified.

Propose to do the following:

1. When Adding NEW Top section (ParentId = 1), we'll list only existing designs (taken from drop-down) defaulting to the template specified in cms_DefaultDesign varianble.

This variable will be defined under Admin->Configuration->Website->Advanced: Website Settings as a text field and will default to "platform/designs/general"

Place variable after:[10.05] Config_Site_Time

Variable name will be la_prompt_DefaultDesignTemplate (already in DB) -- Default "Section Template".

I'll add/change it myself in a language pack in a different task.


2. When Adding or Editing the Section of 2+ level deep we'll have list of physical template designs + empty value named [Inherit from Parent] (should be fist selection)
Steps To Reproduce
Additional Information
Tags No tags attached.
Reference
Change Log Message
Estimate Points 0
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
parent of 0000184closed (5.0.1)alex Selecting default Section Design 

-  Notes
User avatar (0000278)
alex (manager)
2009-08-08 07:36
edited on: 2009-08-08 13:25

Reminder sent to: Dmitry

Phrase prefix "la_prompt_" is deprecated and should not be used (like in "la_prompt_DefaultDesignTemplate" phrase). You should use "la_config_" prefix for configuration variables.

It will also be good to rename all "la_prompt_" phrases to match their use: "la_fld_" or "la_col_" or "la_config_" or anything from wiki, that will match their usage.

I'll change this phrase in this task.

User avatar (0000279)
alex (manager)
2009-08-08 13:38

Fix committed to 5.0.x branch. Commit Message:

1. Fixes 0000189: Changes in Options for "Section Template" field for Sections.
2. Implemented not exactly the way as planned, because administrator can change "Parent Section" from "Content" (top category, where "Inherit from Parent" option in "Template" field not available) to it's child section, where this option should be available. As a result I always show "Inherit from Parent" option, but when administrator manually selects "Inherit from Parent" in "Template" field and "Content" in "Parent Section" field and tries to save changes, I show him an error about that.
User avatar (0000792)
administrator (administrator)
2009-10-03 07:57

Closing issues from 5.0.1 version, because version was already released.

- Related Changesets
In-Portal CMS: 5.0.x r12231
Timestamp: 2009-08-08 13:38:05
Author: alex
Details ] Diff ]
1. Fixes 0000189: Changes in Options for "Section Template" field for Sections.
2. Implemented not exactly the way as planned, because administrator can change "Parent Section" from "Content" (top category, where "Inherit from Parent" option in "Template" field not available) to it's child section, where this option should be available. As a result I always show "Inherit from Parent" option, but when administrator manually selects "Inherit from Parent" in "Template" field and "Content" in "Parent Section" field and tries to save changes, I show him an error about that.
mod - /in-portal/branches/5.0.x/core/admin_templates/categories/categories_edit.tpl Diff ] File ]
mod - /in-portal/branches/5.0.x/core/install/english.lang Diff ] File ]
mod - /in-portal/branches/5.0.x/core/install/install_data.sql Diff ] File ]
mod - /in-portal/branches/5.0.x/core/install/install_schema.sql Diff ] File ]
mod - /in-portal/branches/5.0.x/core/install/upgrades.sql Diff ] File ]
mod - /in-portal/branches/5.0.x/core/kernel/constants.php Diff ] File ]
mod - /in-portal/branches/5.0.x/core/units/categories/cache_updater.php Diff ] File ]
mod - /in-portal/branches/5.0.x/core/units/categories/categories_config.php Diff ] File ]
mod - /in-portal/branches/5.0.x/core/units/categories/categories_event_handler.php Diff ] File ]

- Issue History
Date Modified Username Field Change
2009-10-03 07:57 administrator Note Added: 0000792
2009-10-03 07:57 administrator Status resolved => closed
2009-08-08 13:38 alex Fixed in Version => 5.0.1
2009-08-08 13:38 alex Note Added: 0000279
2009-08-08 13:38 alex Status reviewed and tested => resolved
2009-08-08 13:38 alex Resolution open => fixed
2009-08-08 13:38 alex Changeset attached 5.0.x r12231
2009-08-08 13:25 alex Note Edited: 0000278 View Revisions
2009-08-08 07:36 alex Note Added: 0000278
2009-08-07 10:48 Dmitry Relationship added parent of 0000184
2009-08-06 10:52 Dmitry Summary Changes in Options for "Template Design" field for Sections => Changes in Options for "Section Template" field for Sections
2009-08-06 10:52 Dmitry Description Updated View Revisions
2009-08-06 10:26 Dmitry New Issue
2009-08-06 10:26 Dmitry Status active => reviewed and tested
2009-08-06 10:26 Dmitry Assigned To => alex



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

Powered by Mantis Bugtracker