Ticket #1395 (closed defect: fixed)
Attribut with_category inopérant dans {{tpl:EntryFirstImage}}
Reported by: | philippe | Owned by: | xave |
---|---|---|---|
Priority: | normal | Milestone: | 2.5.1 |
Component: | module:core | Version: | 2.5 |
Severity: | normal | Keywords: | |
Cc: |
Description
Suite à cette discussion sur le forum, je peux reproduire le problème en appelant, sur home.html, un billet qui n'a pas d'image mais dont la catégorie en a une dans sa description
<tpl:Entries url="test"> {{tpl:EntryFirstImage with_category="1"}} </tpl:Entries>
L'image n'est pas trouvée.
Avec le patch proposé en #5 par Da Bourz dans la discussion, ça marche mieux ;)
Change History
comment:2 Changed 12 years ago by franck <carnet.franck.paul@…>
- Status changed from new to closed
- Resolution set to fixed
(In [3f1b99d0153e]) with_category attribute was buggy in tpl:EntryFirstImage, fixes #1395 (thank's DaBourz? for the patch)
Note: See
TracTickets for help on using
tickets.