deal plazza template - cell_10a/cell_10d

Hello
I don't understand how can cell-10a,10b,10c and 10d can be used.

On the scheme given in template management you show 4 position 10a-10b-10c-10d. On the list of position given after the scheme 10c and 10d are not listed.

After having analysed the template source I have seen thar there were only cell_10a & celll_10b. Is it possible to get
also cel_10c and celll_10d ?
thanks for explanation
best regards

Michel
11 years 5 months ago #1 by rottenberg

Please Log in or Create an account to join the conversation.

Yes that's possible but you need to do some changes in the source file.
In index.php you need to make changes on row10 section so it will look like,
<!-- showing cell-10a,cell-10b,cell-10c,cell-10d -->
			<?php if ($showRow10) : ?>
			<div id="row10">
				<div class="row10-inner container_<?php echo $GridContainer; ?> clearfix">
 
					<div class="cell-10a grid_<?php echo $Cellrow10Width; ?> ">
						<div class="cell-10a-inner">
							<img class="pngfix" src="templates/deals_plazza/images/logofooter2.png" border="0" style="margin:0 5px;" alt="logo footer" width="20" height="20" /> Designed by <a href="http://www.templateplazza.com" target="_blank"><strong> TemplatePlazza</strong></a> - All Rights Reserved
					    	<jdoc:include type="modules" name="cell-10a" style="box" />
					    </div>
					</div>
 
 
					<?php if ($showCell10b) : ?>
					<div class="cell-10b grid_<?php echo $Cellrow10Width; ?> ">
						<div class="cell-10b-inner">
					    	<jdoc:include type="modules" name="cell-10b" style="box" />
					    </div>
					</div>
					<?php endif; ?>
 
					<?php if ($showCell10c) : ?>
					<div class="cell-10c grid_<?php echo $Cellrow10Width; ?> ">
						<div class="cell-10c-inner">
					    	<jdoc:include type="modules" name="cell-10c" style="box" />
					    </div>
					</div>
					<?php endif; ?>
 
					<?php if ($showCell10d) : ?>
					<div class="cell-10d grid_<?php echo $Cellrow10Width; ?> ">
						<div class="cell-10d-inner">
					    	<jdoc:include type="modules" name="cell-10d" style="box" />
					    </div>
					</div>
					<?php endif; ?>
				</div>
			</div><!-- /end row10 -->
			<?php endif; ?>

then in logic.php you need to do some changes

start at line 106, make it to look
$showCell10a = $this->countModules($cell10aname);
$showCell10b = $this->countModules($cell10bname);
$showCell10c = $this->countModules($cell10cname);
$showCell10d = $this->countModules($cell10dname);

then start at line 169 edit to
$CountRow10 = $showRow10 = $showCell10a + $showCell10b + $showCell10c + $showCell10d; if ($showRow10>=1) : $showRow10=1; endif;

Hope that's all...have a try...
11 years 5 months ago #2 by erwinschro

Please Log in or Create an account to join the conversation.

Powered by Kunena Forum