Hi all. I have set the tag <!--pagebreak--> to perform the split of an big article (one of my content type) into some "little articoli's page". It works, but I can not found where is the variable (for theme the content type's content) that contain the link to the other page, so to include it into my theme.
There is another thing that I don't undestrand: $node->page_context = teaser. Why ?
M.
I believe that the pagebreak links are found in the $links variable. If you look in the default node.tpl.php file you will see and example of it. (http://drupal.org/node/11816)
Davide Michel 'ZioBudda' Morelli wrote:
Hi all. I have set the tag <!--pagebreak--> to perform the split of an big article (one of my content type) into some "little articoli's page". It works, but I can not found where is the variable (for theme the content type's content) that contain the link to the other page, so to include it into my theme.
There is another thing that I don't undestrand: $node->page_context = teaser. Why ?
M.
Erico Mckenna ha scritto:
I believe that the pagebreak links are found in the $links variable. If you look in the default node.tpl.php file you will see and example of it. (http://drupal.org/node/11816)
Nope. I have not it set ($links is null).
My only strange thing is page_context = teaser.
M.