Add new comment to Jak vypíši jednu jedinou node
Moje kniha o CMS Drupal
Poslední komentáře
- 4 days 5 hours ago
- 6 days 1 hour ago
- 6 months ago
- 6 months ago
- 8 months 1 week ago
- 9 months ago
- 9 months ago
- 9 months 1 week ago
- 1 year ago
- 1 year 1 month ago
Nové diskuze
- (4 weeks 1 day zpět)
- (1 month zpět)
- (7 months 3 weeks zpět)
- (9 months 1 week zpět)
- (1 year 6 months zpět)
- (1 year 7 months zpět)
- (1 year 10 months zpět)
- (1 year 11 months zpět)

Jednoduše, a to pomocí načtení daného uzlu a funkce node_view.
<?php
$nid = 123; // cislo uzlu
$node = node_load($nid);
print drupal_render(node_view($node,'teaser'));
// místo teaser může být full nebo jiný definovaný režim zobrazení
?>