Jump to content

"echo" does not show output when called from page php template


dlen
 Share

Recommended Posts

Dear forists,

I wanted to echo some strings with a simple echo "bla bla"; statement from within a page template. While this works in _main.php and _init.php, I did not get it to work from a page php-template, like "gallery-page.php". 

There is no error message. Everything else works as expected.

This is not an important issue, but I'd like to find some explanation for this, just to not have think about it longer.

Thx for any productive hint...

Link to comment
Share on other sites

Does your page file do any other echoes, or does it prepare output for another file to actually do the echoing? It might be the file appended automatically to each template through the PW template configuration. Quite often this is the case but not necessarily.

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...