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!

View Revisions: Issue #1222 Back to Issue ]
Summary 0001222: Incorrect PageInfo Mapping and Navbar
Revision 2012-03-27 11:25:58 by alex
Description 1. PageInfo tag render incorrectly htmlhead_title and title parameters, because mapping is wrong between info entered in admin and result on pag, in categories_tag_processor:

  case 'title':
   $db_field = 'Title';
   break;

  case 'htmlhead_title':
   $db_field = 'Name';
   break;

and it should be

case 'title':
$db_field = 'Name';
break;

case 'htmlhead_title':
$db_field = 'Title';
break;


2. Navigation bar add "title_field" parameter to c_NavigationBar tag, that will allow to use any specified field to compose navigation bar (will require extra select). Pass "MenuTitle" field on front-end. This way we'll keep consistent navigation bar in admin console and on front-end.
Revision 2012-03-12 15:55:51 by alex
Description 1. PageInfo tag render incorrectly htmlhead_title and title parameters, because mapping is wrong between info entered in admin and result on pag, in categories_tag_processor:

  case 'title':
   $db_field = 'Title';
   break;

  case 'htmlhead_title':
   $db_field = 'Name';
   break;

and it should be

case 'title':
$db_field = 'Name';
break;

case 'htmlhead_title':
$db_field = 'Title';
break;


2. Navigation bar use "Name" to display the path, which is not so good: if page title is very long, navbar display will become ugly, and if user click on a menu name, he shoud see this menu name in navbar, instead of page title. Then I recommend here to fix this on the whole system, but it's out of my knowledge... need to change how CategoryPath works...may by adding a new prefix, just used in navbar scheme?



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

Powered by Mantis Bugtracker