Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2008-08-14 17:46:12

fangonk
Member
Registered: 2007-07-12
Posts: 44

Packaging Textpattern Installations with Different Default Templates

Hey Im interesting in creating a custom build of textpattern with default CSS/HTML templates that are different than those included with the standard package. Is there any way to do this? Which files do I need to edit to make this happen?

Offline

#2 2008-08-15 14:21:16

thebombsite
Archived Plugin Author
From: Exmouth, England
Registered: 2004-08-24
Posts: 3,251
Website

Re: Packaging Textpattern Installations with Different Default Templates

You would need to modify the /textpattern/setup/txpsql.php file but remember that this file is injecting directly into the database during the install process so you had better know what you are doing. ;)


Stuart

In a Time of Universal Deceit
Telling the Truth is Revolutionary.

Offline

#3 2008-08-15 16:31:58

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: Packaging Textpattern Installations with Different Default Templates

It may be easier to edit the _update_to_4.0.6 script instead, making it overwite the default templates with the ones you desire, because otherwise you risk having your own templates changed by the update scripts.

Offline

Board footer

Powered by FluxBB