Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

mezzio quick start templating with laminas view

/**
The fix below is assuming you have tried everything on 
https://docs.mezzio.dev/mezzio/v3/getting-started/quick-start/
and have opted for the laminas view and nothing is being displayed
 rather than the <h1>Hello <?= $this->target ?></h1> shown under the
<!-- laminas-view -->
do the below instead
**/

<!-- laminas-view -->
<h1>Hello <?= $target ?></h1>

/**
* You are to follow everything on the page but rather than
* shown under the laminas view
*use the above instead
*
*If this is not clear reach out to me adekoyaayomide5@gmailcom
**/
 
PREVIOUS NEXT
Tagged: #mezzio #quick #start #templating #laminas #view
ADD COMMENT
Topic
Name
1+4 =