TXP Admin Mod
02/10 '09
Here’s the public release of my TXP admin interface mod.
v1.1 Updates (06-25-2009):
- Added hover effects on Edit, HTML, and Preview icons.
- Styled mini help buttons.
- Form fields inside fieldsets are white instead of gray.
v1.0 Updates (02-10-2009):
- Slight navigation style changes.
- Rounded some form buttons (in Firefox and Safari).
- Styled legend and fieldset tags.
- Added new images for the text, html and preview button on the Write page.
I didn’t want to add any images to this mod, but the more I looked at those tabs the more I thought they looked out of place. Thanks, -sam.
Simple Instructions:
- Install the hpw_admincss plugin.
- Download and unzip my TXP Admin Mod.
- Upload the 3 .png images to your /textpattern/txp_img/ folder.
- Paste the contents of admin.css into the “admin” style on the Presentation | Style page.
txplib_head.php Edits:
For best results you will need to edit some of the base TXP code. These edits were originally devised by Mr. Jon Hicks.
1. Open /textpattern/lib/txplib_head.php in your favorite text editor…
2. Replace line 165-ish (as of 4.0.8) with the following:
<tr id="branding"> <td> <h2><a href="http://<? echo $GLOBALS['prefs']['siteurl']; ?>"><? echo $GLOBALS['prefs']['sitename']; ?></a> | textpattern</h2> </td> <td id="navpop"><?php echo navPop(1); ?></td> </tr>
3. Comment out line 185-ish (as of 4.0.8) so it looks like this:
//'<td class="tabdown"><a href="'.hu.'" class="plain" ...
Credits
This TXP Admin Interface would not exist were it not for Jon Hicks’ original TXP Admin Mod.