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

Opened 11 years ago

Closed 11 years ago

#1004 closed bug (fixed)

compiled events doesn't take entrypoints into account

Reported by: catsoup Owned by:
Priority: normal Milestone: Jelix 1.0.11
Component: jelix:events Version: trunk
Severity: normal Keywords:
Cc: Blocked By:
Blocking: Documentation needed: no
Hosting Provider: Php version:

Description

There is a problem if we have X entrypoints with their events. Because they are written in events.php but depending of the entrypoint reached, some events are not compiled.

We should have an events.php for each entrypoint.

This is most needed with jelix 1.2 because we have muche more liberty to make differents entrypoints with their own configuration.

Attachments (3)

jelix-trunk-events-rename-compiled-file-depending-of-entrypoint.diff (516 bytes) - added by catsoup 11 years ago.
what I made for me, but there must be a cleaner way to do this
jelix-1.0.x-events-rename-compiled-file-depending-of-entrypoint.diff (534 bytes) - added by catsoup 11 years ago.
jelix-1.0.x-events-rename-compiled-file-depending-of-entrypoint.2.diff (534 bytes) - added by catsoup 11 years ago.
changed double quote to simple in basename function, for consistency :)

Download all attachments as: .zip

Change History (7)

Changed 11 years ago by catsoup

what I made for me, but there must be a cleaner way to do this

comment:1 Changed 11 years ago by catsoup

  • review set to review?

comment:2 Changed 11 years ago by laurentj

  • Milestone changed from Jelix 1.2 to Jelix 1.0.11
  • review changed from review? to review+

it seems ok for me. we should fix it in fact for all branches 1.0.x 1.1.x and trunk.

comment:3 Changed 11 years ago by catsoup

The patch for trunk applies well on 1.1.x

Changed 11 years ago by catsoup

changed double quote to simple in basename function, for consistency :)

Note: See TracTickets for help on using tickets.