Have you used a tutorial that makes you override the
function and hence have lost the ability to have your Navigation Bar? That includes the Graphics Above Entries
, Components on Both Sides
and Scrolling Entries Section
tutorials? Then here's some code that you can incorporate into your
function to recreate the Navigation Bar along the top including
Previous and Next links for the various pages.
The code I've given below is a complete page_layout() function which I've taken primarily from the Graphics Above Entries
tutorial and added in the code responsible for printing the navigation bar, which can be seen in blue
. To recreate the navigation bar in your own function, you only need to copy the blue
section of the code and place it after the
tag as seen in the tutorial.
If you're getting compile problems on the if statement line, remember that you need to close the html output before it by placing a """; after the
tag as shown. You might also need to reopen html output by placing a """ directly after the blue code as shown in front the
tag.( Collapse )