Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
PROBLEM Fullscreen Pageflip Layout with BookBlock
#11
PHP Code:
                <?php

                
foreach (return_i18n_page_structure(nulltruenull) as $page) {
                    $pag $page['url'];
                ?>
                    <div class="page <?php echo $pag?>">
                        <div class="page-wrapper">
                            <h2 class="title"><?php getPageField($pag,'title'); ?></h2>
                            <?php getPageContent($pag); ?>
                        </div>
                    </div>
                <?php ?>  

This is a working example from one of my themes. It returns an ordered set of contents of pages.
Note that you need I18N plugin and the pages need to marked for menu.
Reply


Messages In This Thread
RE: Fullscreen Pageflip Layout with BookBlock - by vallhund - 2015-07-16, 03:18:43



Users browsing this thread: 2 Guest(s)