CJ Pages
Posted: Tue Mar 15, 2016 9:57 pm
If I define two CJ pages fpr 2 layouts:
/var/home/user/domain/www/scj/tube/index.php
/var/home/use/domain/www/index1.php
index1.php contains:
<?php
$_GET['force_template'] = 'index1';
include('scj/tube/index.php');
?>
Now the visitor gets page1 (layout 1) index.php for his first visit.
Then the visitor gets page2 (layout 2) index1.php for his second visit.
But if he clicks at any link from index1.php (layout 2) then he will see layout 1 in next step.
Is it possible that the visitor will see layout 2 for all other pages too?
Thanks.
/var/home/user/domain/www/scj/tube/index.php
/var/home/use/domain/www/index1.php
index1.php contains:
<?php
$_GET['force_template'] = 'index1';
include('scj/tube/index.php');
?>
Now the visitor gets page1 (layout 1) index.php for his first visit.
Then the visitor gets page2 (layout 2) index1.php for his second visit.
But if he clicks at any link from index1.php (layout 2) then he will see layout 1 in next step.
Is it possible that the visitor will see layout 2 for all other pages too?
Thanks.