|
|
Home patTemplate Freqently Asked Questions How can I hide parts of a page? |
| How can I hide parts of a page? |
|
|
|
|
Hiding parts of a page or displaying them only when a condition occured is quite easy. Just take a look at the following example: 001 <patTemplate:tmpl name="page"> This example consists of two templates: page and secret, which will not be displayed if you call displayParsedTemplate() after loading this templates. It will not be displayed because of the visibility="hidden" attribute. To change the visibility of a template, use the follwing PHP code: 1 <?PHP Tip Hiding a template |
| < Prev | Next > |
|---|





