above content, below content ??

More
6 years 5 months ago #30435 by maryswave
the template demo says there are two positions above content and below content but when publishing a module there nothing shows up..

what I really want though is to have above content split into two blocks side by side is that possible?

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

More
6 years 5 months ago #30441 by ivan.milic
Not sure what you say but here is complete map:

demo.hotjoomlatemplates.com/wedding/inde...res/module-positions

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

More
5 years 11 months ago #35717 by fdussaussoy
Hi Ivan,

I think the problem is when you set position's module to "above content", it doesn't show.

I tried on home page. The "above content" module only shows when at least a right module position + a left module position is enable.
If there is only a left or only a right, "above content" is not visible.

Same thing for "below content"...

thank for your answer
regards,

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

More
5 years 11 months ago #35725 by ivan.milic
In index.php of template , near line 214 you will see:
elseif($showright && $showleft) { ?>
		<div class="container">
			<div class="four columns hotside">
				<jdoc:include type="modules" name="left" style="xhtml" />
			</div>
			<div class="eight columns hotcontent">
				<jdoc:include type="modules" name="abovecontent" style="xhtml" />
				<jdoc:include type="message" />
	        	<jdoc:include type="component" />
	        	<jdoc:include type="modules" name="belowcontent" style="xhtml" />
			</div>
			<div class="four columns hotside">
				<jdoc:include type="modules" name="right" style="xhtml" />
			</div>
		</div>

change

elseif($showright && $showleft)

to

else

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

More
5 years 11 months ago #35728 by fdussaussoy
Sorry Ivan, it doesn't work, I have another "else" below the "elseif bloc" you mentionned :
<div class="florals">
	<?php
	///////// main container

	// 'right' module only
	if($showright && !$showleft) { ?>
		<div class="container">
			<div class="ten columns hotcontent">
				<jdoc:include type="message" />
	        	<jdoc:include type="component" />
			</div>
			<div class="one columns">
				&nbsp;
			</div>
			<div class="five columns hotside">
				<jdoc:include type="modules" name="right" style="xhtml" />
			</div>
		</div>
	<?php

	// 'left' module only
	} elseif(!$showright && $showleft) { ?>
		<div class="container">
			<div class="five columns hotside">
				<jdoc:include type="modules" name="left" style="xhtml" />
			</div>
			<div class="one columns">
				&nbsp;
			</div>
			<div class="ten columns hotcontent">
				<jdoc:include type="message" />
	        	<jdoc:include type="component" />
			</div>
		</div>
	<?php

	// both 'left' and 'right' modules
	} elseif($showright && $showleft) { ?>
		<div class="container">
			<div class="four columns hotside">
				<jdoc:include type="modules" name="left" style="xhtml" />
			</div>
			<div class="eight columns hotcontent">
				<jdoc:include type="modules" name="abovecontent" style="xhtml" />
				<jdoc:include type="message" />
	        	<jdoc:include type="component" />
	        	<jdoc:include type="modules" name="belowcontent" style="xhtml" />
			</div>
			<div class="four columns hotside">
				<jdoc:include type="modules" name="right" style="xhtml" />
			</div>
		</div>
	<?php

	// no 'left' and 'right' modules
	} elseif(!$showright && !$showleft) { ?>
		<div class="container">
			<div class="sixteen columns hotcontent">
				<jdoc:include type="message" />
	        	<jdoc:include type="component" />
			</div>
		</div>
	<?php } ?>

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

More
5 years 11 months ago #35733 by ivan.milic
This is code from your index.php?


Just put

<jdoc:include type="modules" name="abovecontent" style="xhtml" />

above

<jdoc:include type="message" />

and below:

<jdoc:include type="component" />

put:

<jdoc:include type="modules" name="belowcontent" style="xhtml" />

in all if blocks.
The following user(s) said Thank You: fdussaussoy

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

Moderators: milos
Time to create page: 0.110 seconds