Tag Archives: How To

How to: remove the WordPress link in the Twenty Twelve Infinite Footer

Updated Post:


Ok, so the first try, described below, wasn’t really working out for me. The original files are updated too often during updates, meaning the link changes back all the time.

So, instead I use the CSS to override the original information.

Change the site CSS by going to the admin site, choose Appearance, choose Edit CSS.
the div holding the “Proudly powered by WordPress”-link and the “Theme: Twenty Twelve”-text uses the CSS-class “blog-credits”.
There are several approaches one might use to alter the appearance. I will use the quick and not so very sophisticated option of just removing the content. Since there is no information I need to replace the existing with, I’ll just use the display:none; CSS rule to remove it.

So, add the following code to the CSS Stylesheet Editor content and the information should stay hidden even after updates to the core files.

.blog-credits {
    display: none;

Original Post:

In the original plain Twenty Twelve theme for WordPress (currently in use on this site) there is an infinite scroll feature. This feature introduces a footer once it kicks in. That footer links back to WordPress. To change this footer credits information I did the following.

Please note that this will be overwritten when the theme updates. So this is a note to self once it updates and I wonder why…

Step 1, go to the WordPress dashboard.

Step 2, go to the Plugins editor


Step 3, Choose the correct plugin to edit. The infinite scroll feature is in the Jetpack plugin.


Step 4, Choose the correct file to edit. The footer credits is defined in the “jetpack/modules/infinite-scroll/infinity.php”


Step 5, change the credits lines to your liking. The definition of $credits is in the infinite blog footer function towards the end of the file.


A lingering question is if the infinite scroll is a good feature or if it should be removed and the blog front page changed back to the paging of old…

Hur aktiverar man Google Nu för Google Apps?

In Swedish.

Med en telefon med Android 4.1 eller senare kan man använda Google Nu, Google Now.

För att kunna använda denna funktion måste man aktivt aktivera funktionen för användare i Googles kontrollpanel för administratörer enligt nedan:


Denna inställning finner man på fliken inställningar under Tjänsten Mobil…

(här finns även inställningen för skärmlåswidgetar som också är avstängd per default.)

På sin mobil kan man nu aktivera och använda Google Now.

Google Now/Nu hittar man under en ikon som på min telefon bara ser ut som Google:


På en HTC One X startar man Google Now genom att hålla ned husknappen. På många andra enheter startar man det genom att svepa upp på skärmen.

Mer information om Google Nu

En Guide till Google Now från cnet, denna film innehåller en del tips om hur man aktiverar funktionerna mm.

How to: use select all in a Tablix filter

This post describes one way to let users select all values in a filter in a data area such as a Tablix in Microsoft SQL Server Reporting Services.

During a recent Reporting Services 2008 course (6236) I was asked about how to use filtering in a data region, such as a Tablix, and present an option for the user to select all filter values.

A search for doing this with parameters gives you quite a few tutorials, such as Chris Hays’s from 2004. Searching for the same approach for filtering doesn’t yield the same amount of tutorials. So here is a quick guide for a similar approach for select all in filters.

This guide will use SQL server 2008 r2 and BIDS based on Visual Studio 2008.

Initial tasks for demo

Step 1, start BIDS and create your empty Reporting Services project


Above: Screenshot of the new project dialog.

Step 2, Create a new empty report (not through the wizard)


Above: Screenshot of Add New Item dialog.

Step 3, Create a demo dataset (with an empty data source)


Above: Dataset dialog.

Step 4, Create a Tablix and bind it to our dataset


Above: Screenshot of report body with a Tablix bound to our dataset and with the detail row showing our data field

Step 5, Preview report

To verify that we are still on track, check the preview of the report and make sure it displays our demo data


Above: Screenshot of preview of our not so impressive report

Step 6, Create a Parameter

To be able to filter our dataset through a prompt we need a parameter. We will create a manual one. Please use proper datasets mapped to your data for production reports.


Above: Manual filter items for all and for each of our demo data values.

Step 7, create filter in Tablix

Go to Tablix properties and choose the filter tab.

For our Filter Expression we want to create a filtering expression that can evaluate to true. In a traditional filtering expression we would just choose our field and choose to compare it to our parameter. In this scenario we want to do the logic in this expression so that we can do whatever logic is needed. In this case we choose to compare either to one of the parameter values , or check if the parameter is 0 (our “All” value from the parameter settings)


Above: Expression for Filter

For our Value expression we want to evaluate true so that we can compare the two. Note that we need to enter “=true”, not just “true”.


Above: Screenshot of Filter value expression.

Once we have our two expressions our filter properties for the Tablix will show as this:


Above: Filters dialog in Tablix properties

Step 8, test filtering

Run report and choose All in parameter:


Above: All data visible with All filter

Verify functionality with a specific parameter:


Above: Only some data is visible when filtering with parameter

More on filtering

The whole point on using data area filtering versus using data set parameters can be expanded on quite a bit. There are loads of resources on that around.

But trying to be complete: One aspect is how much data you want to generate from data source on initial report run, another is if you want to be able to run the same report with different data without generating another trip to the source. By using parameters and filtering on the data set you only retrieve a limited amount of data. By using filters you can run your report once against the data source and then filter on the intermediate result in a cache or on a report snapshot.

Demo Report

Here is the report file used in the demo


How to: Enable week view

How to enable week view in the HTC One X standard calendar.

I have seen quite a few reviews and blog posts (Such as this review from Gizmodo) where the calendar function in the HTC One X gets poor feedback because of lack of a week view. This is peculiar since it is actually right there in the calendar. The week button is not enabled by default for some reason, but an easy tap and its ready to play:

  1. Tap Calendar to start the calendar app.

    1 redigera flikar
    Above: Calendar menu

  2. Tap settings and choose adjust tabs/redigera flikar:
    2 rearrange
    Above: The missing week view icon (Vecka)
  3. Reorder and disable/enable the calendar views as you like

    3 wee view available
    Above: Enabled week view

(Screen captures above are in Swedish…)

If you want an even better calendar experience, consider installing a more advanced calendar application/widget such as the Pure Grid Calendar Widget (Available on Play) that displays a much better week view with more information about each event.


How to: get SharePoint (& Office) to work with FQDN without login dialogs

A nice feature of the Microsoft eco-system is that everything just works together. Another nice feature is that sometimes we need to make it so.


An organization has a normal Microsoft environment, Windows Server, AD, Windows 7 clients, SharePoint 2010 etc. The SharePoint server has a Web application on standard port 80, accessible through both the NetBIOS/computer name (http://server) and a DNS-based general FQDN (http://portal.company.local). when accessing the site through the FQDN, everything works as expected until we try to open an explorer view to a document library, or try to save an Office document to a site. When doing this through the server name, automatic login works, when using FQDN the user is presented with a login dialog/prompt for credentials.

The first thing to check is that the sites are in the IE Local Intranet zone. Local Intranet zone is the only zone that enables automatic login by default.

The next thing is to enable automatic forwarding of credentials to the server using the following registry hack:

  1. Click Start, type regedit in the Start Search box, and then press ENTER.
  2. Locate and then click the following registry subkey:


  3. On the Edit menu, point to New, and then click Multi-String Value.
  4. Type AuthForwardServerList, and then press ENTER.
  5. On the Edit menu, click Modify.
  6. In the Value data box, type the URL of the server that hosts the Web share, and then click OK.

For more information, check: http://support.microsoft.com/?id=943280

(After changing, remember to restart the computer or restart the WebClient service)