von http://www.giannim.com/blog/index.php?page_id=13;
ich habe es nach Anleitung installiert (quick), aber es funzt bei mir nicht - warum...
ich habe:
ajax-wp.php in /usr/share/wordpress kopiert
das image loading.gif in /usr/share/wordpress/wp-content/themes/richkubrick-10 kopiert
die js-files in /usr/share/wordpress/wp-includes/js/scriptaculous kopiert und die /usr/share/wordpress/wp-content/themes/richkubrick-10/header.php folgendermaßen geändert..
PHP
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head profile="http://gmpg.org/xfn/11">
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
<title><?php bloginfo('name'); ?> <?php if ( is_single() ) { ?> » Blog Archive <?php } ?> <?php wp_title(); ?></title>
<meta name="generator" content="WordPress <?php bloginfo('version'); ?>" /> <!-- leave this for stats -->
<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
<link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" />
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
<!-- Begin AjaxWp Code (http://www.giannim.com/projects/ajax-wp/) -->
<script type="text/javascript" src="/usr/share/wordpress/wp-includes/js/scriptaculous/prototype.js"></script>
<script type="text/javascript" src="/usr/share/wordpress/wp-includes/js/scriptaculous/prototype-extensions.js"></script>
<script type="text/javascript" src="/usr/share/wordpress/wp-includes/js/scriptaculous/scriptaculous.js?load=effects"></script>
<script type="text/javascript" src="/usr/share/wordpress/wp-includes/js/scriptaculous/unFocusHistory.js"></script>
<script type="text/javascript" src="/usr/share/wordpress/wp-includes/js/scriptaculous/ajax-wp.js"></script>
<script type="text/javascript">
//<![CDATA[
ajax_wp_updatable_element = "content";
ajax_wp_blog_title = "My Blog";
ajax_wp_blog_base_path = "/usr/share/wordpress";
ajax_wp_permalink = "mod-rewrite";
ajax_wp_updatable_element_tag = "div";
ajax_wp_search_field = "s";
ajax_wp_update_mode = "quick";
ajax_wp_callback_page = "index.php";
ajax_wp_loading_image = "/images/loading.gif";
ajax_wp_animation_type = "appear";
ajax_wp_ajax_timeout = "7500";
ajax_wp_ignore_links = "N/A";
ajax_wp_disable = "false";
ajax_wp_disable_get_forms = "false";
ajax_wp_disable_post_forms = "false";
ajax_wp_disable_bookmark_links = "false";
ajax_wp_enable_google_analytics = "false";
//]]>
</script>
<!-- End AjaxWp Code -->
<style type="text/css" media="screen">
body { background: url("<?php bloginfo('stylesheet_directory'); ?>/images/richbgcolor.jpg"); }
<?php /* Checks to see whether it needs a sidebar or not */ if ((! $withcomments) && (! is_single())) { ?>
#page { background: url("<?php bloginfo('stylesheet_directory'); ?>/images/richbg.jpg") repeat-y top; border: none; }
<?php } else { // No sidebar ?>
#page { background: url("<?php bloginfo('stylesheet_directory'); ?>/images/richbgwide.jpg") repeat-y top; border: none; }
<?php } ?>
#header { background: url("<?php bloginfo('stylesheet_directory'); ?>/images/richheader.jpg") no-repeat bottom center; margin: 0 !important; margin: 0 0 0 1px; padding: 1px; height: 198px; width: 758px; }
#headerimg { margin: 7px 9px 0; height: 192px; width: 740px; }
#footer { background: url("<?php bloginfo('stylesheet_directory'); ?>/images/richfooter.jpg") no-repeat bottom; border: none;}
</style>
<?php wp_head(); ?>
</head>
<body>
<div id="page">
<div id="header">
<div id="headerimg">
<h1><a href="<?php echo get_settings('home'); ?>/"><?php bloginfo('name'); ?></a></h1>
<div class="description"><?php bloginfo('description'); ?></div>
</div>
</div>
<hr />
Alles anzeigen
Wer kann mir bitte helfen?