Startseite
  • » Home
  • » Handbuch & FAQ
  • » Forum
  • » Übersetzungsserver
  • » Suche
Startseite › Forum › Drupalcenter.de › Module ›

Zahlen statt Bilder nach Update auf Drupal 5.1

Eingetragen von Tekl (135)
am 02.02.2007 - 02:29 Uhr in
  • Module

Hi,

ich habe ein Liste mit Views erstellt, welche mir Bilder darstellen soll. Mit dem Theme wizard wurde mir folgender Code generiert.

<?php
/**
* views template to output one 'row' of a view.
* This code was generated by the views theming wizard
* Date: 2. Februar 2007 - 1:16
* View: Produkte
*
* Variables available:
* $view -- the entire view object. Important parts of this object are
*   Produkte, .
* $view_type -- The type of the view. Probably 'page' or 'block' but could
*   also be 'embed' or other string passed in from a custom view creator.
* $node -- the raw data. This is not a real node object, but will contain
*   the nid as well as other support fields that might be necessary.
* $count -- the current row in the view (not TOTAL but for this page) starting
*   from 0.
* $stripe -- 'odd' or 'even', alternating. * $title -- Display the title of the node.
* $title_label -- The assigned label for $title
* $field_bild_fid --
* $field_bild_fid_label -- The assigned label for $field_bild_fid
*
* This function goes in your views-list-Produkte.tpl.php file
*/


//now we add the stylesheet...
 
drupal_add_css(path_to_theme() .'/views-list-Produkte.css');
 
 
?>

<div class="view-label view-field-title">
  <?php print $title_label ?>
</div>
<div class="view-field view-data-title">
  <?php print $title?>
</div>

<div class="view-label view-field-field-bild-fid">
  <?php print $field_bild_fid_label ?>
</div>
<div class="view-field view-data-field-bild-fid">
  <?php print $field_bild_fid?>
</div>

In Drupal 4.7. hat print $field_bild_fid das Bild ausgegeben. Mit Drupal 5 wird mir nur noch eine Zahl angezeigt. Das Feld "Bild" stammt aus einem CCK-Inhaltstyp und ist ein imagefield-Feld.

Ist das nun ein Bug vom imagefield-Module oder muss ich das in Drupal 5 anders machen?

‹ admin signup Zu einem Tax-Term seine Übersetzungen finden ›
  • Anmelden oder Registrieren um Kommentare zu schreiben

Benutzeranmeldung

  • Registrieren
  • Neues Passwort anfordern

Aktive Forenthemen

  • Probleme mit der darstellun der ogg:image Tags.
  • [gelöst]Abhängigkeiten zweier oder mehrerer Inhaltstypen
  • Lokale Entwicklungsumgebung auf Windows
  • Drupalcenter tot?
  • Drupal-Forks und ihre Schwächen/Stärken
  • Was kann ich gegen ständige Blutergüsse tun?
  • Mir gefällt die Drupal Symfony und deren Composer
  • Mir ist da was aufgefallen ;)
  • Matomo Installation
  • Verständnisfrage private_files in Drupal
  • [gelöst] Drupal 7 Forum Beitrag mit Bilder einstellen
  • erfahrung mit dem Modul script manager
Weiter

Neue Kommentare

  • Kontextfilter und Relationen sind der richtige Ansatz
    vor 16 Stunden 41 Minuten
  • Zusatzfragen
    vor 1 Tag 17 Stunden
  • DDEV verwaltet Container, sowohl Docker als auch andere
    vor 1 Tag 18 Stunden
  • Entwicklungsumgebung ist nicht nur Server
    vor 1 Tag 18 Stunden
  • Danke
    vor 3 Tagen 1 Stunde
  • [gelöst] Danke!
    vor 3 Tagen 1 Stunde
  • Ja natürlich tun wir dass.
    vor 3 Tagen 19 Stunden
  • Drupal.de verweist aufs Drupal Center
    vor 3 Tagen 21 Stunden
  • Und falls du auf grüne
    vor 3 Tagen 22 Stunden
  • Danke euch beiden, das bringt
    vor 3 Tagen 22 Stunden

Statistik

Beiträge im Forum: 250046
Registrierte User: 20362

Neue User:

  • LilliNELP
  • Wavermype
  • tom082

» Alle User anzeigen

User nach Punkten sortiert:
wla9456
stBorchert6003
quiptime4972
Tobias Bähr4019
bv3924
ronald3855
md3717
Thoor3678
Alexander Langer3416
Exterior2903
» User nach Punkten
Zur Zeit sind 0 User und 7 Gäste online.

Hauptmenü

  • » Home
  • » Handbuch & FAQ
  • » Forum
  • » Übersetzungsserver
  • » Suche

Quicklinks I

  • Infos
  • Drupal Showcase
  • Installation
  • Update
  • Forum
  • Team
  • Verhaltensregeln

Quicklinks II

  • Drupal Jobs
  • FAQ
  • Drupal-Kochbuch
  • Best Practice - Drupal Sites - Guidelines
  • Drupal How To's

Quicklinks III

  • Tipps & Tricks
  • Drupal Theme System
  • Theme Handbuch
  • Leitfaden zur Entwicklung von Modulen

RSS & Twitter

  • Drupal Planet deutsch
  • RSS Feed News
  • RSS Feed Planet
  • Twitter Drupalcenter
Drupalcenter Team | Impressum & Datenschutz | Kontakt
Angetrieben von Drupal | Drupal is a registered trademark of Dries Buytaert.
Drupal Initiative - Drupal Association