Commit 1a7a5468 authored by Kgneo's avatar Kgneo
Browse files

up classified standalone

parent b92468a3
......@@ -1666,7 +1666,7 @@ var directory = {
if(directory.dirLog) mylog.log("----------- classifiedPanelHtml",params,params.name);
str = "";
str += "<div class='col-lg-3 col-md-3 col-sm-6 col-xs-12 searchEntityContainer "+params.type+params.id+" "+params.type+" "+params.elTagsList+" '>";
str += "<div class='col-lg-4 col-md-4 col-sm-6 col-xs-12 searchEntityContainer "+params.type+params.id+" "+params.type+" "+params.elTagsList+" '>";
str += "<div class='searchEntity' id='entity"+params.id+"'>";
// directory.colPos = directory.colPos == "left" ? "right" : "left";
......
......@@ -229,9 +229,9 @@ class AppController extends CommunecterController {
if( $type == Person::COLLECTION || $type == Event::COLLECTION ||
$type == Project::COLLECTION || $type == Organization::COLLECTION ||
$type == Poi::COLLECTION || $type == Place::COLLECTION || $type == Ressource::COLLECTION ||
$type == Classified::COLLECTION)
$type == Classified::COLLECTION){
$element = Element::getByTypeAndId($type, $id);
}
else if($type == News::COLLECTION){
$element = News::getById($id);
}
......
......@@ -10,15 +10,12 @@
//header + menu
if($this->module->id != "network" && $type!=Classified::COLLECTION && ($type!=Product::COLLECTION || ($element["creator"]==Yii::app()->session["userId"] && $view != "show")))
//le param USEHEADER de params.json sert à afficher ou non le header,
//donc normalement pas besoin de faire de IF ici
$this->renderPartial($layoutPath.'header',
array( "layoutPath"=>$layoutPath ,
"page" => "page") );
?>
<style>
header {
display:none;
}
</style>
<div class="col-md-12 col-sm-12 col-xs-12 no-padding social-main-container">
<div class="" id="onepage">
......
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