AdminTextPattern
From LaurasWiki
My webhost for TextPattern (TXP) is the fab TextDrive (http://textdrive.com/), which has help on TextPattern (and other personal publishing systems) that this draws on. TX KB = TextDrive Knowledge Base.
| Table of contents |
Installing TextPattern
- TD KB: Installing TextPattern (http://help.textdrive.com/index.php?pg=kb.page&id=97)
- TextBook: Detailed Installation Instructions (http://textpattern.net/wiki/index.php?title=Detailed_Installation_Instructions)
Download etc using Subversion
- TD KB: Subversion Installation at TextDrive via Secure Shell (http://textpattern.net/wiki/index.php?title=Subversion_Installation_at_TextDrive_via_Secure_Shell)
Navigate to the directory where you want to install into and use:
svn export http://svn.textpattern.com/releases/4.0.3/source .
Note: the closing "." is the destination and installs it into the current directory
Notes
Instructions nest CHMOD for images and files under section for moving an existing install to svn, but you need to do this, I'm pretty sure, for first time installs too. Plus a few minor ssh inaccuracies.
Question on using 'export' instead of 'co' (checkout): I get an error that it can't install in current directory :
svn: Destination directory exists; please remove the directory or use --force to overwrite svn: '.' already exists
Why is it that 'co' works but not 'export'?
- svn export - learn it. use it. love it. (http://www.joshbuhler.com/2005/11/09/svn-export-learn-it-use-it-love-it/)
- svn export usage (http://svnbook.red-bean.com/en/1.1/re10.html)
Accessing site before DNS
Give the IP address of the server to the "hosts" file on your computer
- Previewing a domain prior to moving DNS (http://help.textdrive.com/index.php?pg=kb.page&id=83)
Note: Finding the "hosts" file on OSX isn't easy. It's hidden, here: root:/private/etc/hosts
## # Host Database # # localhost is used to configure the loopback interface # when the system is booting. Do not change this entry. ## 127.0.0.1 localhost 255.255.255.255 broadcasthost ::1 localhost 207.7.107.205 latrippi.com www.latrippi.com
Provide firewall page while under dev
- TD KB: Setting index.html as the default in Textpattern (http://help.textdrive.com/index.php?pg=kb.page&id=99) : When your site is in development, change server defaults to load index.html first, instead of index.php.
Do this after installing TXP, not before. TXP needs svn to install an '.htaccess' file. If there's already one in the directory, svn won't add it and your .htaccess file will be missing code it needs (I think).
Note: This technique also applies to WordPress and other PHP-driven publishing systems.
References
TextPattern Main
- Textpattern.com (http://textpattern.com/)
- TextBook (http://textpattern.net/wiki/index.php?title=TextBook_International) (docs wiki)
- Textpattern Resources Listing (http://textpattern.net/wiki/index.php?title=Textpattern_Resources_Listing)
- Textpattern Plugins, modifications, templates, tips and tutorials (http://textpattern.org/)
Themes
- just-another-theme (http://just-another-theme.com/), ported to TxP by Stuart, aka thebombsite
Tutorials
- Blog Design Solutions (http://www.amazon.com/gp/product/1590595815/ref=pd_kar_gw_1/002-0741827-1502409?ie=UTF8): Chapter 6
- Textpattern Semantics (http://www.jdueck.net/article/10/textpattern-semantics)
- Textpattern Tags (http://kusor.com/en/txptagmanual/)
- Tutorial on the TextPattern Presentation Model (http://tp.douglasedmunds.com/)
- TXP Tutorial: Setting up a (thumbnail-) gallery (http://textpattern.org/tutorials/447/setting-up-a-thumbnail--gallery)
Plug-Ins
- cokesque scriptique: txp (http://www.cokesque.com/code/) including:
- chh_article_custom : an enhanced replacement for txp:article_custom and txp:article, offering features like context-sensitive operation, support for multiple categories/sections, hierarchical category searching, and advanced date/time selection
- chh_keywords : provides Txp tags for managing articles based on multiple lists of keywords, categories, or “tags.”
- chh_title : a title/breadcrumb generator
- textsnippets / textpattern (http://textsnippets.com/tags/textpattern)

