Strict Standards: Declaration of action_plugin_searchtext::register() should be compatible with DokuWiki_Action_Plugin::register($controller) in /lib/plugins/searchtext/action.php on line 14

Warning: Cannot modify header information - headers already sent by (output started at /lib/plugins/searchtext/action.php:14) in /inc/auth.php on line 313

Warning: Cannot modify header information - headers already sent by (output started at /lib/plugins/searchtext/action.php:14) in /inc/actions.php on line 163
style-graficzne:variables-boxescustom [Shop Docs]

Dokumentacja techniczna

Zmienne /boxes/Custom/box.tpl

Wszystkie zmienne przekazywane są do modułów w ramach jednej głównej kolekcji $boxNs. Dla danego modułu, wartości dla niego, dostępne są pod jego ID $box_id. Przykładowy dostęp do zmiennej $title w module:

    $boxNs->$box_id->title
  • title - tytuł modułu (w nagłówku)
  • border - 1 jeżeli moduł ma mieć obramowanie
  • css - unikalne ID dla modułu (<div id=”…”>)
  • mode - tryb (0 - html, 1 - tekstowy, 2 - obraz)
  • html - treść html dla trybu 0
  • text - treść tekstowa dla trybu 1
  • img - ścieżka do obrazu dla trybu 2