Ok so theres a thread showing off people's work for the script, but anyone willing to share their knowledge or tips on how to make a template for PT?
E.G What files you need to edit.
E.G What program you use to skin, e.g frontpage, dreamweaver etc
E.G What mods have you used to create your affect
I'm sure not just me will find this helpful, and possibly lead to more people creating free templates for people to use.
Regards
Mark
Nope still totally lost lol
I have uploaded a file that I have downloaded http://www. book family holidays.co.uk /index.html all one word.
I have the default.css from that file, and the index.html from it as well
I have looked at header and footer, and they just to be short pieces of code.
How do I get the rest into the welcome to tropical section of the file?
I have always looked at skinning things before, but never get the chance to learn properly, normally if I know how to do something once, then I'm fine after that.
Regards
Mark
Hi Mark,
You're close.
I can see on that page the actual PHP you've included to try and bring in the search form etc. The reason these haven't worked is because you have the file called index.html. For the PHP code to be executed you'll need to call it index.php.
That should help a lot - otherwise you're on the right lines!
Cheers,
David.
Hi David,
Yeah I realised that after posting, but I have put the php file http: // www. book family holidays . co. uk / index.php
I think I need to make it 100% a php file as I only done a quick rename of the file.
Well I've added to the end but now get error messages on it.
Thank god emmerdale is on in 15 mins, hate wimbledon as cancels neighbours out which is normally my break time.
Still confused on what I have to do though, I have the default.css file and the index.html of the file.
I have put php tags to try and make it into a php file so I can include stuff such as
require("includes/common.php");
require("html/header.php");
Sadly still no joy, I will find some time to sit down and eventually work things out, but money time and play time are too seperate issues.
Regards
Mark
Hi Mark,
Sounds like you're making progress.
The next thing to look at is making sure that you don't duplicate what is already in html/header.php etc. The page you have started from probably already contains the usual markup from the top of the file, so you can remove / merge this with the contents of html/footer.
The same applies to the end of the file - the closing body and html tags - these all go in html/footer.php so again check for duplication.
Cheers,
David.
I just wrote a blog post on a few of the price tapestry modifications I've used. I hope it helps.
Hi Mark,
To start you off, the basic principle is that you should only need to modify default.css together with the files in the html/ directory of the distribution.
It is also quite common to want to modify index.php as this controls the home page - although some users do away with the default homepage altogether, choosing instead to merge the search form into an existing homepage.
In terms of structure, the output of every page begins with html/header.php and ends with html/footer.php, so if you're wanting to add common banners or footnote text etc., these are the files to modify...
Hope this helps get you started...
Cheers,
David.