Skip Menu |

This queue is for tickets about the clearpress CPAN distribution.

Report information
The Basics
Id: 72491
Status: resolved
Priority: 0/
Queue: clearpress

People
Owner: Nobody in particular
Requestors: setitesuk [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: (no value)
Fixed in: (no value)



Subject: templates in folder with entity name
As discussed. Would it be possible for the templates to be put under a folder structure, with the folder name that of the entity i.e. run/list.tt2 rather than run_list.tt2 which causes a large number of files under the templates directory to manage Potential issues: backwards compatability whilst it might be easy to fix code (which should just work in most cases), any templates referring other templates ( [% PROCESS run_lane_read.tt2 %]) would need to change the hard-codedness. files would need to be renamed/moved in one sweep - bit of graft never hurt anyone Perhaps could be done on a configuration basis, which would then allow old apps to remain as they are? Cheers Andy
Filesystem-stat method (rather than global configuration option) will be available in versions > 422. May change to global config in future. This change is backwards compatible but global configuration will be less-so after this change. Tbh subdirectoried templates should become the default.