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 Simple Details Jump to Notes ] Wiki ] View Advanced ] Issue History ] Print ]
ID Category Type Reproducibility Date Submitted Last Update
0000152 [In-Portal CMS] Front End feature request N/A 2009-07-28 04:39 2010-07-22 15:06
Reporter alex View Status public Project Name In-Portal CMS
Assigned To alex Developer
Priority normal Resolution fixed Fixed in Version 5.1.0-B1
Status closed Product Version 5.0.1 Target Version 5.1.0
Time EstimateNo estimate
Summary 0000152: Add ability to get MenuTitle of CMS page using "st_PageInfo" tag
Description Currently tag "st_PageInfo" allows to get most popular information about current CMS page, but not contents of MenuTitle field. I think, that it should allow us to do that.

In global scale we should think about rewriting for scratch part of that tag anyway to allow to get any current CMS page field from it. Or just remove it and use "<inp2:st_Field name="MenuTitle"/>" and so on directly.

Besides that this tag do 2 other things:
1. returns empty string when requested field value begins with "_Auto:";
2. asks "c_Meta" tag about additional information.

Kind of strange relationships that two tags have. We should break it anyway and use "c_Meta" tag directly when needed. This will make code more simple, more readable and understandable.

One more thing about this tag: there is PageInfo tag in base tag processor, that returns pagination information when listing items. Tag "st_PageInfo" prevents original tag to be accessed in any way and that's not good. Nobody seems to use tag "PageInfo" in favor of "GridInfo" tag so no one noticed that fact. Should investigate deeper anyway.
Additional Information
Tags No tags attached.
Reference
Change Log Message Minor improvement to "st_PageInfo" tag
Estimate Points 0
Attached Files patch file icon pageinfo_show_menutitle.patch [^] (430 bytes) 2010-01-13 06:12 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
User avatar (0001411)
alex (manager)
2010-01-13 06:13

To test modify any template, maybe design template is best for that and add:
<inp2:st_PageInfo type="menu_title"/> to see current page title for menu.
User avatar (0001993)
Dmitry (manager)
2010-04-27 17:15
edited on: 2010-04-27 17:16

Tested okay.

This is already committed by Alex:

http://source.in-portal.org/in-portal/branches/5.1.x/core/units/categories/categories_tag_processor.php?r1=11494&r2=11495&

User avatar (0002006)
alex (manager)
2010-04-28 06:06

Fix committed to 5.1.x branch. Commit Message:

Fixes 0000152: Add ability to get MenuTitle of CMS page using "st_PageInfo" tag
User avatar (0002007)
alex (manager)
2010-04-28 06:07

Reminder sent to: Dmitry

This was never commited before, Dmitry.

Maybe you were talking about "meta_title" and not "menu_title", since they look almost the same.
User avatar (0002544)
alex (manager)
2010-07-22 15:06

Closing, since 5.1.0 release has been released.

- Related Changesets
In-Portal CMS: 5.1.x r13452
Timestamp: 2010-04-28 06:06:54
Author: alex
Details ] Diff ]
Fixes 0000152: Add ability to get MenuTitle of CMS page using "st_PageInfo" tag
mod - /in-portal/branches/5.1.x/core/units/categories/categories_tag_processor.php Diff ] File ]

- Issue History
Date Modified Username Field Change
2010-07-22 15:06 alex Note Added: 0002544
2010-07-22 15:06 alex Status resolved => closed
2010-04-28 06:07 alex Note Added: 0002007
2010-04-28 06:07 alex Issue Monitored: Dmitry
2010-04-28 06:06 alex Note Added: 0002006
2010-04-28 06:06 alex Status reviewed and tested => resolved
2010-04-28 06:06 alex Fixed in Version => 5.1.0-B1
2010-04-28 06:06 alex Resolution open => fixed
2010-04-28 06:06 alex Assigned To !COMMUNITY => alex
2010-04-28 06:06 alex Changeset attached 5.1.x r13452
2010-04-27 17:16 Dmitry Change Log Message => Minor improvement to "st_PageInfo" tag
2010-04-27 17:16 Dmitry Note Edited: 0001993 View Revisions
2010-04-27 17:15 Dmitry Note Added: 0001993
2010-04-27 17:15 Dmitry Status needs testing => reviewed and tested
2010-02-27 04:10 alex Developer => alex
2010-01-13 06:13 alex Time Estimate Removed 1 =>
2010-01-13 06:13 alex Note Added: 0001411
2010-01-13 06:13 alex Assigned To => !COMMUNITY
2010-01-13 06:13 alex Status active => needs testing
2010-01-13 06:12 alex File Added: pageinfo_show_menutitle.patch
2010-01-12 11:38 alex Time Estimate Added 1
2009-07-31 15:31 Dmitry version => 5.0.1
2009-07-31 15:31 Dmitry Target Version => 5.1.0
2009-07-28 04:41 alex Description Updated View Revisions
2009-07-28 04:39 alex New Issue



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

Powered by Mantis Bugtracker