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

Download etc using Subversion

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'?

Accessing site before DNS

Give the IP address of the server to the "hosts" file on your computer

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

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

Themes

  • just-another-theme (http://just-another-theme.com/), ported to TxP by Stuart, aka thebombsite

Tutorials

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)

See also