Hi :
I've install this great extension, after setup all I dont know if is possible to show the child sections of menus or I have to develop another widget to show child sections.
Thanks
Page 1 of 1
[EXTENSION] OvenCMS Install and setup
#2
Posted 31 May 2010 - 06:16 AM
Yes you can if you'll update your current section model and components views : from here : http://tarkvaratehas...te_children.rar
When (at the moment you can insert your children part only by hand , in code):
put this code into place you need it :
<div id="children">
<?php
$this->widget("TopMenu", array("viewFile" => "menuChildren", "menuType" => "children", "childParentId" => 2));
?>
</div>
For example this block is used here http://juvinabeauty.ee (PS! look at the footer, there are static children menus with parent ID = 2 )
When (at the moment you can insert your children part only by hand , in code):
put this code into place you need it :
<div id="children">
<?php
$this->widget("TopMenu", array("viewFile" => "menuChildren", "menuType" => "children", "childParentId" => 2));
?>
</div>
- viewFile -> is children sections view file
- menuType -> can be: children, topMenu, default : topMenu
- childParentId -> is parent ID to search for children, you can put $_POST["section_id"] or $_GET["section_id"]
For example this block is used here http://juvinabeauty.ee (PS! look at the footer, there are static children menus with parent ID = 2 )
___
Best Regards
Vladimir Kjahrenov
TarkvaraTehas (www.tarkvaratehas.ee) - developers
SÖRVER (www.sorver.eu) - hosting
OvenCMS (www.ovencms.tarkvaratehas.ee) - Ovem CMS
Best Regards
Vladimir Kjahrenov
TarkvaraTehas (www.tarkvaratehas.ee) - developers
SÖRVER (www.sorver.eu) - hosting
OvenCMS (www.ovencms.tarkvaratehas.ee) - Ovem CMS
#3
Posted 04 June 2010 - 03:34 AM
Hi :
when I add a news module or gallery module to some container of the application, causes this error :
The problem /protected/views/containers/display :
I think is a problem caused by a wrong route of a render view.
when I add a news module or gallery module to some container of the application, causes this error :
PHP Error Descripción YiiBase::require(.../protected/modules/news/components/display.php) [<a href='yiibase.require'>yiibase.require</a>]: failed to open stream: No such file or directory
The problem /protected/views/containers/display :
$this->widget("application.modules.".$value->module.".components.".$value->view, array("options" => $options));I think is a problem caused by a wrong route of a render view.
Share this topic:
Page 1 of 1

Help













