test
Taking this suggestion as in first post, You can just move the 1st code above the code in 2nd point instead of below
<blockquote>And how to have css styling od search field like on demo. I was trying to publish ja-search module at right position but then css goes wrong…
Search module has specific styling which is inherited at search position
Quick way would be to have the specific module still assigned to search position and then,
1) Go to template>> ja_social >> blocks >> header.php file and locate this code::
<?php if($this->countModules(‘search’)) : ?>
<div id=”ja-search”>
<jdoc:include type=”modules” name=”search” />
</div>
<?php endif; ?>
2) Move the above code now below this::
$positions = preg_split (‘/,/’, T3Common::node_data($block));
$parent = ‘middle’;
$style = $this->getBlockStyle ($block, $parent);
if (!$this->countModules (T3Common::node_data($block))) return;
?>
<?php $this->genMiddleBlockBegin ($block) ?>
<?php foreach ($positions as $position) :
if ($this->countModules($position)) :
?>
<jdoc:include type=”modules” name=”<?php echo $position ?>” style=”<?php echo $style ?>” />
<?php endif;
endforeach ?>
in plugins/system/jat3/base-themes/default/blocks/middle.php file </blockquote>
Ok, thank you… I dont know how to do that… when I follow your direction that just dont work… and you have been at my administration and still dont work… I give up.
Thx…
This topic contains 34 replies, has 2 voices, and was last updated by msilac 14 years, 2 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum