Anonymous | Login | Signup for a new account | 2023-12-06 15:04 CST | ![]() |
Main | My View | View Issues | Change Log | Roadmap | Docs | Wiki | Repositories |
View Revisions: Issue #1222 | [ All Revisions ] [ 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? |
Main | My View | View Issues | Change Log | Roadmap | Docs | Wiki | Repositories |
Web Development by Intechnic![]() In-Portal Open Source CMS |