Some random stuff about things I'm interested in - web development, asp.net, mvc, umbraco, hml5, css3, responsive design. Opinions expressed here are my own and not those of my employer. 

  • Prev
  • 0
  • Next

See here for location of Umbraco 5 log

http://our.umbraco.org/forum/core/umbraco-5-general-discussion/27571-Umbraco-5-Log

Posted by Tom at 00:00
Categories :

Tool to search the office ribbon bar

The fact this evens exists tels you how bad the Office UI is:

http://officelabs.com/projects/searchcommands/Pages/default.aspx

Though I do like the forgotten attachment detector:

http://officelabs.com/projects/forgottenattachmentdetector/Pages/default.aspx

Posted by Tom at 00:00

use Model.Media("propertyName") when you have a property on your current model

use Library.MediaById when you have an ID number or that ID comes from querystring

see this forum post

http://our.umbraco.org/forum/developers/razor/27447-Why-is-there-no-simple-answer-to-this!!-Razor,-Parameter,-Media?p=0#comment103148

Posted by Tom at 00:00
Tags :
Categories :

Yes displaying a Google Map counts towards API usage

Yes displaying a Google Map counts towards API usage, as seen here:

http://code.google.com/apis/maps/faq.html#usage_mapload

It says:

 A single map load occurs when:

  1. a map is displayed using the Maps JavaScript API (V2 or V3) when loaded by a web page or application;
  2. a SWF that loads the Maps API for Flash is loaded by a web page or application; or
  3. a single request is made for a map image from the Static Maps API.
  4. a single request is made for a panorama image from the Street View Image API.

 

The degree to which a user interacts with a map once it has been loaded has no impact on the usage limits. 

 

Posted by Tom at 00:00

Debugging Javascript

console.log, console.warn, console.error. You don't break flow in your code that way

 

Posted by Tom at 00:00

Authors

Tags

Latest comments