Skip to Content.
Sympa Menu

comanage-users - Re: [comanage-users] writing my first comanage plugin

Subject: COmanage Users List

List archive

Re: [comanage-users] writing my first comanage plugin


Chronological Thread 
  • From: Dave Dykstra <>
  • To: Benn Oshrin <>
  • Cc: <>
  • Subject: Re: [comanage-users] writing my first comanage plugin
  • Date: Fri, 19 May 2017 09:23:05 -0500
  • Authentication-results: internet2.edu; dkim=none (message not signed) header.d=none;internet2.edu; dmarc=none action=none header.from=fnal.gov;
  • Ironport-phdr: 9a23:9HoZaBBSscfVr/nTIWt2UyQJP3N1i/DPJgcQr6AfoPdwSPX/oMbcNUDSrc9gkEXOFd2CrakV1KyM6uu/BSQp2tWoiDg6aptCVhsI2409vjcLJ4q7M3D9N+PgdCcgHc5PBxdP9nC/NlVJSo6lPwWB6nK94iQPFRrhKAF7Ovr6GpLIj8Swyuu+54Dfbx9GiTe5Y75+Ngu6oRjeusQUjoZpN7o8xAbOrnZUYepd2HlmJUiUnxby58ew+IBs/iFNsP8/9MBOTLv3cb0gQbNXEDopPWY15Nb2tRbYVguA+mEcUmQNnRVWBQXO8Qz3UY3wsiv+sep9xTWaMMjrRr06RTiu86FmQwLzhSwZKzA27n3Yis1ojKJavh2hoQB/w5XJa42RLfZyY7/Rcc8fSWdHUMlRTShBCZ6iYYUJAeQKIOJUo5Djq1cSqBezAxSnCuHyxT9SnnL406003fo8Hw/F0gwvEM4Bv2nWo9r7NacfSvy1wLXSwDnfc/9bwynx5Y7VeR4hu/GMWrdwfNLfx0Y1CQPKkEibp4LlPjOWzeQNr3Kb4PB9Xu+olmEmpRx+ryOhxscqkIbJgpgZyl/D9SVn2Ys4I8CzRk1jYdO8DpdfrT2WO5ZzT88/Xm1kpSM3yrMJtJKnYCQHzZonyAPDZ/CbdoWF5xDuWPuLLjtgmX5odq+ziwys/US+yuDwTNS43VRWoiZfj9XBtn8A2hrO4cadUPR95F2u2TOX2gDT9O5EJUc0mLLUK5E93rE8iocfvV3dEyD0hUn6laiWeV469eSy7OTnf6nmqYSbN49pjAHxL74imtSlAeQ/LggBQXSU+fi91L3k+031WrJKjuAqkqndt5DaIscbqrSlDA9S14Yv8xe/DzG439QEhXQLMkhKdA6ag4XsJl3CPe30APKxg1mjjDtn2/XLPrP8DZnRMnTOlbLscLRg50FG0AYzyMpQ55NQCrEPOvLzXUrxucTFAR43LgO52OjnCNNn2YMaQ26PDaiZML3KvV+S+u0vO/WMZJMSuDvlMPcq+fjujXk+mVIGfKmp24cXZ26iHvRgPUqZfWTgjs0fHmgXowo0VPbqh0GaUT5Pe3ayWLox6S08CIKjF4jDQJqigLOf0yuiA51WfX5JCkqXEXrzc4WEWuwMaD6JIsN/iDAEVL6hS5M/2hG0sg/11aZnIvTO9iIGqJ3jyYs92+qGvxw083RTFMSH0mfFG2t5mGUPbz4wwK1lp0FhkBGO3bUu0NJCEtkGy/pXX08WJJ3H0/ZzQ4T+RQ7pcNGATBCpRcvwUmJ5dc4439JbOxU1IN6llB2WmnPwW7I=
  • Spamdiagnosticmetadata: NSPM
  • Spamdiagnosticoutput: 1:99

On Thu, May 18, 2017 at 07:31:12PM -0400, Benn Oshrin wrote:
> On 5/18/17 4:55 PM, Dave Dykstra wrote:
>
> > The next question is, what affect is the example supposed to have on a
> > CO person page? I don't see any difference, so I don't know if it is
> > doing anything. The documentation doesn't say what to look for. The
> > table says it goes to the "My Identities" menu, but I don't see that
> > anywhere.
>
> The "My Identities" menu is the drop menu at the top with your name.
> Entries should be added there with the text indicated in the array.

Ok, good to know. So I am seeing no extra entry there. I enabled
debugging the way Scott showed me (with "Configure::write('debug', 2)
in app/Config/core.php) and it says
Notice (8): Undefined index: pl.dirviewer.viewmenu [APP/Lib/lang.php,
line 1797]

That at least tells me that the plugin is doing something, which is all
I really wanted to know.

> I think there might be a rendering bug, though, that causes the
> associated submenu to be disconnected from the main menu, making it hard
> to click. This is fixed in the 3.0 series, but I'm not sure we fixed it
> in the earlier versions.

I don't care about modifying the menu, so that doesn't matter to me, I
just wanted to see a plugin do something.

Can you give me any pointers about specifically writing a plugin to add
custom data items to the CO person page? It looks like I need to
somehow add to the CoPeople view.

Dave



Archive powered by MHonArc 2.6.19.

Top of Page