drupal 6

February 24th 2016 : end of drupal 6 support / Fin du support de drupal 6 en Février 2016.

vers tags drupal, drupal 7 et drupal 8.

Stats, acces, logs...

Statistics module

shows you how often a given page is viewed, who viewed it, the previous page the user visited (referrer URL), and when it was viewed.

In Drupal 7 configure statistics via configuration > statistics.
In Drupal 6 configure statistics via administer > reports > access log settings.

 

To enable collection of statistics: admin/reports/settings
Activer la journalisation des accès  et  Compter le nombre d'affichage des contenus

Ver php et drupal - forcer ver php

rq pour drupal

Attention : certains modules drupal 6 marchent mal avec php 5.3

cf drupal.org/requierements

Notes Drupal 6

Update mars 2015 : Attention: les requierement drupal 6 ont changé ! Cf https://www.drupal.org/requirements

divers liens (en vrac)

Ex view: block récent

content type "story"

création vue

nom: recent_stories tag: story type: Node

ajout des champs

+ groupe: node Node: Post date, Node: Title

views - arguments

Par ex, pour le chemin foo/bar si un user va à http://www.example.com/foo/bar/baz/beta, 'baz' et 'beta' sont des arg pour view.

pour un chemin node/%/someview drupal attend le 1er arg dans la 2e partie du chemin. Ex: node/21/someview a arg '21'.

Note: Views 1 utilisait $arg. Depuis, utiliser %.

 

Pages

S'abonner à RSS - drupal 6