You are here:   Home > Blog
Register   |  Login
Save 20% to rip DVD to the video format you want!

Blog Search

Minimize

Captured Technology - Blog

Minimize
Author: Created: 12/18/2008 11:03 PM RssIcon
Latest technology news.
By Steve Patterson on 5/22/2009 3:25 PM

Adding Widgets to your Wordpress Footer

I have a number of Wordpress blogs that I administrate and some have long sidebars with only one column which become too long for the content contained on the page. I have been looking for a way to move some of the sidebar widgets to the footer but this wasn't an option with the SimpleX theme that I am using. Then I came across Help-Developer.com and there great example of how to add widgets to your Wordpress footer.

By Steve Patterson on 5/15/2009 4:19 PM

Building HTML in the Page_Init Event

In relation to the CSS Rounded Corners that I wrote about recently, we needed to have the rounded corners rendered in the Page_Init event of a user control instead of being part of a markup page. Therefore I researched adding simple Html tags in code and found the HtmlControls.HtmlGenericControl method which creates generic Html controls, obviously. The CSS Rounded Corners Html code is a combination of bold tags mostly with some div tags and CSS classes to go along. Here is an example of the Html for the rounded corners in Asp.Net code behind.

By Steve Patterson on 5/9/2009 1:44 PM

Removing Groups of Posts from the DNN Blog Module

If you happen to run DotNetNuke with the Blog Module as one of your major modules for content, you may find the need to remove a group of posts from the module at some time. For instance, you were active in Paid-to-Post at one time, have received your money from the posts, have fulfilled your obligation with the organization that hired you, but are still being penalized by Google for having the posts on your site. Well, there are only two tables in DNN that you need to query and delete records from to remove these posts permanently.

By Steve Patterson on 5/7/2009 2:11 PM

CSS Rounded Corners

I have been creating my own rounded corners using a table structure and 6 images on a couple of web sites that we are building. But I started to wonder if there was an easier way to round corners without all the images and etc. Today I came across benogle and his CSS Rounded Corners demonstration which is one really nice way to create what used to require quite a bit of image slicing.

By Steve Patterson on 4/30/2009 9:09 PM

Finding a Way to Link to Landing Pages without Linking

I thought I had found a decent way to link to landing pages without actually linking to them. I did this so Google wouldn't know I was linking to certain sites and for some reason punish my rankings. Well I found a decent solution using the Redirection plugin for my Wordpress Blogs. I would create 301 redirections to certain directories on my site which would redirect to the landing page. But some new blogs I created, I received a 401 error on the home page when this plugin was activated. So this solution didn't always work. For those cases I altered the .htaccess file in the root directory to accomplish the same redirection.

By Steve Patterson on 4/23/2009 5:03 PM

ifollowltgreen

Changing your BlogSpot Blog to DoFollow

I have casually been running a Blogspot blog for some time mostly for linking back to my main web sites. Until today I hadn't taken the time to find out how to alter the blog from a nofollow blog to a dofollow blog. At first it seemed like altering the layout HTML would be all that was necessary but there were no nofollow tags in the code. Then I came across Tips for Blogspot which showed the needed flag 'Expand Widgets'. After selected this checkbox and replacing the two rel="nofollow" with rel="external", I was set.

 

By Steve Patterson on 4/10/2009 1:26 PM

JavaScript OnMouseOver for Firefox

I wrote a fairly simple JavaScript line to modify the size of an image when there is a OnMouseOver  event. And then wrote a similar line of JavaScript to reduce the size back to normal on the OnMouseOut event. The only problem is the JavaScript didn't work on FireFox although it was great with Internet Explorer. After some research I found that using the 'this' object was needed with FireFox. So I adjusted my code to also have the events in the image object itself. Here is the code:

By Steve Patterson on 4/9/2009 11:12 AM

Updating a Table Without Firing the Trigger

Having a Trigger on a SQL Server table is a great feature that can keep data in sync and update records automatically when needed but what about those cases where you want to run an update command and don't want the trigger to fire. I came across a situation where an update timestamp on a record was being displayed on a web page and I wanted a specific date to show up. The easiest way to fix this issue was to disable the trigger, update the update timestamp on the record, and then enable to trigger. Here is the code:

By Steve Patterson on 4/1/2009 1:59 PM

Collapsing and Expanding HTML Code

When in need of a quick way to expand and collapse HTML code on the client without posting back to the server of your web application, utilize the

tag with a style and some Javascript. Start with the style display set to either none or block and then interchange these two setting based upon a hyperlink click event.

By Steve Patterson on 3/27/2009 11:56 AM

Adding Items to the Cache, Retrieving the Items, and Clearing the Cache

When working with a web application that contains data items that do not change too often, it improves the performance of the application to store data items in the server cache and retrieve those items from the cache instead of making an extra trip to the database. Also clearing the cache when a item does change is important for your application.

Blog Admin

Minimize
You must be logged in and have permission to create or edit a blog.

Translate

Minimize

Sponsors

Minimize

Recent Comments

Minimize
Re: Three Benefits to Using a Royalty-Free Image on Your Website or Blog
Don't pay for royalty free images. They are free after all! I offer links to 96 websites that have tens of thousands (maybe even hundreds of thousands) of absolutely free images, including ones for commercial use! All you need to do is subscribe to my blog at www.davesinternetmarketing.info/royalty-free-images-free-for-commercial-use/
Re: Buzzom Offers Featured User Options
This is when discovered this great new way to grow your follow list. You can pay between $10 and $100 for the number of times you want to app ar at the top of the list.
Re: Microsoft Test Bounties
I had spent a good deal of my time looking for someone to explain this subject clearly and I have really enjoyed reading your blog posts and I collected a lot of interesting things as well as I done a research on the subject and learn most peoples will agree with your blog.
Re: 10 Ways to Source Great Sales Leads
Hoovers.com, that have contact information for tens of millions of businesses. If necessary, you can work with these companies' research teams to order lists specifically tailored to your organization's sales needs.
Re: Microsoft Test Bounties
To find bugs and showing it to microsoft is quite admirable. Keep blogging more i will appreciate.

u comment, i follow