fbpx
Welcome, Guest
Username: Password: Remember me

TOPIC: Create new position in template

Create new position in template 3 years 11 months ago #330

  • Aguirre
  • Aguirre's Avatar
  • Offline
  • New Member
  • Posts: 2
  • Karma: 0
I need to create new positions in the mold of DJ ATLANTA . What files do I edit para to create new positions and must enter code ? to leave under subscription
The administrator has disabled public write access.

Create new position in template 3 years 11 months ago #334

  • Aguirre
  • Aguirre's Avatar
  • Offline
  • New Member
  • Posts: 2
  • Karma: 0
Solution:
URL= ...\templates\jd_atlanta\
Edit: templateDetails.xml

<position>mitad-a</position>
<position>mitad-b</position>
<position>mitad-c</position>
<position>mitad-d</position>
<position>mitad-e</position>
<position>mitad-f</position>




URL=...\templates\jd_atlanta\less
Edit: template.less


#rt-mitad{
background-size:cover;
background-repeat:no-repeat;
background-attachment:fixed;
background-position:top center;
}
.rt-container{ padding:100px 0; }
}



URL= ...\templates\jd_atlanta\
Edit: index.php

<?php /** Begin Mitad **/ if ($gantry->countModules('mitad')) : ?>
<?php
if($utilitybg!= 'transparent') { ?>
<div id="rt-mitad" style="background:<?php echo $utilitybg;?> no-repeat center top; background-size:cover;">
<?php } else{ ?>
<div id="rt-mitad">
<?php } ?>
<div class="rt-container">
<?php echo $gantry->displayModules('mitad','standard','standard'); ?>
<div class="clear"></div>
</div>
</div>
<?php /** End Mitad **/ endif; ?>
The administrator has disabled public write access.

Create new position in template 3 years 11 months ago #343

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

Please go through with the documentation link below.

docs.gantry.org/gantry4/customize/adding-module-positions

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.
Moderators: chandandeep
Time to create page: 0.292 seconds