Document

Titolo

OldNew
11Document

Collegamento permanente

OldNew
11document

contenuto

OldNew
11# Document (System Node)
2
3The Document system node is a globally available object that holds details about the current page.
4
5## LiteCart 2.x
6
7```
8document::$snippets['title'][] = 'Added Page Title';
9document::$snippets['head_tags'][] = '';
10document::$snippets['foot_tags'][] = '';
11document::$snippets['style'][] = 'strong { font-weight: 700; }';
12document::$snippets['javascript'][] = 'alert("Hi");';
13```
14
15## LiteCart 3.x
16
17```
18document::$title[] = 'Added Page Title';
19document::$head_tags[] = '';
20document::$foot_tags[] = '';
21document::$style[] = 'strong { font-weight: 700; }';
22document::$javascript[] = 'alert("Hi");';
23```

Modificato da tim il 27 dic 2023 alle 07:27

This website uses no cookies and no third party tracking technology. We think we can do better than others and really think about your privacy.