Advanced_theme_creation - e107inc/e107v1 GitHub Wiki
title: Advanced theme creation permalink: /Advanced_theme_creation/
Advanced Theme Creation
Intro
This document should cover all areas of advanced theming Utilizing all the tips and tricks to let you have greater control over theming your entire site.
Please See Creating a theme from scratch if you are not familiar with theming.
Custom Theme Layouts
more info on custom layouts here Theming Custom Pages
Multiple Theme Menu Styles
some themes may require multiple styles of menus. say left hand menus will be surrounded by border graphics while the right could have simple border.
then you can check for what menu style is set...
Custom Shortcodes
used for adding additional functionality using snippets of code. for example you may want to have custom navigation or introduce a history of all the pages the user has visited and display them along the top of the page.
example history.sc file
in the theme.php you can register the shorcode and use it as normal like this.
(note you do not need .sc on the end to register.)
Editing e107 Templates
in the e107_themes/templates/ folder you will find alot of templated pages. best practice is to copy these files into your theme folder when making changes to these files so when making upgrades they do not interfere with your theme.