Documentation
Juanes Textpattern Template Instructions
Juanes TP Template version 0.1
The demo runs on the latest Textpattern release 4.0.3.
Contents of Juanes.zip
- /images- all of the images
- /forms- all of the forms
- /plugins- all of the plugins
- html.txt- default page replacement
- css.txt- default style replacement
- instructions.txt- these instructions
Install Instructions
IMPORTANT Make sure you have a backup of your current forms and pages, even default ones.
We are going to modify the default forms, pages and style so make sure you have a backup.
This template keeps all parts of a page such as header, navigation and footer in separate forms.
Steps—You need to be logged in your Textpattern admin
1. Create forms
In the zip file you will find the forms folder with all the forms you’ll need. In the Textpattern Admin go to Presentation tab and to Forms tab and Create new form: name each form as the text file in the zip folder. And assign them the following ‘form type’:
- header – file
- head_flickr – file
- navigation – file
- footer – file
- entry – article
- single_entry – article
comments and comments_form already exist, so just replace the content.
If you have a Flickr[www.flickr.com] account you have to edit the following line
in the ‘head_flickr’ form, you’ll have to add your own flickr id. Create a HTML badge
on Flickr and get your id from the link it generates. The id will look something like
this: 30744670%40N00
Look for this line in ‘head_flickr’ form and replace my id: 30744670%40N00 for yours.
<script type="text/javascript" src="http://www.flickr.com/badge_code.gne?nsid
=30744670%40N00&count=6&display=
latest&name=0&size=square&raw=1">
</script>
If you don’t have a Flickr badge just remove the flickr div and its content from the “flickr_head” form.
And last modify the image path in ‘flickr_head’ and the links path in ‘navigation’ to your
folder setup.
2. Plugins
Go to Admin tab, then Plugin tab. Copy the plugin text from the plugin text in the folder in the zip file. Paste it in the admin panel, upload it. Once done make sure to activate it. Repeat this step for each plugin.4. HTML
Open the html.txt with a HTML editor, copy the content and replace it with the content of your default page.
5. CSS
Do the same as html, replace your default css or create a new one, with the css.txt. If you don’t keep your images in /images/ folder you’ll have to change the images path in the css file. NOTE: the default page links to a default CSS, if you create a new CSS file remember to change the CSS link in your ‘header’ form.
6. Images
And last FTP into your account, go to the images folder and upload all images.
note
As for the core settings, the date format used with this template is, e.g. Tuesday February 28, 2006
Conclusion
This is the first template I made for Textpattern, so there might be
faults in it. If you have questions email me at darice at darice dot org