Need to have a default article status other than _Live_? Well now you can.
Need to have a default article status other than Live? Well now you can.
Just install the plugin and go to
Admin > Prefs > Advanced Prefs, scroll down to the ‘Publish’ section and choose the default for your site and save the prefs.
From now on, your new articles will default to that...
Conditional tags for forms
Lately, I’ve been writing Textpattern pages for relatively complex sites that do things like this:
<txp:if_section name="widgets,sprockets,thingies"> <txp:hide>The widgets, sprockets, and thingies sections have their own special layouts.</txp:hide> <txp:output_form...
Textpattern plugin decoder
It has three different modes: textpattern plugin adds an easy to use tab to the administrative interface of Textpattern, command line mode works from the command line (just like zem_tpl does). Web mode works in a php enabled web server and you can invoke it from a standard browser.
PLEASE NOTE: If you downloaded this before, you’ll need to download the new one to get the updated textpattern.css file!
Thanks to Dan Hoy for this great interface-lift. I’ve been using it under 4.0.4, but wanted to upgrade to 4.0.5.
So….I did. I had to add an item...
If you want to serve your Textpattern site with the proper MIME type, you need to edit
publish.php, found in the /textpattern/ directory. (written for 4.0.3)
- Backup and open /textpattern/publish.php in a text editor
- Search for “text/html” (lines 115 and...
Make RSS links displayable in firefox
Make firefox and IE render the RSS feed instead of prompting to download it. will help with similar problems in other browsers as well.
1. download file
2. use it to replace /textpattern/publish/rss.php on your site
Ask yourself these two questions:
- Have you ever had the urge to move the textpattern directory somewhere else and use it as a section instead?
- Do you have a site that you want some tightened security and therefore keep the admin part of TXP on the encrypted secure https server?
Did you anser yes to any of the questions? Great, then keep on reading.
A one-line addition to rss.php and atom.php to add a link to comments from within feeds
A simple one-line addition to both rss.php and atom.php will allow for displaying a link to comments inside the body of your website’s feeds:
adding custom fields to supplement RC3 file support feature
I updated to RC3 and love the file support, but I was missing one thing: custom fields for additional informations like file author. So today I tried to implement it and it works good for me. I decided to share this hack with people who are new to php or who have no time to do it themselves.
Tags for category display
Adds three tags. Two are replacements for category_list and category_popup which are section-sensitive, i.e. they only contain categories that have posts in the current section, and they link to the current section.
The third tag is an article-tag that shows the catagories that a post is in (or displays nothing if no category is set).