• PHP
  • Ruby on Rails
  • MySQL
  • Linux
    • SELINUX
    • Fedora
    • debian
  • Apache
  • nginx
  • AJAX
Albertech.net

Category Archives: Cms

AWS Free Usage Tier and Confluence

August 23, 2012 12:17 am / Albertech.net

I recently tried to install Confluence 4.2 on an Amazon AWS Free Usage Tier account and it was the slowest wiki that I’ve ever seen. The CPU throttling on the micro instance account and the lack of any swap RAM are the main culprits. I even created a swap partition using these instructions: https://forums.aws.amazon.com/thread.jspa?messageID=219055.  Startup is around 15-30 minutes if the java process is stable enough. Browsing through the wiki or even posting a new wiki article takes minutes to complete.

If you are seriously interested in running Confluence, I recommend Linode VPS.  I was able to run Confluence just fine on the $19.95 monthly plan. The CPU is much faster (order of 10x) than the AWS Micro tier and the disk performance is equally fast.

tl;dr – Amazon AWS Free Usage Tier is too slow for Confluence 4.2.

Share this:

  • Facebook
  • Google
  • Twitter
  • Print
  • Email
Posted in: CMS, VPS / Tagged: AWS, confluence, free tier

TinyMCE 3.4.2 Update: Fixes for Internet Explorer Compatibility

May 6, 2011 1:17 pm / Albertech.net

Users of TinyMCE 3.4.1 and below should update to TinyMCE 3.4.2 to fix a number of compatibility issues with Internet Explorer.

I’ve noticed that TinyMCE 3.4.1 breaks in Internet Explorer 7 and Internet Explorer 8 with any pages with content using CSS float. For instance, if you have floating left or right DIVs on a page, the content won’t be selectable.

TinyMCE 3.4.2:
http://tinymce.moxiecode.com/download/download.php

Here’s the list of all the fixes in 3.4.2

Added new ‘paste_text_sticky_default’ option to paste plugin, enables you to set the default state for paste as plain text.
Added new autoresize_bottom_margin option to autoresize plugin that enables you to add an extra margin at the bottom. Patch contributed by Andrew Ozz.
Rewritten the fullpage plugin to handle style contents better and have a more normalized behavior across browsers.
Fixed bug where contents inserted with mceInsertContent wasn’t parsed using the default dom parser.
Fixed bug where blocks containing a single anchor element would be treated as empty.
Fixed bug where merging of table cells on IE 6, 7 wouldn’t look correctly until the contents was refreshed.
Fixed bug where context menu wouldn’t work properly on Safari since it was passing out the ctrl key as pressed.
Fixed bug where image border color/style values were overwritten by advimage plugin.
Fixed bug where setting border in advimage plugin would throw error in IE.
Fixed bug where empty anchors list in link settings wasn’t hidden.
Fixed bug where xhtmlextras popups were missing localized popup-size parameters.
Fixed bug where the context menu wouldn’t select images on WebKit browsers.
Fixed bug where paste plugin wouldn’t properly extract the contents on WebKit due to recent changes in browser behavior.
Fixed bug where focus of the editor would get on control contents on IE lost due to a bug in the ColorSplitButton control.
Fixed bug where contextmenu wasn’t disabled on noneditable elements.
Fixed bug where getStyle function would trigger error when called on element without style property.
Fixed bug where editor fail to load if Javascript Compressor was used.
Fixed bug where list-style-type=lower-greek would produce errors in IE<8.
Fixed bug where spellchecker plugin would produce errors on IE6-7.
Fixed bug where theme_advanced_containers configuration option causes error.
Fixed bug where the mceReplaceContent command would produce an error since it didn’t correctly handle a return value.
Fixed bug where you couldn’t enter float point values for em in dialog input fields since it wouldn’t be considered a valid size.
Fixed bug in xhtmlxtras plugin where it wasn’t possible to remove some attributes in the attributes dialog.

Share this:

  • Facebook
  • Google
  • Twitter
  • Print
  • Email
Posted in: CMS / Tagged: Internet Explorer, tinymce

TinyMCE: How to add wider toolbar icons

April 1, 2011 6:13 am / Albertech.net

By default, TinyMCE only accepts icons that are 20px by 20px in the toolbar. If you want to make a customized toolbar icon that is wider than 20 pixels, you will need to edit the ui.css in TinyMCE. I find this useful for adding custom TinyMCE plugins/etc.

Edit the ui.css (tiny_mce/themes/advanced/skins/default/ui.css) and change the following values:
Replace the “width:20px; height:20px;” with “min-width:20px; height:20px;”. The min-width value will allow for wider icons to be added as well as setting the default width to 20px if one isn’t specified. This will prevent existing icons from breaking.

There should be 2 sections in the css file that needs to be changed.

