Hoe doe ik dat?
WordPress 3 menu’s voor Thematic
Whee! Dankzij deze post hebben mijn Thematic child themes nu een dynamisch WordPress 3 menu!
Voeg dit toe aan de functions.php in je child theme:
// Add support for WP3 custom menus
add_theme_support( 'nav-menus' );
// Remove Thematic default menu
function remove_thematic_menu() {
remove_action('thematic_header','thematic_access',9);
}
add_action('init','remove_thematic_menu');
// Register the custom menu with the theme
function register_custom_menu() {
register_nav_menu( 'primary-menu', __( 'Primary Menu' ) );
}
add_action( 'init', 'register_custom_menu' );
// Output the new 3.0 menu to the thematic header
function childtheme_access(){?>
<div id="access">
<div class="skip-link"><a href="#content" title="<?php _e('Skip navigation to the content', 'thematic'); ?>"><?php _e('Skip to content', 'thematic'); ?></a></div>
<?php wp_nav_menu( array('primary-menu', 'container_class' => 'menu', 'menu_class' => 'sf-menu') ); ?>
</div><!-- #access -->
<?php
}
add_action('thematic_header','childtheme_access',9);
Microsoft lettertypen aan Ubuntu toevoegen
Bij een standaard installatie van Ubuntu worden geen Microsoft fonts geïnstalleerd. Toch kan het handig zijn om deze beschikbaar te hebben. Deze standaard fonts zijn te installeren met het volgende commando:
sudo apt-get install msttcorefonts
De fonts die geïnstalleerd worden zijn:
- Andale Mono
- Arial Black
- Arial (Bold, Italic, Bold Italic)
- Comic Sans MS (Bold)
- Courier New (Bold, Italic, Bold Italic)
- Georgia (Bold, Italic, Bold Italic)
- Impact
- Times New Roman (Bold, Italic, Bold Italic)
- Trebuchet (Bold, Italic, Bold Italic)
- Verdana (Bold, Italic, Bold Italic)
- Webdings
Timeout ASP aanpasssen in IIS 6
Standaard staat de timeout op 110 seconden. Dus uploads naar en ASP applicatie worden binnen twee minuten afgebroken. Aangezien ik hier aan een grafische applicatie in ASP aan het werk ben dient deze timeout te worden opgehoogd. In dit geval naar een uur.
- Open de IIS manager
- Ga naar > Internet Information Services > [servernaam] > Web Sites > [website] > en klik met de rechter muisknop op Properties.
- In het Properties-venster: kies het tabblad ASP.Net > Edit configuration
- Ga naar het tabblad Application en verander de waarde bij Request Execution Timeout (seconds): 110 >
- In het geval van één uur is dit dus (60 min. x 60 sec. =) 3600 seconden

Laatste reacties
-
Nicoline Langendijk
Deze handleiding hadden we net nodig. Opdracht is geslaagd!
1 week ago
-
Rutger Slayer
zo das geen half werk..
2 months ago
-
Omidoes
Te mooi om op te eten.
2 months ago
-
robidoes
Gisteren een voortreffelijke vega gehaktbal gegeten gemaakt door Opa3. Zijn moeder had het hem niet verbeterd.
Jasper had hem binnen […]
5 months ago
-
Martijn
Dag Roel,
Klopt helemal, ik heb het stukje aangepast. Bedankt voor je oplettendheid!
6 months ago
Show More