0

I'm trying to get an error message to display when a front-end login fails.

I have added <jdoc:include type="message"> to my template just before <jdoc:include type="component" />, but it renders as HTML.

ie.

   <jdoc:include type="message">
      <div class="blog-featured">
      <div class="items-row cols-1 row-0">
      <div class="item column-1">

      ... etc. etc.

   </jdoc:include>

How can I get this to work?

Thanks,

Andy

andylamb
  • 147
  • 2
  • 13

1 Answers1

1

There is no need to close </jdoc:include>

Simply use this to echo the message ...

<jdoc:include type="message" />
Pramod Kumar Sharma
  • 7,851
  • 5
  • 28
  • 53