Skip to content

2.0.x pub_date how to display within document without PHx? #981

@ArnoNymeier

Description

@ArnoNymeier

Hello, to test a bit I have the current version of Evo 2.0.x installed.
I'm also testing the transition from Wayfinder to DLmenu and Ditto to Doclister.

The DLmenu works and also Doclister call and output via chunk is OK.

Unfortunately, I have not found a solution, e.g. to display the date (pub_date) on an article (via article template) page.

[*pub_date:date=%b %d, %Y*] works only if I activate PHx - but then the DLmenu is no longer displayed.

My simple menu within the Template:

[!DLMenu? 
  &parents=`0` 
  &maxDepth=`2` 
  &outerTpl=`@CODE:<ul id="nav" class="cont">[+wrap+]</ul>` 
  &rowTpl=`@CODE:<li><a href="[+url+]" title="[+title+]">[+title+]</a></li>` 
  &rowHereTpl=`@CODE:<li class="active"><a href="[+url+]" title="[+title+]">[+title+]</a></li>`
!]

Is there a way to display pub_date in a document without phx?

How should it be displayed correctly?

Thanks

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions