PageInfo Mapping and Navbar improvement

7 views
Skip to first unread message

Phil

unread,
Mar 12, 2012, 10:15:03 AM3/12/12
to in-port...@googlegroups.com
Hi guys,

while working on one of my project, I've discovered 2 things which would need a bug-fix and an update.

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;


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?


p

Alexander Obuhovich

unread,
Mar 12, 2012, 4:05:50 PM3/12/12
to in-port...@googlegroups.com
Thanks for finding it. We actually find that PageInfo tag problem on one of our projects, but forgot to fix it upcoming release.


--
You received this message because you are subscribed to the Google Groups "In-Portal Bugs Team" group.
To post to this group, send email to in-port...@googlegroups.com.
To unsubscribe from this group, send email to in-portal-bug...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/in-portal-bugs?hl=en.



--
Best Regards,

http://www.in-portal.com
http://www.alex-time.com

Dmitry A.

unread,
Mar 12, 2012, 4:30:25 PM3/12/12
to in-port...@googlegroups.com
Thanks for picking this up guys!

Alex, can you recall the project name we came across this at?

DA

Alexander Obuhovich

unread,
Mar 12, 2012, 4:31:19 PM3/12/12
to in-port...@googlegroups.com
Project was www.intechnic.com website.

What about NavBar issue Dmitry, should we do something about it?


--
You received this message because you are subscribed to the Google Groups "In-Portal Bugs Team" group.
To view this discussion on the web visit https://groups.google.com/d/msg/in-portal-bugs/-/gBuoz7VtfzkJ.

To post to this group, send email to in-port...@googlegroups.com.
To unsubscribe from this group, send email to in-portal-bug...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/in-portal-bugs?hl=en.

Dmitry A.

unread,
Mar 12, 2012, 4:57:31 PM3/12/12
to in-port...@googlegroups.com
Most definitely since it's a bug - task ready below:

1222: Incorrect PageInfo Mapping and Navbar



DA


On Monday, March 12, 2012 3:31:19 PM UTC-5, Alexander Obuhovich wrote:
Project was www.intechnic.com website.

What about NavBar issue Dmitry, should we do something about it?
On Mon, Mar 12, 2012 at 10:30 PM, Dmitry A. <dand...@gmail.com> wrote:
Thanks for picking this up guys!

Alex, can you recall the project name we came across this at?

DA

--
You received this message because you are subscribed to the Google Groups "In-Portal Bugs Team" group.
To view this discussion on the web visit https://groups.google.com/d/msg/in-portal-bugs/-/gBuoz7VtfzkJ.

To post to this group, send email to in-portal-bugs@googlegroups.com.
To unsubscribe from this group, send email to in-portal-bugs+unsubscribe@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/in-portal-bugs?hl=en.

Alexander Obuhovich

unread,
May 14, 2012, 4:45:22 AM5/14/12
to in-port...@googlegroups.com
This was fixed in 5.2.0-B3.


To view this discussion on the web visit https://groups.google.com/d/msg/in-portal-bugs/-/4dsza0siVhEJ.

To post to this group, send email to in-port...@googlegroups.com.
To unsubscribe from this group, send email to in-portal-bug...@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/in-portal-bugs?hl=en.
Reply all
Reply to author
Forward
0 new messages