Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision eb24ae59

Von Sven Schöling vor mehr als 2 Jahren hinzugefügt

  • ID eb24ae59e75fe41ed5022077449999adab57fa42
  • Vorgänger a2dc42cf
  • Nachfolger b7aa64b4

Layout: webpages_fallback_path Mechanismus

Unterschiede anzeigen:

SL/Layout/Base.pm
42 42
  "templates/webpages";
43 43
}
44 44

  
45
sub webpages_fallback_path {
46
}
47

  
45 48
sub html_dialect {
46 49
  'transitional'
47 50
}
......
354 357
stylesheets where the templates are so incompatible that a complete fork of the
355 358
templates dir is sensible.
356 359

  
360
=item * webpages_fallback_path
361

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

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

  
368

  
357 369
=item * allow_stylesheet_fallback
358 370

  
359 371
Defaults to true. The default behaviour is that stylesheets not found in the

Auch abrufbar als: Unified diff