Cool! But I can't get it to work though - nothing shows up where I put the function call in the template...
The php-code doesn't get replaced by the print command...
Side note regarding the second parameter text: In the current project I use a Font Awesome icon, but that shouldn't give a problem if I just omit the text, it ought to show just fine, right?
How to output all pages in one long page?
Re: How to output all pages in one long page?
Oops, my bad. Of course, the call in the template has to be:Korvell wrote:nothing shows up where I put the function call in the template...
Code: Select all
<?php echo xprint(true, 'print all pages')?>
<?php echo xprint(false, 'print page with subpages')?>
Well, I think that you should use the HTML markup for the Font Awesome icon as text, e.g.Korvell wrote:Side note regarding the second parameter text: In the current project I use a Font Awesome icon, but that shouldn't give a problem if I just omit the text, it ought to show just fine, right?
Code: Select all
<?php echo xprint(true, '<i class="fa fa-print"></i>')?>
Christoph M. Becker – Plugins for CMSimple_XH
Re: How to output all pages in one long page?
Awesome!
- It works beautifully!
Thank You so much - again
This feature will be usefull on other sites of mine as well.

Thank You so much - again

This feature will be usefull on other sites of mine as well.