Images: Shortcode, Nested shortcode, Example, Lightbox
I needed dummy text for a blog I'm working on, and since I like to code I wrote a simple plugin I'd like to share, you'll find it in the WordPress Plugin Directory
17.11.2010
by PerS
2 Comments
Images: Shortcode, Nested shortcode, Example, Lightbox
I needed dummy text for a blog I'm working on, and since I like to code I wrote a simple plugin I'd like to share, you'll find it in the WordPress Plugin Directory
11.11.2010
by PerS
0 comments
I guess I’m at bit biased since we made this app, but I really like the Team Portal iPhone app. Give it a try yourself together with your free SharePoint 2010 account.
10.11.2010
by PerS
1 Comment
Besides the built-in upload to SharePoint 2010, I’ve looked at other methods to do uploads to SharePoint 2010. Here are my findings:
30.6.2010
by PerS
1 Comment
If you haven’t looked at Node.js, you should. Node.js is “evented I/O for V8 javascript”. With Node.js (and its well documented api) you can write extremely high performance non-blocking event driven network servers in JavaScript.
Here’s a simple chat server and client I wrote using Node.js, Faye and the Connect middleware.
26.5.2010
by PerS
2 Comments
In SharePoint 2010, for security reasons, master pages are not applied to the application pages AccessDenied, Confirmation, Error, Login, RequestAccess, Signout and WebDeleted, instead you’ll have to create a new custom application page and run the power shell command Set-SPCustomLayoutsPage.(source http://live.visitmix.com/MIX10/Sessions/PR02 – a must-see):
12.5.2010
by PerS
0 comments
My iPad is running these apps:
You’ll find them at the iTunes app store:
25.3.2010
by PerS
0 comments
Sorry no IE (might work in IE9 platform preview), so open these in a modern browser:
4.3.2010
by PerS
1 Comment
UPDATE: As of WordPress 3.3, you shouldn’t use the wp_print_styles hook, I’ve updated the Adding JavaScript section below to reflect this change.
You can create a personalized plugin template by using my WordPress Plugin Template Creator
When I rewrote my WP-DenyHost plugin, I wanted to do it as fast as possible. Instead of reinventing the wheel (again), I googled after a plugin template and found a very good one at Pressography. It had most of what I needed in a plugin template.
4.3.2010
by PerS
0 comments
@the-border: 1px;
@base-color: #111;
#header {
color: @base-color * 3;
border-left: @the-border;
border-right: @the-border * 2;
}
#footer {
color: (@base-color + #111) * 1.5;
}
ul
{
list-style-type: none;
height: 30px;
li
{
float: left;
padding-right: 15px;
a
{
padding: 5px;
display: block;
color: black;
text-decoration: none;
}
a:hover
{
background-color: @menu_color - #222;
}
}
}
Curious? 4GuysFromRolla has a nice article about .LESS
btw, if you’re not doing ASP.NET, you can create css from .less by using the command line compiler:
dotless.Compiler.exe -m Styles.less Styles.css
25.2.2010
by PerS
1 Comment
Using jQuery and the form and validate plugins, it is simple to add unobtrusive ajax to your existing form page
1, Modify your existing form page
<input type="hidden" name="isAjax" id="isAjax" value="0" /> to your form. This field will tell the processing script, process_input.php in my example, if the values in the form were submitted using ajax or as an ordinary form submit, defaulting to isAjax = 0 (false).class="required" to the fields that requires input<div id="result"></div> where you want the ajax output<form id="form1" name="form1" method="post" action="process_input.php"> <input type="hidden" name="isAjax" id="isAjax" value="0" /> Name: <input type="text" name="name" class="required" id="name" value="" /> <br /> <input type="submit" name="submit" id="submit" value="submit" /> </form> <div id="result"></div>