Skip to Content.
Sympa Menu

comanage-dev - [comanage-dev] Rendering Names in Breadcrumbs

Subject: COmanage Developers List

List archive

[comanage-dev] Rendering Names in Breadcrumbs


Chronological Thread 
  • 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-



Archive powered by MHonArc 2.6.16.

Top of Page