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 - 01: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

  • für drupal11 ein Slider Modul
  • [gelöst] W3CSS Paragraphs Views
  • Drupal 11 neu aufsetzen und Bereiche aus 10 importieren
  • Wie erlaubt man neuen Benutzern auf die Resetseite zugreifen zu dürfen.
  • [gelöst] Anzeigeformat Text mit Bild in einem Artikel, Drupal 11
  • Social Media Buttons um Insteragram erweitern
  • Nach Installation der neuesten D10-Version kein Zugriff auf Website
  • Composer nach Umzug
  • [gelöst] Taxonomie Begriffe zeigt nicht alle Nodes an
  • Drupal 11 + Experience Builder (Canvas) + Layout Builder
  • Welche KI verwendet ihr?
  • Update Manger läst sich nicht Installieren
Weiter

Neue Kommentare

  • melde mich mal wieder, da ich
    vor 3 Tagen 3 Stunden
  • Hey danke
    vor 3 Tagen 22 Stunden
  • Update: jetzt gibt's ein
    vor 4 Tagen 16 Stunden
  • Hallo, im Prinzip habe ich
    vor 1 Woche 2 Tagen
  • Da scheint die Terminologie
    vor 1 Woche 2 Tagen
  • Kannst doch auch alles direkt
    vor 1 Woche 6 Tagen
  • In der entsprechenden View
    vor 1 Woche 6 Tagen
  • Dazu müsstest Du vermutlich
    vor 1 Woche 6 Tagen
  • gelöst
    vor 4 Wochen 3 Tagen
  • Ja natürlich. Dass ist etwas,
    vor 4 Wochen 3 Tagen

Statistik

Beiträge im Forum: 250233
Registrierte User: 20449

Neue User:

  • Mroppoofpaync
  • 4aficiona2
  • AppBuilder

» Alle User anzeigen

User nach Punkten sortiert:
wla9461
stBorchert6003
quiptime4972
Tobias Bähr4019
bv3924
ronald3857
md3717
Thoor3678
Alexander Langer3416
Exterior2903
» User nach Punkten
Zur Zeit sind 0 User und 15 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