Welcome to Geeklog Thursday, June 20 2019 @ 12:57 am EDT

Geeklog Forums

Mooticker & Moorotator layout advise needed


Status: offline

nicholas

Forum User
Junior
Registered: 20/10/07
Posts: 16
Hi GLlabs team,

I'm really sory to post this here instead of gllabs as for some reason gllabs is not allowing me to post forum from my IP. And I got really desperate with this....



My mooticker and moorotator play/backward/forward control buttons displays pefectly ok when I view from staticpages, but once I set it for "centerblock", it crumpled as above. I can still click on it though. Im using GLfusion.

Any ideas where I should look for the cause of problem?

Thanks a mil.
Nicholas

Status: offline

geiss

Forum User
Full Member
Registered: 10/02/04
Posts: 176
Location:Boise, Idaho
Hi nicholas,

The issue with the buttons is usually caused by a bad path to the blank image in the widget's javascript file. The reason is because the code is called from different places depending upon where you view it. In just a static page, I believe it is called from yoursite/staticpages/index.php, but when called as a centerblock, it comes from yoursite/index.php, which is one level higher in relation to where the layout folder is located. Confused

In layout/nouveau/js/gl_mooticker.js, try specifying an absolute path to blank.gif, like this:

PHP Formatted Code
blankimage:'http://yoursite.com/layout/nouveau/images/blank.gif'


Make sure to make the same change for the mooRotator js file as well. Big Grin

Hope this helps!

Eric
Synergy - Stability - Style --- Visit us at glfusion.org

Status: offline

nicholas

Forum User
Junior
Registered: 20/10/07
Posts: 16
Wow, thanks so much Eric for such a quick response. You were spot on. Everything works fine now.

Really appreciate it.
Nicholas.

All times are EDT. The time is now 12:57 am.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content