2011-12-31, 22:22:05
(This post was last modified: 2011-12-31, 22:49:19 by chirysharing.)
... figured out a WORKAROUND:
i placed a file "dataload.php" within the templates folder, with the following code:
... so only the page content will be shown up.
Now set the page settings default template to this file (dropdown menu - choose dataload.php).
So I can load different block (pages) dynamically to the content div.
Okay, the content pages have to be set up twice. First for the default loading via url and second for dynamic loading.
Example pages:
- dynamic-instructions (page option: default template - dataload.php)
- dynamic-samples (page option: default template - dataload.php)
- instructions
- samples
The use of an identical prefix like "dynamic" (or anything else) will keep the clear content off the browsing users, and on the other hand will be automatically sorted within the pages admin section, for easy viewing and locating handling.
This will do the job ... the quickest and slickest way, imho
(If somebody is interested in)
PS: Extended menu editing options would be helpful, also like using external links.
(will use a static navigation to solve that by now)
i placed a file "dataload.php" within the templates folder, with the following code:
Code:
<?php
if (!defined('IN_GS')) {die('you cannot load this page directly.');}
get_page_content();
?>
... so only the page content will be shown up.
Now set the page settings default template to this file (dropdown menu - choose dataload.php).
So I can load different block (pages) dynamically to the content div.
Okay, the content pages have to be set up twice. First for the default loading via url and second for dynamic loading.
Example pages:
- dynamic-instructions (page option: default template - dataload.php)
- dynamic-samples (page option: default template - dataload.php)
- instructions
- samples
The use of an identical prefix like "dynamic" (or anything else) will keep the clear content off the browsing users, and on the other hand will be automatically sorted within the pages admin section, for easy viewing and locating handling.
This will do the job ... the quickest and slickest way, imho
(If somebody is interested in)
PS: Extended menu editing options would be helpful, also like using external links.
(will use a static navigation to solve that by now)