Drupal: Unterschied zwischen den Versionen

Aus RaumZeitLabor Wiki
Zur Navigation springen Zur Suche springen
(Dokumentation von Tagadelic)
Zeile 33: Zeile 33:
*http://raumzeitlabor.kral.ws/sites/all/themes/danland/local.css
*http://raumzeitlabor.kral.ws/sites/all/themes/danland/local.css


==Installierte Module==
==Module==
===Core===
===Nachinstalliert===
*[[CiviCRM]]
*[[CiviCRM]]
**[http://drupal.org/project/cck Content Construction Kit (CCK)]
**[http://drupal.org/project/cck Content Construction Kit (CCK)]
Zeile 59: Zeile 61:
***[http://drupal.org/project/imagecache ImageCache]
***[http://drupal.org/project/imagecache ImageCache]
*[http://drupal.org/project/tagadelic Tagadelic]
*[http://drupal.org/project/tagadelic Tagadelic]
===Anpassungen===
====Tagadelic====
Blendet Schlagwörter im Blog (Pfad: ''/blog''), dessen einzelnen Seiten (Node type: ''blog'') und beim Erstellen eines Beitrags (Pfad: ''/node/add/blog'') in der linken Seitenleiste ein.
;Ort
:Left sidebar
;Show block on specific pages
:Show if the following PHP code returns TRUE (PHP-mode, experts only).
<pre><?php
$match = FALSE;
$types = array('blog' => 1);
if (arg(0) == 'node' && is_numeric(arg(1))) {
  $nid = arg(1);
  $node = node_load(array('nid' => $nid));
  $type = $node->type;
  if (isset($types[$type])) {
    $match = TRUE;
  }
}


if (substr($_SERVER["REQUEST_URI"], 0, 10) == '/blog')
{ $match = TRUE;}
if (substr($_SERVER["REQUEST_URI"], 0) == '/node/add/blog')
{ $match = TRUE;}
return $match;
?></pre>
[[Kategorie:Projekt]]
[[Kategorie:Projekt]]

Version vom 27. Juli 2010, 10:24 Uhr

Ansprechpartner: Inte

Eine Testinstallation ist unter http://raumzeitlabor.kral.ws/ zu finden.

Wunschzettel

Optik

  • Fotos vom RaumZeitLabor für die Slideshow auf der Startseite anfertigen

Funktionalität

  • Spezial:Letzte Änderungen mit den letzten 5 Items auf der Startseite einbinden
  • WYSIWYG-Editor installieren
  • Flattr einbinden Entfällt wg. monatlicher Mindestkosten von 2€
  • Paypal-Spendenbutton einbinden
  • Tweets & Dents von @RaumZeitLabor und mit #RaumZeitLabor einbinden
  • Planet für externe Inhalte mit dem Tag RaumZeitLabor einrichten
  • Captchas für Kommentare von nicht angemeldeten Besuchern
  • Spamfilter für Kommentare, Track- und Pingbacks

Inhalt

  • Benutzer von Wordpress umziehen
  • Texte von Wordpress umziehen
  • Kommentare von Wordpress umziehen
  • Bilder von Wordpress umziehen

Pfade

Modulverzeichnis
/sites/all/modules
Themeverzeichnis
/sites/all/themes

Theme

Anpassungen

Module

Core

Nachinstalliert

Anpassungen

Tagadelic

Blendet Schlagwörter im Blog (Pfad: /blog), dessen einzelnen Seiten (Node type: blog) und beim Erstellen eines Beitrags (Pfad: /node/add/blog) in der linken Seitenleiste ein.

Ort
Left sidebar
Show block on specific pages
Show if the following PHP code returns TRUE (PHP-mode, experts only).
<?php
$match = FALSE;
$types = array('blog' => 1);
if (arg(0) == 'node' && is_numeric(arg(1))) {
  $nid = arg(1);
  $node = node_load(array('nid' => $nid));
  $type = $node->type;
  if (isset($types[$type])) {
    $match = TRUE;
  }
}

if (substr($_SERVER["REQUEST_URI"], 0, 10) == '/blog')
{ $match = TRUE;}

if (substr($_SERVER["REQUEST_URI"], 0) == '/node/add/blog')
{ $match = TRUE;}

return $match;
?>