Go to content Go to navigation Go to search

TXP 4.0.3 mods - top tabs & articles search · Tuesday March 14, 2006 by Gerhard Lazu

Hi folks,

just mentioning my latest mods to TXP 4.0.3 that some of you might find handy.

Top tabs

This one is more of a patch than a mod. Back in November I posted something about TXP admin search mod. If you are using this search to filter through articles, you might have noticed that when searching by Status, anything written with small caps returns 0 results. Use Draft instead of draft and it works. With this patch, it works both ways: txp_list_status_crit.patch (560.00B).

I know that it’s a very small and insignificant patch, but I was finding it so annoying to keep using capitals when filtering articles (programmers are the laziest lot grin).

Back-end articles search

I have a feeling you will appreciate this mod more than the first one. How many of you wished to click on content in the back-end and have the articles sub-tab selected by default rather than the out-of-the-box write? This is your lucky day.

I found myself to be clicking twice, three times to get where I want ( plugins for example). The tabs that I’m using most often are articles, forms and plugins. Check the modified txplib_head.php: txplib_head-top_tabs.php (7.52KB). After downloading, you can rename it to txplib_head.php and replace your textpattern/lib/txplib_head.php file. Make sure the LastChangedRevision that you’ll find at the top of your file matches the one in my modified txplib_head.php.

Have a wonderful TXP flight!


...