Commit 2599c950 authored by Raph El's avatar Raph El

Modif network

parent 6f63f3db
......@@ -46,8 +46,12 @@ class NetworkModule extends CWebModule {
$this->setImport(array(
'citizenToolKit.models.*',
'ressources.models.*',
'classifieds.models.*',
//'classifieds.models.*'
'eco.models.*',
'places.models.*',
'chat.models.*',
'interop.models.*',
'survey.models.*',
$this->id.'.models.*',
$this->id.'.components.*',
$this->id.'.messages.*',
......
......@@ -57,7 +57,7 @@ if( @$_GET["el"] || @$custom )
$c = array_merge( $c , $el["custom"] );
if (@$el["custom"]["logo"])
$c["logo"] = Yii::app()->getModule( $el["custom"]["module"])->getAssetsUrl(true).$el["custom"]["logo"];
$c["logo"] = Yii::app()->getModule($el["custom"]["module"])->getAssetsUrl(true).$el["custom"]["logo"];
else if( @$el["profilImageUrl"] ) {
$c["logo"] = $el["profilImageUrl"];
$el["custom"]["logo"]=$el["profilImageUrl"];
......
<h1>TEST Custom sur orga</h1>
<div class="container col-xs-12" >
<img src="<?php echo Yii::app()->getModule("co2")->assetsUrl."/images/custom/hva/banniere.jpg" ;?>" class="loadingPageImg" height="200" width="100%">
<iframe src="http://127.0.0.1/ph/network/default/index/?src=HVAorga"></iframe>
</div>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment