====== Dynamic pages ====== ^ :!: Note ^ | Before you read this, please confirm that you understand the [[:usage#files_and_pages|difference between files and web pages]] and what [[:usage#content|content]] is? | {{ :usage:dynamic-page.jpg?300|Special [pagecontent] tag (highlighted)}} Creating dynamic pages is done by creating a dynamic file out of any file of your website. We suggest that you use //page.php// as name of that file as Instant Update is pre-configured to use //page.php// as dynamic file. This is done from [[usage:code_editor|code editor]] by clicking on link "make dynamic page" which is located below the code editor and confirming it (click on "OK"), or simply by placing tag **[pagecontent]** where you content to appear. It is same as you are inserting regular content, your dynamic page contains same web design elements as other pages, but instead of //[content]CONTENT_NAME[/content]// tags, you are placing special tag named **[pagecontent]**. Dynamic page can include other contents, e.g. copyright (for footer), sidebar, etc... By default, navigating with your browser to //yourwebsite.com/page.php// will display default content (named "default"). To show other content you need to specify HTTP GET parameter named "page" with a value which will hold name of content you want to display. For example, to show content named "about", you would navigate your browser to //yourwebsite.com/page.php?page=about//, and for content named "contact" - //yourwebsite.com/page.php?page=contact// ^ :!: See also ^ | [[auto_menus|Automatically generated navigation menus]] |