WordPressMU Bug Trac for fixing target=”_blank”

W3C - World Wide Web ConsortiumOnce upon a time, we had a vexing problem where we couldn’t set the @target (OT: @target is tech-speak/jargon/euphemism for ‘target attribute’). Actually, you could set it, but when you ‘saved’ the post or story, TinyMCE (that nifty toolbar interface for formatting blog posts used by WordPress and a million other places). Here’s where I figured out what was wrong. I don’t know why they ‘broke’ the @target attribute, although I do know that the ‘target’ attribute was deprecated in HTML 4.01, as well as XHTML 1.0. However, there are ways around it, like via JavaScript and XHTML modules which are pretty darn cool.

Anyway, when we upgrade WordPressMU to the next version, we’ll likely need to ‘fix’ this again, so here’s $98 bucks worth of direction:

Changeset 1022 – WordPress MU Trac – Trac

Just change this:

$allowedposttags = array(
‘address’ => array(),
‘a’ => array(
‘href’ => array(), ‘title’ => array(),
‘rel’ => array(), ‘rev’ => array(),
‘name’ => array()
),

to this:

$allowedposttags = array(
‘address’ => array(),
‘a’ => array(
‘href’ => array(), ‘title’ => array(),
‘rel’ => array(), ‘rev’ => array(),
‘name’ => array(), ‘target’ => array()
),

NOTE: This change was downgraded to determine if it inexplicably affects bandwidth performance.

WordPressMU Bug Trac for fixing target=”_blank”

W3C - World Wide Web ConsortiumOnce upon a time, we had a vexing problem where we couldn’t set the @target (OT: @target is tech-speak/jargon/euphemism for ‘target attribute’). Actually, you could set it, but when you ‘saved’ the post or story, TinyMCE (that nifty toolbar interface for formatting blog posts used by WordPress and a million other places). Here’s where I figured out what was wrong. I don’t know why they ‘broke’ the @target attribute, although I do know that the ‘target’ attribute was deprecated in HTML 4.01, as well as XHTML 1.0. However, there are ways around it, like via JavaScript and XHTML modules which are pretty darn cool.

Anyway, when we upgrade WordPressMU to the next version, we’ll likely need to ‘fix’ this again, so here’s $98 bucks worth of direction:

Changeset 1022 – WordPress MU Trac – Trac

Just change this:

$allowedposttags = array(
‘address’ => array(),
‘a’ => array(
‘href’ => array(), ‘title’ => array(),
‘rel’ => array(), ‘rev’ => array(),
‘name’ => array()
),

to this:

$allowedposttags = array(
‘address’ => array(),
‘a’ => array(
‘href’ => array(), ‘title’ => array(),
‘rel’ => array(), ‘rev’ => array(),
‘name’ => array(), ‘target’ => array()
),

NOTE: This change was downgraded to determine if it inexplicably affects bandwidth performance.

TinyMCE – The WYSIWYG Editor for WordPress

TinyMCE EditorTinyMCE is a powerful WYSIWYG editor control for web browsers such as MSIE or Mozilla that enables the user to edit HTML contents in a more user friendly way. The editor control is very flexible and it’s built for integration purposes (usage within systems like Intranets, CMS, and LMS, for example).

TinyMCE:Installation – Moxiecode Documentation Wiki

This is the Text Editor available for WordPress posting (Visual Edit mode). Pretty neat. Perhaps we’ll add a few items…

Here’re some more interesting TinyMCE links:

Perhaps, if I can ever find some time, I’ll be able to play around with this stuff.

Add Search Providers to Internet Explorer 7 & Firefox

I believe that if we could arrange to have each of Freedom’s 7000 employees use as their browsers’ default, local news resource, the web search tool, it would have an impact on Freedom revenue. At the very least, we may want to consider making this one of the steps in setting up new workstations.

By following the directions on the following page, we can use the OCRegister.com Google ‘web’ search results page our default for searches from the IE7 search bar:

There are also instructions available to add them to the Mozilla Search Bar here:

Technorati’s OSD fileThat page has instructions indicating how to add a search engine plugin to your browser, and ‘advertise’ how to do it to the web browser, so our visitors & staff can add them to their browsers as well. Very Nifty! Continue reading “Add Search Providers to Internet Explorer 7 & Firefox”

Prop-Clear: CSS min-height hack

This is the solution to the perplexing problem of content area overflowing onto footers and su

Prop-Clear: CSS min-height hack

In a nutshell, add this to your CSS style sheet:

.clear { clear:both; height:1px; overflow:hidden; }

… and add <div class="clear"></div> to your HTML:


<div class="contentinnerwrapper">
<?php echo $content_for_layout; ?>
<div class="clear"></div>
</div>