Jump to content

Template not being displayed


helmut2509
 Share

Recommended Posts

Hello,

I have a template (mytpl) to which I assigned an Alternate Template File (mainTpl) which contains the business logic.

From there I call /templates/views/mytpl.php . Now I have the impression there is something messed up:

suddenly the template only delivers a blank page.

So I inserted a debug message in wire/core/TemplateFile, function __render: echo "out = $out" (just before return) and saw that there is a double output which

however is not being displayed without the debug message.

How can I fix this? 

Can I have view templates without declaring them as pw-templates, just calling them from the mainTpl?

Edited by helmut2509
Edit:error is settled. a stupid php error ;-((
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...