Ticket #135 (closed patch: fixed)

Opened 1 year ago

Last modified 1 year ago

load templates on demand

Reported by: rho Assigned to: misja
Priority: normal Milestone: 0.9
Component: core Version:
Severity: normal Keywords: template, load, ondemand
Cc: dramirez Patch Included:
Review Stage:

Description

Currently each mod load templates into $template via file_get_contents

This patch try to guess if $template[name] is a path, and override with the content.

Attachments

007_templates_load_on_demand.diff (0.8 kB) - added by rho on 11/07/07 15:15:06.
008_templates_load_on_demand.diff (10.1 kB) - added by rho on 11/08/07 19:00:51.
improved patch

Change History

11/07/07 15:15:06 changed by rho

  • attachment 007_templates_load_on_demand.diff added.

11/07/07 17:32:24 changed by dramirez

That look has a good start. The following step I thing would be start to externalize the HTML.

Thanks Rolando!

11/07/07 17:55:46 changed by rho

Should i commit the patch?

11/08/07 05:37:35 changed by dramirez

  • cc set to dramirez.
  • milestone set to 0.9.

11/08/07 09:09:48 changed by misja

Looks good to me, apply the patch

11/08/07 19:00:51 changed by rho

  • attachment 008_templates_load_on_demand.diff added.

improved patch

11/08/07 20:23:41 changed by rho

  • status changed from new to closed.
  • resolution set to fixed.