O'Reilly logo

Joomla! VirtueMart 1.1 Theme and Template Design by Joseph Kwan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Looking at a sample flypage template

The flypage template resembles the core browse template in many respects. There are also some features that are particular to the flypage template itself.

Let's take a look at the file flypage.tpl.php as an example. The full text of this file is shown below (with the line numbers added):

1. <?php if( !defined( '_VALID_MOS' ) && !defined( '_JEXEC' ) ) die( 'Direct Access to '.basename(__FILE__).' is not allowed.' ); 2. mm_showMyFileName (__FILE__); 3. ?> 4. 5. <?php echo $buttons_header // The PDF, Email and Print buttons ?> 6. 7. <?php 8. if( $this->get_cfg( 'showPathway' )) { 9. echo "<div class=\"pathway\">$navigation_pathway</div>"; 10. } 11. if( $this->get_cfg( 'product_navigation', 1 )) { 12. if( !empty( ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required