Tabelle (Datenbank) erstellen, verwalten und auf untrschiedliche Weise auslesen - mit Drupal möglich?
am 24.05.2006 - 21:00 Uhr in
Hi
ich habe hier eine komplexe Aufgabe:
die Redakteure meiner Seite sollen gemeinsam eine Tabelle mit Publikationen verwalten.
Dort soll der Titel, die Art und das Erscheinungsjahr eingegeben werden können. Die Liste soll ständig erweiterbar sein. (Am besten wohl ne Datenbank - davon habe ich aber noch keine Ahnung, höchstens in turbo pascal ;-))
auf dem öffentlichen Teil der Seite soll dann folgendes erscheinen:
# Publikationen
* Alle (nach Jahren)
* Monografien
* Sammelbände (Hrsg.)
* Aufsätze
* Reihenherausgaben
* Lexikonartikel
* Rezensionen
Wenn ich auf Publikationen klicke soll im mainframe nur
* Alle (nch Jahren)
* Monografien
* Sammelbände (Hrsg.)
* Aufsätze
* Reihenherausgaben
* Lexikonartikel
* Rezensionen
erscheinen. Wenn ich dann auf eines der Elemente klicke (zum Beispiel Aufsätze) sollen auch nur diese angezeigt werden.
Ist das mit Drupal möglich???
- Anmelden oder Registrieren um Kommentare zu schreiben
Flexinode!?
am 24.05.2006 - 21:47 Uhr
Ich denke schon, daß dies geht. Schau dir mal Flexinode an. Ist ein Modul. Zu finden unter:
http://drupal.org/project/flexinode
Läuft auch mit 4.7
Die Flexinode müßtest du dann "themen". Dazu findest Du hier oder unter http://www.drupal.org unter Verwendung der Such-Funktion sicher was.
--------------------------------
http://www.autokauf-und-recht.de
--------------------------------
modul ins modul-verzeichnis
am 24.05.2006 - 22:01 Uhr
modul ins modul-verzeichnis kopiert, die *.mysql bei phpmyadmin in die drupaldatenbank eingelesen.
wenn ich jetzt auf module klicke kommt das hier:
* warning: flexinode_field_types(modules/flexinode/contrib/field_address.inc) [function.flexinode-field-types]: failed to open stream: No such file or directory in c:\programme\e-novative\WAMP\www\drupal\modules\flexinode\flexinode.module on line 17.
* warning: flexinode_field_types() [function.include]: Failed opening 'modules/flexinode/contrib/field_address.inc' for inclusion (include_path='C:\Programme\e-novative\WAMP\php\pear') in c:\programme\e-novative\WAMP\www\drupal\modules\flexinode\flexinode.module on line 17.
* warning: flexinode_field_types(modules/flexinode/contrib/field_colorpicker.inc) [function.flexinode-field-types]: failed to open stream: No such file or directory in c:\programme\e-novative\WAMP\www\drupal\modules\flexinode\flexinode.module on line 17.
* warning: flexinode_field_types() [function.include]: Failed opening 'modules/flexinode/contrib/field_colorpicker.inc' for inclusion (include_path='C:\Programme\e-novative\WAMP\php\pear') in c:\programme\e-novative\WAMP\www\drupal\modules\flexinode\flexinode.module on line 17.
* warning: flexinode_field_types(modules/flexinode/contrib/field_email.inc) [function.flexinode-field-types]: failed to open stream: No such file or directory in c:\programme\e-novative\WAMP\www\drupal\modules\flexinode\flexinode.module on line 17.
* warning: flexinode_field_types() [function.include]: Failed opening 'modules/flexinode/contrib/field_email.inc' for inclusion (include_path='C:\Programme\e-novative\WAMP\php\pear') in c:\programme\e-novative\WAMP\www\drupal\modules\flexinode\flexinode.module on line 17.
* warning: flexinode_field_types(modules/flexinode/contrib/field_gallery.inc) [function.flexinode-field-types]: failed to open stream: No such file or directory in c:\programme\e-novative\WAMP\www\drupal\modules\flexinode\flexinode.module on line 17.
* warning: flexinode_field_types() [function.include]: Failed opening 'modules/flexinode/contrib/field_gallery.inc' for inclusion (include_path='C:\Programme\e-novative\WAMP\php\pear') in c:\programme\e-novative\WAMP\www\drupal\modules\flexinode\flexinode.module on line 17.
* warning: flexinode_field_types(modules/flexinode/contrib/field_imagegal.inc) [function.flexinode-field-types]: failed to open stream: No such file or directory in c:\programme\e-novative\WAMP\www\drupal\modules\flexinode\flexinode.module on line 17.
* warning: flexinode_field_types() [function.include]: Failed opening 'modules/flexinode/contrib/field_imagegal.inc' for inclusion (include_path='C:\Programme\e-novative\WAMP\php\pear') in c:\programme\e-novative\WAMP\www\drupal\modules\flexinode\flexinode.module on line 17.
* warning: flexinode_field_types(modules/flexinode/contrib/field_mp3.inc) [function.flexinode-field-types]: failed to open stream: No such file or directory in c:\programme\e-novative\WAMP\www\drupal\modules\flexinode\flexinode.module on line 17.
* warning: flexinode_field_types() [function.include]: Failed opening 'modules/flexinode/contrib/field_mp3.inc' for inclusion (include_path='C:\Programme\e-novative\WAMP\php\pear') in c:\programme\e-novative\WAMP\www\drupal\modules\flexinode\flexinode.module on line 17.
* warning: flexinode_field_types(modules/flexinode/contrib/field_multiselect.inc) [function.flexinode-field-types]: failed to open stream: No such file or directory in c:\programme\e-novative\WAMP\www\drupal\modules\flexinode\flexinode.module on line 17.
* warning: flexinode_field_types() [function.include]: Failed opening 'modules/flexinode/contrib/field_multiselect.inc' for inclusion (include_path='C:\Programme\e-novative\WAMP\php\pear') in c:\programme\e-novative\WAMP\www\drupal\modules\flexinode\flexinode.module on line 17.
* warning: flexinode_field_types(modules/flexinode/contrib/field_number.inc) [function.flexinode-field-types]: failed to open stream: No such file or directory in c:\programme\e-novative\WAMP\www\drupal\modules\flexinode\flexinode.module on line 17.
* warning: flexinode_field_types() [function.include]: Failed opening 'modules/flexinode/contrib/field_number.inc' for inclusion (include_path='C:\Programme\e-novative\WAMP\php\pear') in c:\programme\e-novative\WAMP\www\drupal\modules\flexinode\flexinode.module on line 17.
* warning: flexinode_field_types(modules/flexinode/contrib/field_table.inc) [function.flexinode-field-types]: failed to open stream: No such file or directory in c:\programme\e-novative\WAMP\www\drupal\modules\flexinode\flexinode.module on line 17.
* warning: flexinode_field_types() [function.include]: Failed opening 'modules/flexinode/contrib/field_table.inc' for inclusion (include_path='C:\Programme\e-novative\WAMP\php\pear') in c:\programme\e-novative\WAMP\www\drupal\modules\flexinode\flexinode.module on line 17.
* warning: flexinode_field_types(modules/flexinode/contrib/field_url.inc) [function.flexinode-field-types]: failed to open stream: No such file or directory in c:\programme\e-novative\WAMP\www\drupal\modules\flexinode\flexinode.module on line 17.
* warning: flexinode_field_types() [function.include]: Failed opening 'modules/flexinode/contrib/field_url.inc' for inclusion (include_path='C:\Programme\e-novative\WAMP\php\pear') in c:\programme\e-novative\WAMP\www\drupal\modules\flexinode\flexinode.module on line 17.
* warning: flexinode_field_types(modules/flexinode/contrib/field_usergroup.inc) [function.flexinode-field-types]: failed to open stream: No such file or directory in c:\programme\e-novative\WAMP\www\drupal\modules\flexinode\flexinode.module on line 17.
* warning: flexinode_field_types() [function.include]: Failed opening 'modules/flexinode/contrib/field_usergroup.inc' for inclusion (include_path='C:\Programme\e-novative\WAMP\php\pear') in c:\programme\e-novative\WAMP\www\drupal\modules\flexinode\flexinode.module on line 17.
* warning: flexinode_field_types(modules/flexinode/field_checkbox.inc) [function.flexinode-field-types]: failed to open stream: No such file or directory in c:\programme\e-novative\WAMP\www\drupal\modules\flexinode\flexinode.module on line 17.
* warning: flexinode_field_types() [function.include]: Failed opening 'modules/flexinode/field_checkbox.inc' for inclusion (include_path='C:\Programme\e-novative\WAMP\php\pear') in c:\programme\e-novative\WAMP\www\drupal\modules\flexinode\flexinode.module on line 17.
* warning: flexinode_field_types(modules/flexinode/field_file.inc) [function.flexinode-field-types]: failed to open stream: No such file or directory in c:\programme\e-novative\WAMP\www\drupal\modules\flexinode\flexinode.module on line 17.
* warning: flexinode_field_types() [function.include]: Failed opening 'modules/flexinode/field_file.inc' for inclusion (include_path='C:\Programme\e-novative\WAMP\php\pear') in c:\programme\e-novative\WAMP\www\drupal\modules\flexinode\flexinode.module on line 17.
* warning: flexinode_field_types(modules/flexinode/field_image.inc) [function.flexinode-field-types]: failed to open stream: No such file or directory in c:\programme\e-novative\WAMP\www\drupal\modules\flexinode\flexinode.module on line 17.
* warning: flexinode_field_types() [function.include]: Failed opening 'modules/flexinode/field_image.inc' for inclusion (include_path='C:\Programme\e-novative\WAMP\php\pear') in c:\programme\e-novative\WAMP\www\drupal\modules\flexinode\flexinode.module on line 17.
* warning: flexinode_field_types(modules/flexinode/field_select.inc) [function.flexinode-field-types]: failed to open stream: No such file or directory in c:\programme\e-novative\WAMP\www\drupal\modules\flexinode\flexinode.module on line 17.
* warning: flexinode_field_types() [function.include]: Failed opening 'modules/flexinode/field_select.inc' for inclusion (include_path='C:\Programme\e-novative\WAMP\php\pear') in c:\programme\e-novative\WAMP\www\drupal\modules\flexinode\flexinode.module on line 17.
* warning: flexinode_field_types(modules/flexinode/field_textarea.inc) [function.flexinode-field-types]: failed to open stream: No such file or directory in c:\programme\e-novative\WAMP\www\drupal\modules\flexinode\flexinode.module on line 17.
* warning: flexinode_field_types() [function.include]: Failed opening 'modules/flexinode/field_textarea.inc' for inclusion (include_path='C:\Programme\e-novative\WAMP\php\pear') in c:\programme\e-novative\WAMP\www\drupal\modules\flexinode\flexinode.module on line 17.
* warning: flexinode_field_types(modules/flexinode/field_textfield.inc) [function.flexinode-field-types]: failed to open stream: No such file or directory in c:\programme\e-novative\WAMP\www\drupal\modules\flexinode\flexinode.module on line 17.
* warning: flexinode_field_types() [function.include]: Failed opening 'modules/flexinode/field_textfield.inc' for inclusion (include_path='C:\Programme\e-novative\WAMP\php\pear') in c:\programme\e-novative\WAMP\www\drupal\modules\flexinode\flexinode.module on line 17.
* warning: flexinode_field_types(modules/flexinode/field_timestamp.inc) [function.flexinode-field-types]: failed to open stream: No such file or directory in c:\programme\e-novative\WAMP\www\drupal\modules\flexinode\flexinode.module on line 17.
* warning: flexinode_field_types() [function.include]: Failed opening 'modules/flexinode/field_timestamp.inc' for inclusion (include_path='C:\Programme\e-novative\WAMP\php\pear') in c:\programme\e-novative\WAMP\www\drupal\modules\flexinode\flexinode.module on line 17.
eigentlich müsste das doch funktionieren - wie gehts jetzt weiter?
ps: das steht in line 17: $function = 'flexinode_'. $file->name .'_name';
hmm ...
am 24.05.2006 - 22:56 Uhr
Der erste Teil von Flexinode schaut bei mir so aus:
/**
* Return a list of all installed field types.
*/
function flexinode_field_types() {
static $types;
if (!isset($types)) {
$types = array();
$path = drupal_get_path('module', 'flexinode');
$files = file_scan_directory($path, '^field_.*\.inc$');
foreach ($files as $filename => $file) {
include_once($filename);
$function = 'flexinode_'. $file->name .'_name';
if(function_exists($function)) {
$types[] = substr($file->name, 6);
}
}
}
return $types;
}
// Load all installed field types.
flexinode_field_types();
Schau mal, wie es bie Dir ausschaut, insbesonder bei Zeile 17.
Beim Download übrigens auf
http://drupal.org/project/flexinode
und dann
View other releases
gehen. Dort die Version für 4.7 nehmen. Nicht
Download latest release (4.6.0, 07/04/2006 - 23:15, 56.75 KB)
die ist offensichtlich für 4.6.
--------------------------------
http://www.autokauf-und-recht.de
--------------------------------
argh
am 26.05.2006 - 19:57 Uhr
hat leider nicht geholfen...
wie kann das sein dass die php-fehlermeldung sagt dateien sind nicht vorhanden die vorhanden sind???
und was kann ich tun damit das nicht mehr passiert???
neuer server neues glück
am 30.05.2006 - 16:30 Uhr
bin versuchsweise mal von WAMPP auf XAMPP umgestiegen und schon läuft alles wie ich es will :-D