Functions you can add to your template: the template includes list
STOP PRESS: QnE is no longer a commercial product - and is no longer being sold from this website.
- QnE will continue to be developed, though not as a commercial product.
- Existing clients and licenses will continue to be supported - and all existing agreements will be honoured.
- if you have any questions about this change please get in touch via the contact form.
You can include the following in your template:
Create breadcrumbs based on category and page title:
include (ADMIN_FOLDER_PATH."include/breadcrumbs.php");
List categories - each is a link pointing to a list of pages in that category
include(ADMIN_FOLDER_PATH."/navigation/categoryindex.php");
Next/Previous links
include(ADMIN_FOLDER_PATH."categories/nextincategory.php");
include(ADMIN_FOLDER_PATH."categories/previousincategory.php");
Add user comments facility:
include(ADMIN_FOLDER_PATH."/include/templatecommentscode.php");
Automatically generate navigation based on pages in categories (has to be turned on via navigation admin page):
include(ADMIN_FOLDER_PATH."/navigation/listincategory.php");
The result of this is that if you are on a page links to the other pages that are in the same category are generated.
Add the navigation bar:
include(ADMIN_FOLDER_PATH."/include/templatenavbar.php");
Add Weblog and Podcasting:
include(ADMIN_FOLDER_PATH."weblog/include/webloglist.php");
A weblog can now be added to any page on the site - and an associated RSS file will be generated for that weblog.
Generate RSS 9.1 link
include(ADMIN_FOLDER_PATH."weblog/rss.91include.php");
Generate RSS 2 link
include(ADMIN_FOLDER_PATH."weblog/rss2include.php");
Display Weblog archive links:
include(ADMIN_FOLDER_PATH."weblog/include/weblogarchive.php");