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.


joomfreak-logo

It's time to pass this project on to someone passionate about continuing its journey. joomfreak offers a unique opportunity to build upon a well-established platform and keep providing the Joomla community with quality templates and tools.

If you're interested, we'd love to hear from you!
[email protected]

Welcome, Guest
Username Password: Remember me

Slideshow shows up while menu assignment is set
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: Slideshow shows up while menu assignment is set

Slideshow shows up while menu assignment is set 09 Mar 2017 12:54 #10041

Good afternoon,

I created a website using the JF Taman template. In this template I use the JF Slideshow module. (www.vitcserver/BenefietvoorNOP)

I want the slideshow to be shown only on the home page, not on any other page so I set the Module assignment on "On all pages except those selected" (see attachment).
Somehow the slideshow shows up in the home page (as expected) but also in 3 modules (Doelstellingen, Sponsoren and Beleidsplan). Is there a way to disable the slideshow in the modules too? It's no problem if I need to change the code of the slideshow module or any other, the layout of the website will never change again (only it's contents)

If I use "only on pages selected" the module shows up on even more pages.

I hope someone can tell me what goes wrong, probably it's something simple which I forgot.

With kind regards and many thanks,
Marchel Veneman
Attachments:
  • Attachment This attachment is hidden for guests. Please log in or register to see it.

  • Posts:7
  • VITC
  • Fresh Boarder
  • OFFLINE
  • Karma: 0

Re: Slideshow shows up while menu assignment is set 10 Mar 2017 03:22 #10046

Try to edit template file index.php, modify:
 
<?php if ($menu->getActive() == $menu->getDefault()) : ?>
<div id="jf-slideshow">
...
</div>
<?php endif; ?>
 

to:
 
<?php if($this->countModules('slideshow')) : ?>
<div id="jf-slideshow">
...
</div>
<?php endif; ?>
 


joomfreak

  • Posts:2940
  • isupport
  • Moderator
  • OFFLINE
  • Karma: 0

Re: Slideshow shows up while menu assignment is set 10 Mar 2017 11:54 #10047

Goodmorning,

I changed the index file but sadly this doesn't work.

If you have an option to forcefully remove the slider everywhere exept at the home page it's ok too.

With many thanks,
Marchel

  • Posts:7
  • VITC
  • Fresh Boarder
  • OFFLINE
  • Karma: 0
  • Page:
  • 1
Time to create page: 0.71 seconds
Thursday 14 November 2024

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.