Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 25205ac9

Von Sven Schöling vor etwa 2 Jahren hinzugefügt

  • ID 25205ac9cb93bcd8b177548ddb6f9bdf7008d374
  • Vorgänger b9bb792b
  • Nachfolger bf2b5e5d

Layout: webpages_fallback_path Mechanismus

Unterschiede anzeigen:

SL/Layout/Base.pm
44 44
  "templates/webpages";
45 45
}
46 46

  
47
sub webpages_fallback_path {
48
}
49

  
47 50
sub html_dialect {
48 51
  'transitional'
49 52
}
......
358 361
stylesheets where the templates are so incompatible that a complete fork of the
359 362
templates dir is sensible.
360 363

  
364
=item * webpages_fallback_path
365

  
366
Allows partial template sets to fallback to other paths in case a template
367
wasn't found. Intended to be used in conjunction with L</webpages_path>.
368

  
369
Note: in case a template can't be found at all, generic/error.html will be
370
rendered, and the fallback doesn't work in this case.
371

  
372

  
361 373
=item * allow_stylesheet_fallback
362 374

  
363 375
Defaults to true. The default behaviour is that stylesheets not found in the

Auch abrufbar als: Unified diff