comanage-dev - [comanage-dev] Rendering Names in Breadcrumbs
Subject: COmanage Developers List
List archive
- From: Benn Oshrin <>
- To: comanage-dev <>
- Subject: [comanage-dev] Rendering Names in Breadcrumbs
- Date: Fri, 25 Jul 2014 16:05:08 -0400
I'm seeing new code like this...
$this->Html->addCrumb($co_people[0]['PrimaryName']['given'] . ' ' . $co_people[0]['PrimaryName']['family']);
The problem of course is that this doesn't handle correct name order for non-western names. Instead, you should use
$this->Html->addCrumb(generateCn($co_people[0]['PrimaryName']));
which will magically do everything for you.
Thanks,
-Benn-
- [comanage-dev] Rendering Names in Breadcrumbs, Benn Oshrin, 07/25/2014
- Re: [comanage-dev] Rendering Names in Breadcrumbs, Arlen Johnson, 07/27/2014
Archive powered by MHonArc 2.6.16.