VISIT AND LIKE OUR PAGE ON FACEBOOK
TAKE A LOOK AT OUR TWEETS ON TWITTER
SUBSCRIBE TO THE JOOMFREAK RSS FEED
VISIT OUR CHANNEL ON YOUTUBE

Account Details

Change your name, email, password or permanently delete your account. Change settings

We offer several ways you can get support from our experts: Support ForumKnowledgebaseNewsletter

Your Forum Posts

No posts to display.

Welcome, Guest
Username Password: Remember me

Add positions in template
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: Add positions in template

Add positions in template 18 Aug 2013 01:13 #2768

Hello
I could tell as adding more positions? that file modified?
thanks

  • Posts:2
  • vivv
  • Fresh Boarder
  • OFFLINE
  • Karma: 0

Re: Add positions in template 19 Aug 2013 00:17 #2771

ready

Assuming that the new position is called "lat2"
then

Index.php template
add this code in the place where you want the new position

< jdoc:include type="modules" name="lat2" / > ( remove spaces before and after < > )

I add below

<div class="main clearfix">
< jdoc:include type="modules" name="lat2" / > ( remove spaces before and after < > )


----------------------
And templateDetails.xml

add the new position

<positions>
<position>logo</position>
<position>mainmenu</position>
<position>lat2</position>
<position>slideshow</position>
<position>testimonial</position>
<position>bottom</position>
<position>home-c-l</position>
<position>home-c-r</position>
<position>latest</position>
<position>news</position>
<position>contact</position>
<position>footer</position>
<position>debug</position>
</positions>

------------------

This code lets give it another css style but hard to find a place to locate it near the header to put another menu (which was my case)


<?php if($this->countModules('lat2')) : ?>
<div id="lat2">
<div class="main clearfix">
< jdoc:include type="modules" name="lat2" style="xhtml" / > ( remove spaces before and after < > )
</div>
</div>
<?php endif; ?>



Sorry for my English! thank google translator
Last Edit: 19 Aug 2013 00:52 by vivv.

  • Posts:2
  • vivv
  • Fresh Boarder
  • OFFLINE
  • Karma: 0

Re: Add positions in template 19 Aug 2013 11:45 #2776

And what's your problem here? You can add your style in every css file which is in this template included.

  • Posts:502
  • theres no place like joomfreak.com
  • m.freak
  • Platinum Boarder
  • OFFLINE
  • Karma: 0

Re: Add positions in template 15 Nov 2013 18:28 #3388

Hello all, i don't have position testimonial, it is not listed, its the only one which is missing.

thank you for your help

  • Posts:3
  • caponski
  • Fresh Boarder
  • OFFLINE
  • Karma: 0
  • Page:
  • 1
Time to create page: 0.83 seconds
Tuesday 17 September 2019

joomfreak is not affiliated with or endorsed by the Joomla Project or Open Source Matters.
The Joomla logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.