dlen Posted November 20, 2022 Share Posted November 20, 2022 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 More sharing options...
DaveP Posted November 20, 2022 Share Posted November 20, 2022 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 More sharing options...
millipedia Posted November 21, 2022 Share Posted November 21, 2022 If you're using Markup Regions as your template strategy then make sure you're acually outputing your code into a valid region otherwsise it's going to be discarded (that's fooled me before). Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now