.defaultSkin .mceButton {display:block; border:1px solid #F0F0EE; min-width:20px; width: 20px; height:20px; margin-right:1px}

.defaultSkin span.mceIcon, .defaultSkin img.mceIcon {display:block; min-width:20px; height:20px}

You can now customize the width of your icon inside ui.css.

.defaultSkin a.NAME-OF-YOUR-ICON {
width: 60px;
background: url(YOUR-ICON-LOCATION);

}

Update 5/4/2011: Fixed problem with Internet Explorer 8 with Compatibility mode enabled. This is caused by Internet Explorer 7 not supporting the min-width CSS feature. The fix is to add in a placeholder width value (20px) in addition to the min-width.

Share this:

  • Facebook
  • Google
  • Twitter
  • Print
  • Email
Posted in: CMS / Tagged: tinymce, wider icons

TinyMCE: Fix the removing of empty DIVs

October 23, 2009 2:23 pm / Albertech.net

TinyMCE is a great WYSIWYG editor, but sometimes there are cases where it removes HTML tags when you go into the “HTML Source” mode and switch back to the editor. This is very frustrating to end-users.

By default, TinyMCE will remove a lot of HTML tags including empty ones (such has having a DIV spacer), select options, certain styles, etc. To get around this, you will need to change the option “extended_valid_elements”, which is before the setup : function(ed) line. Note: This will allow your users to add in any kind of HTML tags they want. Replace the “extended_valid_elements” line with:

valid_elements : "*[*]",
extended_valid_elements : "*[*]",

This will fix the problem with TinyMCE removing tags from the HTML Source mode.

Share this:

  • Facebook
  • Google
  • Twitter
  • Print
  • Email
Posted in: CMS / Tagged: empty divs, tinymce

WordCamp SF 2009

June 3, 2009 3:04 pm / Albertech.net

 
I attended WordCamp SF for the first time in 2009. There was some exciting news at the camp, especially with the news that WordPress MU functionality is going to get integrated with WordPress. This will be nice considering updates for WordPress MU are usually a month or so behind. What will this mean? Hopefully, it will bring a larger community in maintaining and adding new plugins for WordPress (MU).  The question will be whether it will be easy to convert an existing WordPress MU install over to the new WordPress. (Possibly WordPress 3.0?)

Highlights of the conference:
Timothy Ferriss
, nominated as one of Fast Company’s “Most Innovative Business People of 2007,” is an angel investor and author of the #1 New York Times, Wall Street Journal, and BusinessWeek bestseller, The 4-Hour Workweek, which has been sold into 35 languages. He had a lot of good points on tweaking blogs to reach a larger audience.

WordPress gear! I plan on sending out some stickers and buttons I got at the conference.. stay tuned.

BuddyPress There’s a lot of potential with the community aspect of blogs. I’m hoping this functionality will be integrated with WordPress MU.

Community Speakers and Authors: http://2009.sf.wordcamp.org/speakers/#chris Chris Pirillo is an excellent speaker, had a lot of interesting points about the importance of the community.

http://2009.sf.wordcamp.org/speakers/#tara Tara Hunt’s book about the value of building community vs. buying a community.

http://2009.sf.wordcamp.org/speakers/#cali Cali Lewis (GeekBrief.TV) talked about building an interactive audience. Learned a lot about the challenges of video vs. audio cast.

Last but not least, the community! It was great meeting everyone at the after party.

More info about the upcoming merge with WordPress MU and WordPress (see the comments below the post)
http://technosailor.com/2009/05/30/wordcamp-sf-announcement-wordpress-and-wordpress-mu-to-merge/

Share this:

  • Facebook
  • Google
  • Twitter
  • Print
  • Email
Posted in: CMS, PHP / Tagged: wordcamp, wordpress mu

Post Navigation

← Older Posts
 

Categories

  • AJAX
  • Android
  • Apache
  • Canon Cameras
  • Cloud
  • CMS
  • Computer Mods
  • Conferences
  • Deals
  • debian
  • Fedora
  • Flash
  • Frameworks
  • git
  • Hardware
  • HTML
  • IDE
  • iPhone
  • iPhone App Review
  • jQuery
  • Linux
  • Mac OS X
  • MySQL
  • nginx
  • PHP
  • portfolio
  • Puppet
  • Ruby on Rails
  • Script Reviews
  • SELINUX
  • Software
  • Software Review
  • SQL Server
  • statistics
  • Tech
  • Tomcat
  • Uncategorized
  • VMWARE
  • VPS
  • Windows
  • wordpress
  • Zend Framework

Blogroll

  • DragonAl Flickr
  • Dropbox – Free 2GB Account
  • James' Blog
  • Javascript Compressor
  • PHP Builder Community
  • PHP-Princess.net
  • Rubular – Regular Expression Validator
  • The Scale-Out Blog
  • Tiny MCE

Tags

activation AJAX android antec Apache AWS awstats canon coda codeigniter debian enclosure external free G1 install vmware tools Internet Explorer iphone 5 jquery Linux mx-1 MySQL office 2007 OSX photoshop PHP plugin plugins portfolio redesigned website review rewrite script security SELinux ssh tinymce tutorial upgrade VMWARE vmware server wordpress wordpress mu XSS zend framework
© Copyright 2013 Albertech.net
Infinity Theme by DesignCoral / WordPress
loading Cancel
Post was not sent - check your email addresses!
Email check failed, please try again
Sorry, your blog cannot share posts by email.