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

Re: slideshow position visibility 24 Mar 2014 10:24 #4334

Hi there...

I've the same problem but: the suggest to modify the file index.php in this way

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


works only if you are using the slideshow module.
But in my case the slideshow module is turned off cause I'm leaving hust the main picture (banner.jpg) as full screen imagine, without text.
And with only one language website it's perfect (both: the main imagine and the effect which make the menu from transparant to dark scrolling with the mouse).
But if I start with the multilanguage function disappear both.
Now I tried to change the file index but it's work only if You leave the module "slidshow" on and it's works with no effect on the main menù (which remain already dark)

How may I fix it?
Thanks
Bye

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

Re: slideshow position visibility 24 Mar 2014 11:50 #4337

I solved by myself. Here the solution (I wrote in italian but the main points are with the code so it will be easy to fix it if You need to use those suggests)

forum.joomla.it/index.php?topic=239236.msg1108729#msg1108729

Bye!

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

Re: slideshow position visibility 25 Mar 2014 18:06 #4343

joomfreak wrote:
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">
 
</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">
 
</div>
</div>
<?php endif; ?>


Bye



thanks for the info

Re: slideshow position visibility 26 Mar 2014 09:59 #4348

Yes but if you don't want to use the slideshow module avoiding the words in the main page (leaving a full screen imagine and saving the menù effect from transparent to dark) it's necessary to follow those instruction

forum.joomla.it/index.php?topic=239236.msg1108729#msg1108729

Byeeeeee

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

Re: slideshow position visibility 24 May 2016 02:41 #8862

Hi there Friend:
I just replaced the statement code in the index.php - line 128 (/templates/jf_calla-exteriors/index.php)
and it really worked. BUT... appears a white bar just at the bottom of the SLIDESHOW position, with this rule in its CSS: padding: 120px 0 60px;
That's the:
<div id="jf-content"> / <div>class="main clearfix"</div> / #jf-content .main {padding: 120px 0 60px;}
and the [padding: 0;] dissapears.
How can i quit that from the home page?, because if i eliminate this line (/*padding: 120px 0 60px;*/), the rest of the menu item pages will not match in the top.

here you got the link:
www.joaquinsalvador.com.pe/index.php/en/
Thanks in advance.

Vibesss !!!
J.C. Arana
Last Edit: 24 May 2016 05:30 by Karnatz.

  • Posts:20
  • Karnatz
  • Junior Boarder
  • OFFLINE
  • Karma: 0

Re: slideshow position visibility 24 May 2016 03:40 #8867

In the index.php (/templates/jf_calla-exteriors/index.php), try to modify:
 
if ($menu->getActive() == $menu->getDefault()) {
$bodyClass = ' home';
}
 

to:
 
$lang = JFactory::getLanguage();
if ($menu->getActive() == $menu->getDefault($lang->getTag())) {
$bodyClass = 'home ';
}
 


joomfreak
The following user(s) said Thank You: Karnatz

  • Posts:2940
  • isupport
  • Moderator
  • OFFLINE
  • Karma: 0
Time to create page: 1.32 seconds
Wednesday 24 April 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.