WordPress site move – WordPress Address and Site Address
So you have decided to move your WordPress site to another host or a different sub-domain or sub-folder. Your site may no longer work, unless you log in via admin pages and change the WordPress Address (URL) and Site Address (URL). Or, you can manually add it to your wp-config.php file to hardcode the new information. Just add these two lines of code to the top of the file: define(‘WP_SITEURL’, ‘http://crimsonshift.com/sub-directory/new-wordpress-directory’); define(‘WP_HOME’,...
read moreosCommerse and TinyMCE font size, font family, background color, text color
If you want to add a good WYSIWYG editor to your site, TinyMCE is one of the better options out there. You will need to download the package, unzip/untar it and upload the files to your www root directory or a sub-directory of choice. One thing to keep in mind, is the proper path for the javascript include in your code. In my case, I added TinyMCE to the back-end admin template in one of our client’s osCommerce sites. You will need to manually add the javascript code to every page that requires the WYSIWYG functions. I need to be...
read moreStatic FBML problem with MouseOver and MouseOut Events
The problem here is easily illustrated by the following FBML code: <script> function onEvent(e){ var dialog = new Dialog().showMessage("Test",e); } </script> <div onmouseover="onEvent('Register Mouseover- Doesn't Work')">Register Mouseover</div> <div onmouseover="onEvent('Register Mouseout- Doesn't Work')">Register Mouseout</div> <div onclick="onEvent('Register Mouseover- This works')">Register Click</div> The reason why the mouseover and mouseout...
read moreShowTime WordPress Plugin Error Fix
With php error reporting turned on, the ShowTime Slideshow Plugin was outputting php error notices on the admin page, which resulted in the inability to save the options, as the script was redirecting to a url with an error string on save. To fix update the following /wp-content/plugins/showtime-slideshow/includes/1col1sb.php LINES 5-14 if( isset($_REQUEST['plugin_options_update']) ) { // Update the plugin's options. $this->_UpdatePluginOptions( $_REQUEST ); } else if(...
read more
