To participate you must create an account on apostrophenow.org. If you have already done so, click Login.

Ticket #425 (closed defect: fixed)

Opened 20 months ago

Last modified 20 months ago

add slots at bottom defect

Reported by: martin79 Owned by: boutell
Priority: major Milestone: 1.4.1
Component: apostrophePlugin Version:
Keywords: Cc:
Symfony version: 1.4

Description

To add slots at bottom with setting: "app_a_new_slots_top" does not work anymore.
To fix add in BaseaSlotActions::editSave() the parameter 'top' for calling newAreaVersion.
Like this:

class FixedBaseaSlotActions? extends BaseaSlotActions?
{

protected function editSave()
{

$this->slot->save();
$this->page->newAreaVersion(

$this->name,
$this->newSlot ? 'add' : 'update',
array('permid' => $this->permid, 'slot' => $this->slot, 'top' => sfConfig::get('app_a_new_slots_top', true)));

if ($this->getRequestParameter('noajax'))
{

return $this->redirectToPage();

}
else
{

return $this->editAjax(false);

}

}

}

Change History

Changed 20 months ago by boutell

  • status changed from new to accepted
  • milestone changed from 1.4 to 1.4.1

Changed 20 months ago by boutell

  • status changed from accepted to closed
  • resolution set to fixed

Fixed in [1586]

Note: See TracTickets for help on using tickets.