Skip to Content.
Sympa Menu

comanage-dev - [comanage-dev] Re: Another big commit coming

Subject: COmanage Developers List

List archive

[comanage-dev] Re: Another big commit coming


Chronological Thread 
  • From: Arlen Johnson <>
  • To:
  • Subject: [comanage-dev] Re: Another big commit coming
  • Date: Sat, 15 Aug 2015 15:46:17 -0400

I will not be adding buttons.inc to Standard/add.ctp as all current references from within fields.inc to create sidebarButtons include this (or something like it):

// Add links to sidebar
if($this->action != "add") {

For the moment I will not refactor the buttons.inc files to exclude these checks; if we want to include the file with Standard/add.ctp we can do so with no change of behavior, though we can also make the choice to only include top buttons on view and edit pages. If we choose this road, then the extra logic (generally excluding buttons from "add") can be tossed.

Arlen


On 8/15/15 12:34 PM, Arlen Johnson wrote:
A new include file can be added to any view called "buttons.inc". This will be pulled in by Standard/edit, view, and add.ctp when it exists.




Archive powered by MHonArc 2.6.16.

Top of Page