Yii Framework Forum: [EXTENSION] OvenCMS - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

[EXTENSION] OvenCMS Install and setup Rate Topic: -----

#1 User is offline   netbur 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 42
  • Joined: 03-June 09

Posted 31 May 2010 - 05:45 AM

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
0

#2 User is offline   crioz 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 5
  • Joined: 17-May 09
  • Location:Estonia

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>

  • 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
0

#3 User is offline   netbur 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 42
  • Joined: 03-June 09

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 :
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.
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users