- Posts: 163
- Thank you received: 1
above content, below content ??
-
maryswave
Inactive member - Topic Author
- Member
Less
More
11 years 6 months ago #30435
by maryswave
above content, below content ?? was created 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?
what I really want though is to have above content split into two blocks side by side is that possible?
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
11 years 6 months ago #30441
by ivan.milic
Replied by ivan.milic on topic above content, below content ??
Not sure what you say but here is complete map:
demo.hotjoomlatemplates.com/wedding/inde...res/module-positions
demo.hotjoomlatemplates.com/wedding/inde...res/module-positions
Please Log in to join the conversation.
-
fdussaussoy
Inactive member - Member
Less
More
- Posts: 25
- Thank you received: 0
10 years 11 months ago #35717
by fdussaussoy
Replied by fdussaussoy on topic above content, below content ??
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,
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 to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
10 years 11 months ago #35725
by ivan.milic
Replied by ivan.milic on topic above content, below content ??
In index.php of template , near line 214 you will see:
change
elseif($showright && $showleft)
to
else
Code:
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 to join the conversation.
-
fdussaussoy
Inactive member - Member
Less
More
- Posts: 25
- Thank you received: 0
10 years 11 months ago #35728
by fdussaussoy
Replied by fdussaussoy on topic above content, below content ??
Sorry Ivan, it doesn't work, I have another "else" below the "elseif bloc" you mentionned :
Code:
<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">
</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">
</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 to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
10 years 11 months ago #35733
by ivan.milic
Replied by ivan.milic on topic above content, below content ??
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.
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 to join the conversation.
Time to create page: 0.098 seconds