CKEditor – Adding Content – $FC()

I wanted to be able to insert content into a CKEditor instance and on top of that, I wanted to concatenate with any existing content. SinceĀ I just had a little trouble figuring this out, so I decided to post it here for others to see.

The Solution

Because we use PrototypeJS, we have a helper function that allows us to get the value (only, no set) of an HTML element using the element ID:

So we wrote a helper function that does both get and set content of the CKEditor instance with one function:

If $sValue not set to null, the instance is updated, but either way, the current value is returned.

To make this all work together:

I love it when code is easy and just works!

Microsoft Exchange Outlook Web App – Restricting Users By Location (IP Subnet) & Group

The powers that be decided that we need to be more secure and most of our users should not be working remotely without permission, and that includes just checking email. So I had to devise a way to make this happen. I found a script somewhere online that seemed to provide such a restriction. The file to be changed is

C:\Program Files\Microsoft\Exchange Server\V14\ClientAccess\Owa\forms\startpage.aspx
Of course, this is for Exchange 2010. I assume this would be similar in later versions of Exchange, but I cannot confirm.
This is my first iteration:

However, this did not work when I tried to restrict the user to group “pridedallas.com\\Outlook Web Access – Remote” – no user had access.

After much effort, I discovered that LogonUserIdentity is the Exchange service name, not the actual user name. So I modified it to this, which works great!

 

Who the heck has time to write a blog post post?

No, not a typo. But seriously, I have lots of ideas for blog posts – when I’m in the middle of doing whatever it is that gives the idea for a blog post, but the energy rarely exists outside of that task and then when I think about it later, I decide I have way more important things to do (which is true, that’s not my imagination).

So, how did I find time to write this blog post about writing a blog post? I didn’t.

7:11 AM here in Flower Mound, TX.

I decided that part of my problem is that I want to write the “right” blog post. Yea, that will never happen.

So if you wasted a minute of your time looking for insight on how to find time to write a blog post, here’s your great words of wisdom: quit spending so much time not writing it, or thinking about writing it, or pondering what you should write about, and just write.

As you were…