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

[RESOLVED]JFslideshow beahaviour if isn't default
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: [RESOLVED]JFslideshow beahaviour if isn't default

[RESOLVED]JFslideshow beahaviour if isn't default 04 Nov 2014 19:17 #5689

Hello, I'm back again...
The problem is: I need another JFslideshow in another page (same structure as the home page in the template).
It works well except for the presence of a frame, this frame is the wrapper-bg class that disappears when you choose that page like default (i.e. i tried to remove the default attribute in home and appears the wrapper-bg class on the screen.)
I saw that the reason is the if before the #wrapper-bg div: if($menu->getActive()!=$menu->getDefault())
but how i can "expand" the if to a ristrict number of pages; how i can instantiate the single voices of menu on php (a call like: $menu->getThisPage(<nme> or <id>) ??
Best wishes!
Last Edit: 06 Nov 2014 10:14 by pavva91.

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

Re: JFslideshow's behaviour if his page is not default 06 Nov 2014 04:43 #5698

Hi,
You tried edit in index.php (in templates)

if($menu->getActive()!=$menu->getDefault() || jRequest::getVar("Itemid") == X )

X: is itemid of page need show.

joomfreak
Last Edit: 06 Nov 2014 04:46 by isupport.
The following user(s) said Thank You: pavva91

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

Re: JFslideshow's behaviour if his page is not default 06 Nov 2014 10:11 #5706

Thank you so much!
Have a nice day!

  • Posts:5
  • pavva91
  • Fresh Boarder
  • OFFLINE
  • Karma: 0
  • Page:
  • 1
Time to create page: 0.72 seconds
Friday 23 August 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.