is not used any more and exists only for history. Post new tickets on the Github account. n'est plus utilisée, et existe uniquement pour son historique. Postez les nouveaux tickets sur le compte github.

Opened 10 years ago

Last modified 9 years ago

#1463 assigned enhancement

Configure different crud links in DaoCrud

Reported by: FlorianLB Owned by: FlorianLB
Priority: normal Milestone:
Component: jelix:controllers Version: trunk
Severity: normal Keywords:
Cc: f.lonqueu.brochard+jelix-trac@… Blocked By:
Blocking: Documentation needed: no
Hosting Provider: Php version:


It can be easier to configure directly and in our controller which crud links must be displayed in differents template.

Ex :

 protected $actionsForList = array('edit', 'delete', 'list');

//Will display the "edit" link and "delete" link for each line of the table and the "back to list" link at the end.

It can be done in a custom template but I think it can be good to have this comportment by default.

I already use that things in a subclass of jControllerDaoCrud so the patch is ready if you want it.

Change History (4)

comment:1 Changed 10 years ago by FlorianLB

  • Cc f.lonqueu.brochard+jelix-trac@… added

comment:2 Changed 10 years ago by laurentj

  • Component changed from jelix to jelix:controllers
  • Milestone set to Jelix 1.4
  • Owner set to FlorianLB
  • Status changed from new to assigned

why not

comment:3 Changed 10 years ago by FlorianLB

I think i will include that and other improvements (filters, etc) in a separate module.

comment:4 Changed 9 years ago by laurentj

  • Milestone Jelix 1.4 deleted
Note: See TracTickets for help on using tickets.