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

slideshow position visibility
(1 viewing) (1) Guest

TOPIC: slideshow position visibility

slideshow position visibility 28 Jun 2013 11:44 #2275

Is the slideshow position visible only on the main (home) page? In any other page if I assign any module to that position it does not show up...

Thanks, Max

  • Posts:6
  • maxmonte
  • Fresh Boarder
  • OFFLINE
  • Karma: 0

Re: slideshow position visibility 28 Jun 2013 12:40 #2277

Hi Max, in the file index.php of the template there is a if statement at line 128...

<?php
if ($menu->getActive() == $menu->getDefault()) : ?>
<div id="jf-slideshow">
<div class="main clearfix">
<jdoc:include type="modules" name="slideshow" />
</div>
</div>
<?php endif; ?>


This means the slideshow module position is called only on the default menu item (home).
To change this you simply have to replace the code like this:

<?php if($this->countModules('slideshow')) : ?>
<div id="jf-slideshow">
<div class="main clearfix">
<jdoc:include type="modules" name="slideshow" />
</div>
</div>
<?php endif; ?>


Bye
joomfreak | cause open source rocks
Last Edit: 03 Jul 2013 18:11 by joomfreak.
The following user(s) said Thank You: Karnatz

  • Posts:185
  • cause open source rocks
  • joomfreak
  • Administrator
  • OFFLINE
  • Karma: 0

Re: slideshow position visibility 28 Jun 2013 16:27 #2282

Got it! Thanks!!!

Soooo much to learn....

  • Posts:6
  • maxmonte
  • Fresh Boarder
  • OFFLINE
  • Karma: 0

Re: slideshow position visibility 26 Sep 2013 10:33 #3022

SENSATIONAL!

Now can you possibly tell us how we can then set a different image for each page?

I have some theories such as setting different default templates for each page but that could get tedious.

Any ideas?

  • Posts:5
  • mediatek
  • Fresh Boarder
  • OFFLINE
  • Karma: 0

Re: slideshow position visibility 30 Sep 2013 18:09 #3047

Hi
I have almost the same problem
after I activate the multi language sytem I can't see neither the slideshow nor the custom html
of course they are correctly pubblished in the slideshow position
I think I did every things well.
I have 3 menu
"all language" with home default
"main menu" for english
"menu principale" for Italian
both with home as default
then I have 2 language modules that are pubblished in mainmenu position
the language selection goes well but the slideshow and the custom html are disappeared
I followed the tread changing the index.php, but I did not resolved

  • Posts:37
  • peppeirace
  • Junior Boarder
  • OFFLINE
  • Karma: 0

Re: slideshow position visibility 20 Feb 2014 18:46 #4038

Is it possible that the moderator can solve the question of Mediatek? Same question here!
Much obliged.
Roel
Love JOOMLA!
Last Edit: 20 Feb 2014 18:48 by roel.

  • Posts:48
  • roel
  • Senior Boarder
  • OFFLINE
  • Karma: 0
Time to create page: 1.27 seconds
Wednesday 17 July 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.