Template Includes
The following includes can be used in your directory template files to populate specific data where you want it to appear. You can change the font style by wrapping the includes in font definition tags however some require CSS definitions to change their appearance. You will find a list of these below also and the actual CSS file is included in the LMA distribution folder.
Main Index Page
<%navigation-path%> - This will display the current navigation path.
<%add-site%> - This will insert a link to your submission form where used.
<%search-box%> - This will insert a search box where used.
<%main-categories%> - This will insert your list of top level categories where used.
Category & Sub-Category Index Pages
<%navigation-path%> - Same as above.
<%add-site%> - Same as above.
<%search-box%> - Same as above.
<%main-categories%> - Same as above.
<%category-name%> - This will insert the name of the current category. You can also use this tag in the title section.
<%subcategory-links%> - This will insert the subcategory links of the current category. If there are none, the word none is populated instead.
<%website-listings%> - This will insert the listings into the page and the navigation structure to additional index pages if needed.
Add Website Page
<%add-site-form%> - This will insert the new listing submission form into the page.
Search Results Page
<%navigation-path%> - This will display the current navigation path.
<%add-site%> - This will insert a link to your submission form where used.
<%search-box%> - This will insert a search box where used.
<%main-categories%> - This will insert your list of top level categories where used.
<%search-results%> - This will insert the actual search results and the navigation structure to additional results pages if needed.
<%keyword-term%> - This will insert the keyword term the user has searched on into the page.
More Includes
These can be used on all templates but are dependant on whether or not you have created these includes in the custom includes, PPC includes, and/or Additional includes section of the LMA administration area. The letter X in the tags below represent the respective number of the include you wish to populate content for.
<%custom-include-X%> - This will insert the content of your custom include into your templates.
<%ppc-include-X%> - This will insert the content of your PPC include into your templates.<%random-listings%> - This will insert the content of your random listings include into your templates.
<%random-categories%> - This will insert the content of your random categories include into your templates.
<%random-search-terms%> - This will insert the content of your random search terms into your templates.
NOTES: If you do not want to use the search feature on your directory, then don't use the search box include in your templates.
CSS Tags
The following CSS tags are used to define the apperance of certain content (populated by the above includes) where normal font definition tags will not effect them due to the nature in which they are formated for display in your niche website directory.
Main Categories
.categories { font-family: Verdana; font-size: 10pt; font-weight:bold }
Sub Categoreis Under Main Categories.submaincat { font-family: Verdana; font-size: 10px; font-weight:normal }
Directory Entries (Website Listings).linktitle { font-family: Verdana; font-size: 10pt }
.linkdescription { font-family: Verdana; font-size: 10pt }
.category-link { font-family: Verdana; font-size: 10px }
PPC Includes Section.ppclinktitle { font-family: Verdana; font-size: 10px }
.ppclinkdescription { font-family: Verdana; font-size: 9px }
.ppclinkurl { font-family: Verdana; font-size: 10px }
Additional IncludesRandom Listings
.addrandlistlinktitle { font-family: Verdana; font-size: 10px }
.addrandlistlinkdescription { font-family: Verdana; font-size: 9px }
Random Categories.addrandcatlinktitle { font-family: Verdana; font-size: 10px }
Random Search Terms.addrandsearchlinktitle { font-family: Verdana; font-size: 10px }