Category Archives: Allgemein

Prestashop: Counter mit if-Bedingung im Loop

{foreach from=$products item=product name=homeFeaturedProducts}

Posted in Allgemein | Tagged | Leave a comment

Prestashop globals

$base_dir { root folder of your shop } $base_dir_ssl { root folder of your shop using HTTPS protocol } $content_dir { root folder of your shop depending on the SSL settings } $img_ps_dir { root folder containing images “/img/” } … Continue reading

Posted in Allgemein | Leave a comment

Prestashop – get URL of current page

{$smarty.server.HTTP_HOST}{$smarty.server.REQUEST_URI} This could for example be used to put a Facebook like button on the products.tpl that enables the user to like a specific item: <iframe src=”http://www.facebook.com/plugins/like.php?href={$smarty.server.HTTP_HOST}{$smarty.server.REQUEST_URI}&layout=button_count&show_faces=true&width=450&action=like&colorscheme=light&height=21″ scrolling=”no” frameborder=”0″ style=”border:none; overflow:hidden; width:450px; height:21px;” allowTransparency=”true”></iframe>

Posted in Allgemein | Leave a comment

Schlagwörter

Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo … Continue reading

Posted in Allgemein | Tagged , | Leave a comment

Post Format

This gallery contains 4 photos.

Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo … Continue reading

More Galleries | Leave a comment

Kompatibilitäts-Tags Internet Explorer 8

IE7: <meta http-equiv=”X-UA-Compatible” content=”IE=EmulateIE7″ /> IE8: <meta http-equiv=”X-UA-Compatible” content=”IE=8″/>

Posted in Allgemein | Leave a comment

BuddyPress in einem Unterblog einer WP 3.0 Multisite

Das Buddypress Plugin kann nur netzwerkweit aktiviert werden. Soll buddypress in einem Unterblog einer Multisite installiert werden statt auf der Hauptseite, so kann man den Unterblog mit Hilfe des folgenden Eintrags in der wp-config.php als Rootblog definieren: define ( ‘BP_ROOT_BLOG’, … Continue reading

Posted in Allgemein | Leave a comment

Custom Post Types / Custom Taxonomies

Seit WordPress 3.0 ist es möglich, eigene Inhaltstypen zu erstellen. Hierzu steht die Funktion register_post_type(); zur Verfügung. [wenn member]Beispiel: Erstellung eines Inhaltstyps ‘Buch’ add_action( ‘init’, ‘create_post_type’ ); function create_post_type() { register_post_type( ‘buch’, array( ‘labels’ => array( ‘name’ => __( ‘Bücher’ … Continue reading

Posted in Allgemein | Leave a comment