TXP Tips in the Templates category:
Static Textpattern Forms and Pages
Steffan Williams follows up from Jon Hicks’ tutorial on using files for page templates in Textpattern with his own tutorial which extends the practice to pages and forms.
Using files for page templates in Textpattern
Jon Hicks comes up with a very useful method to enable editing of your page templates in your text editor.
Vary the formatting for the first page of an article list
How to vary the formatting for the first page of your article list results from the other pages.
Vary the presentation of content within a section
Some of the various methods for displaying content differently within the same section.
Google Analytics
How to use Google Analytics with Textpattern.
Drop down menu using TXP tags
Create a drop down navigation menu using Textpattern tags.
Navigation menu using only TXP tags
In this example we shall create a navigation menu that will be automatically updated if you add a new section or category.
Simple navigation menu with an active class
A simple method for creating an easily updatable navigation menu, with an active CSS class applied.
Email contact forms
How to create and use email contact forms on your site using ZCR.
Google AdSense
Easy way to use Google AdSense code in your site.
Creating Header and Footer includes
How to create header and footers for your site, with the use of TXP forms and the output_form tag.
