Today I attempted to upgrade to deanjrobinson.com’s newest Redoable theme. Hahaha…yea right!
So there you have it. Upgrading to a new version of Redoable after yours has been customized = BAD IDEA + HOURS OF HEADACHES.
UTW Tag Cloud & Redoable
Not to some good news. I finally took the time to see how Ultimate Tag Warrior is being implemented in this template. We all know what a great plugin this is, but for some reason Redoable’s default display of it leave you wanting a LOT more. As it turned out, its just the matter of changing a single line in the sidebar.php file. Shown below….

Before:
<?php if(function_exists (’utw_showweightedtagsetalphabetical’)) { ?>
<div class="sb-tags">
<h2><?php _e(’Tags’,'redo_domain’); ?></h2>
<div>
<?php UTW_ShowWeightedTagSetAlphabetical("coloredtagcloud"); ?>
</div>
</div>
After:
<div class="sb-tags">
<h2><?php _e(’Tags’,'redo_domain’); ?></h2>
<div>
<?php UTW_ShowWeightedTagSetAlphabetical("coloredsizedtagcloud"); ?>
</div>
</div>
Notice that just by changing coloredtagcloud to coloredsizedtagcloud you get a much better looking tag cloud. Seems to me that under the Redoable options they should have inserted an option in there so you could easily choose. It’s no big deal though.
Also note that I messed with the sb-tags style in the Redoable’s style.css sheet. I added text-align:justified so I wouldn’t have any wasted space (or appear that way at least).
The UTW_ function’s are as follows (they are pretty straight forward too). Bold indicates functions you should be using in your sidebar.
- UTW_ShowTagsForCurrentPost
- UTW_ShowRelatedTagsForCurrentPost
- UTW_ShowRelatedPostsForCurrentPost
- UTW_ShowRelatedTagsForCurrentTagSet
- UTW_ShowCurrentTagSet
- UTW_ShowWeightedTagSet
- UTW_ShowTimeSensitiveWeightedTagSet
- UTW_ShowWeightedTagSetAlphabetical
- UTW_ShowTimeSensitiveWeightedTagSetAlphabetical
As far as the parameter (or layout option) is concerned, you can check out the UTW website or look at the UTW admin options. They give you a drop down list of all the possibilities. Again, they are pretty straight forward. Here’s what the drop down looks like.
Livesearch
I did however, successfully fix the livesearch issue with redoable v. 1.0. For some reason, when I would submit a search using the live search, the spinning icon would go on and on and never stop. Don’t ask me why, because I have no clue. Everything in the .js looked alright when I glanced over it. Instead of hassling a lot with it, I just replaced the searchComplete function in livesearch.js.php with the Redoable v 1.2 copy and BAM..it fixed it. Changes below..
Before:
$(this.hideitem).style.display = ‘none’;
//added to hide first post by Dean Robinson
$(this.hidefirst).style.display = ‘none’;
$(this.hidesidenote).style.display = ‘none’;
//end add
Effect.Fade(this.loaditem, {duration: .1});
Effect.Appear(this.resetbutton, { duration: .1 });
Event.observe(this.resetbutton, ‘click’, this.resetLivesearch.bindAsEventListener(this));
$(this.resetbutton).style.cursor = ‘pointer’;
// Support for Lightbox
if (window.initLightbox) {
initLightbox();
}
},
After:
$(this.hideitem).style.display = ‘none’;
//added to hide sidenotes or comments by Dean Robinson
if(document.getElementById(this.hidesidenote) && (this.resultposition == 1) ) { $(this.hidesidenote).style.display = ‘none’; }
if(document.getElementById(this.hidecomment) && (this.resultposition == 1) ) { $(this.hidecomment).style.display = ‘none’; }
//end add
new Effect.Fade(this.loaditem, { duration: 0.1 });
new Effect.Appear(this.resetbutton, { duration: 0.1 });
Event.observe(this.resetbutton, ‘click’, this.resetLivesearch.bindAsEventListener(this));
$(this.resetbutton).style.cursor = ‘pointer’;
// Support for Lightbox
if (window.initLightbox) {
initLightbox();
}
},
It looks to me as if there we just a few javascript logic or syntax errors that were made and were fixed. Works like a charm now though.
Plenty more to come, I’m about to get to work using a javascript effects library (probably mootools with moo.fx) to get that left sidebar to be a bit more dynamic, and take up less room. Can you say mouseover blinds?
Sphere: Related Content























