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

  • PHP 8.1 - Deprecated function: rtrim()
  • Preloader / Spnner entfernen Menu Link Modal-Modul
  • Schriftgröße standard einstellen
  • Drupal Website gestalten
  • MariaDB 10.6
  • Entity Reference - Title Felder werden als Link angezeigt
  • Tokens werden in Viev als Link angezeigt
  • [bug entdeckt & workaround gefunden] benutzerdefinierte Felder vom Userprofil tauchen ungefragt auch in den Forumtopics auf...
  • [gelöst] Mass contact Empfängerliste nach Taxonomy Term statt Rolle
  • Update V. 9.3.12 auf V. 9.4 mit Fehler: Modul mySQL fehlt. Bitte Hilfe.
  • Sprachpfad, in Drupal Korrekt einstellen, auch bei den Meta-Tags
  • Update von Drupal 9.3 auf 9.4 oder bei 9.3 bleiben
Weiter

Neue Kommentare

  • Danke fürs Feedback. Gut dass
    vor 9 Stunden 41 Minuten
  • Patch angewandt
    vor 12 Stunden 53 Minuten
  • core_version_requirement: ^8
    vor 2 Tagen 14 Stunden
  • core_version_requirement: ^8
    vor 2 Tagen 14 Stunden
  • ok. Wenn ich das mache
    vor 2 Tagen 14 Stunden
  • Bei gleichem Namen hat das
    vor 2 Tagen 14 Stunden
  • Sorry, dass ich mich hier
    vor 2 Tagen 15 Stunden
  • Habe Patch versucht
    vor 2 Tagen 22 Stunden
  • Hier wird ein Patsch
    vor 2 Tagen 23 Stunden
  • Mit Drupal geht das um 150
    vor 3 Tagen 11 Stunden

Statistik

Beiträge im Forum: 247866
Registrierte User: 19592

Neue User:

  • Davidsnins
  • kudes
  • Tkakah

» Alle User anzeigen

User nach Punkten sortiert:
wla9213
stBorchert6003
quiptime4972
Tobias Bähr4019
bv3924
ronald3845
md3717
Thoor3678
Alexander Langer3416
Exterior2903
» User nach Punkten
Zur Zeit sind 1 Benutzer und 5 Gäste online.

Benutzer online

  • alanjones25

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