Dotclear

Ticket #676 (closed enhancement: fixed)

Opened 17 years ago

Last modified 15 years ago

Harmonisation des boucles tpl

Reported by: bruno Owned by: olivier
Priority: normal Milestone: 2.2
Component: module:core Version: 2.1
Severity: normal Keywords:
Cc:

Description

<tpl:Entries> possède des propriétés intéressantes dont tirent parti plusieurs plugins.

Parmi ces fonctionnalités, la possibilité de positionner certains paramètres à la volée en préaffectant $params

Il serait intéressant de faire la même chose pour tpl:Archives, tpl:ArchivesNext, tpl:ArchivePrevious, tpl:Categories, tpl:Languages,

  • Non-initialisation (ou initialisation conditionnelle) de $params
  • Non-positionnement de valeurs par défaut (ex: post_type) et positionnement de ces valeurs directement dant blog-> (ex: getDates pour le post_type), ce qui permet à un plugin de surcharger ce paramètre

Change History

comment:1 Changed 17 years ago by bruno

(In [2736]) tpl harmonization attempt, see #676.

comment:2 Changed 16 years ago by bruno

(In [3042]) Template blocs harmonization : $params is no more overwritten if already defined previously. Remove some hard-coded post-types in blocks. Addresses #676

comment:3 Changed 16 years ago by xave

  • Status changed from new to closed
  • Resolution set to fixed

(In [3044]) Merging changes from Bazar. Closes #676, #786, #801.

comment:4 Changed 15 years ago by bruno

(In [3078]) Fixed stoopid error in [3042], addresses #676 (Thanks Zeiram)

comment:5 Changed 15 years ago by xave

(In [3083]) Merged last changes from Bazar. -Fixed stoopid error in [3042], fixes #676 (Thanks Zeiram) -Restored exception being thrown if not a "not found" exception. May be changed later to a more generic "internal error" page. Fixes #801

Note: See TracTickets for help on using tickets.

Sites map