fbpx

Celebrate JD Builder's Birthday with 25% discount! 1STBDAYGrab Now

Welcome, Guest
Username: Password: Remember me

TOPIC: One more topic about positions

One more topic about positions 3 years 10 months ago #602

  • 1303i
  • 1303i's Avatar
Hi!
I try to place modules in positions as it is shown here:
demo.joomdev.com/atlanta/
But all positions below main content are shown above it!
Why??
See my example - main content and photos in module in position JD-position1.
I tried "mainbottom", "extension", "jd-position".
"bottom" is ok, but i need one more position between main content and bottom.
Attachments:
The administrator has disabled public write access.

One more topic about positions 3 years 10 months ago #610

  • chandandeep
  • chandandeep's Avatar
  • Offline
  • Administrator
  • Posts: 3636
  • Thank you received: 553
  • Karma: 98
Hi There,

Try this code below to create a position. Paste in template root index.php and replace yourposition in the code with your custom position

Path :
templates/jd_atlanta/index.php

Past in index.php
	<?php /** Begin yourposition **/ if ($gantry->countModules('yourposition')) : ?>
		<div id="rt-yourposition">
			<div class="rt-container">
				<?php echo $gantry->displayModules('yourposition','standard','standard'); ?>
				<div class="clear"></div>
			</div>
		</div>
	<?php /** End yourposition **/ endif; ?>

And Define your custom position in file below
Path : templates/jd_atlanta/templateDetails.xml

Screenshot: screencast.com/t/zYtkZuFE7

Thanks
Thank You,
If you like our support and products, tweet us at joomdev and let the world know about it.

To know more about products check out the their documentation.
The administrator has disabled public write access.

One more topic about positions 3 years 10 months ago #613

  • 1303i
  • 1303i's Avatar
Thanks! It works. Only in template manager i don't see my position to select background etc.
Attachments:
The administrator has disabled public write access.
Moderators: chandandeep
Time to create page: 0.282 seconds