Hi,
I got many static pages in my project.
Is it possible to group them in subfolders under the ‘views/site/pages’-folder?
I already tried
http://localhost/xxx/index-test.php?r=site/page&view=subfolder/StaticPage
but it didn’t work.
THX!
Hi,
I got many static pages in my project.
Is it possible to group them in subfolders under the ‘views/site/pages’-folder?
I already tried
http://localhost/xxx/index-test.php?r=site/page&view=subfolder/StaticPage
but it didn’t work.
THX!
You can do it as
'page'=>array(
'layout'=>'column2',
'class'=>'CViewAction',
),
'info'=>array(
'layout'=>'column1',
'class'=>'CViewAction',
),
You should try
http://localhost/xxx/index-test.php?r=site/page&view=subfolder.StaticPage
(untested)
/Tommy
yeah thx,
both work!