Hi

I am using viewfield to insert a views galleriffic styled view of a block in to a product node. This works great except that when I try to edit the node that the Views Galleriffic viewfield is embedded in my Collapsible fieldset regions are no longer expandable...see attached screenshot

So it appears that there is a conflict when used in conjunction with viewfield or something? the problem dissapears when i disable views galleriffic.

really love this module btw cheers for all your work.

thanks in advance

CommentFileSizeAuthor
js-fieldset-issue.png24.53 KBbecca08

Comments

acouch’s picture

I didn't have this problem with garland on Firefox or Chrome on Ubuntu.

What theme and browsers / os are you using?

SiteFish’s picture

Hi
I'm experiencing the same problem as becca08. I use Acquia Marina 6.1.3.0 beta1 and Firefox 3.6.6. Im also using jQuery plugins 6.x-1.10 and jQuery UI 6.x-1.3. (I also have a lot of OG modules installed.)
Switching to Garland or using IE doesn't seem to help. The fieldsets still won't expand.
Any idea what might cause the problem?
Thanks for a great module.

In IE jquery.galleriffic.js causes the following error message on row 505, position 5:
'index' is null or not an object

acouch’s picture

Version: 6.x-1.1 » 6.x-1.x-dev
Status: Active » Postponed (maintainer needs more info)

Can you retest with the latest version?

Can you create a new issue for the IE problem you have if that does not go away? Thanks!!!!

dirtysteak’s picture

I am seeing this issue as well, however I do not have to be in the 'edit' mode for my field to degrade and not expand/collapse.

I've got the 6.x-1.2 release from a few days ago, and drupal 6.20.

I have inserted my galleriffic view into my product.tpl file using the following code:

<?php
$view = views_get_view('landscape_plant_galleriffic');
print $view->execute_display('default', $args);
?>

To get the embedded view to display, I inserted this javascript at the top of my .tpl file

<script type="text/javascript">

jQuery(document).ready(function($) {
// We only want these styles applied when javascript is enabled
$('div.navigation').css({'float' : 'left'});
$('div.content-gallery').css('display', 'block');

// Initially set opacity on thumbs and add
// additional styling for hover effect on thumbs
var onMouseOutOpacity = 0.67;
$('#thumbs ul.thumbs li').opacityrollover({
mouseOutOpacity:   onMouseOutOpacity,
mouseOverOpacity:  1.0,
fadeSpeed:         'fast',
exemptionSelector: '.selected'
});

// Initialize Advanced Galleriffic Gallery
var gallery = $('#thumbs').galleriffic({
delay:                     55000,
numThumbs:                 4,
preloadAhead:              4,
enableTopPager:            true,
enableBottomPager:         true,
maxPagesToShow:            4,
imageContainerSel:         '#slideshow',
controlsContainerSel:      '#controls',
captionContainerSel:       '#caption',
loadingContainerSel:       '#loading',
renderSSControls:          true,
renderNavControls:         true,
playLinkText:              'Play Slideshow',
pauseLinkText:             'Pause Slideshow',
prevLinkText:              'previous',
nextLinkText:              'next',
nextPageLinkText:          'Next &rsaquo;',
prevPageLinkText:          '&lsaquo; Prev',
enableHistory:             false,
autoStart:                 true,
syncTransitions:           true,
defaultTransitionDuration: 900,
onSlideChange:             function(prevIndex, nextIndex) {
// 'this' refers to the gallery, which is an extension of $('#thumbs')
this.find('ul.thumbs').children()
.eq(prevIndex).fadeTo('fast', onMouseOutOpacity).end()
.eq(nextIndex).fadeTo('fast', 1.0);
},
onPageTransitionOut:       function(callback) {
this.fadeTo('fast', 0.0, callback);
},
onPageTransitionIn:        function() {
this.fadeTo('fast', 1.0);
}
});
});

</script>

FYI, I also have the javascript below in the same region to control a popup on the page.

<SCRIPT LANGUAGE='JAVASCRIPT' TYPE='TEXT/JAVASCRIPT'>
<!--
var popupWindow=null;
function popup(mypage,myname,w,h,pos,infocus){

if (pos == 'random')
{LeftPosition=(screen.width)?Math.floor(Math.random()*(screen.width-w)):100;TopPosition=(screen.height)?Math.floor(Math.random()*((screen.height-h)-75)):100;}
else
{LeftPosition=(screen.width)?(screen.width-w)/2:100;TopPosition=(screen.height)?(screen.height-h)/2:100;}
settings='width='+ w + ',height='+ h + ',top=' + TopPosition + ',left=' + LeftPosition + ',scrollbars=no,location=no,directories=no,status=no,menubar=no,toolbar=no,resizable=no';popupWindow=window.open('',myname,settings);
if(infocus=='front'){popupWindow.focus();popupWindow.location=mypage;}
if(infocus=='back'){popupWindow.blur();popupWindow.location=mypage;popupWindow.blur();}

}
// -->
</script>

Let me know what other information would be helpful to try and track this down.

Thanks for the GREAT module.

dirtysteak’s picture

Status: Postponed (maintainer needs more info) » Needs review

I updated to the latest dev version and ran update.php...no progress.

acouch’s picture

Status: Needs review » Closed (duplicate)

Marking this as duplicate: #703760: Flag and Galleriffic

SiteFish’s picture

Problem solved with the patch described by gmclelland in his comment to the issue Flag and Galleriffic.

Maintainer acouch wrote on April 14, 2011 at 12:06am:

I committed this to 6.x and 7.x. Thanks for the work everyone. Will create a new release soon.

Looking forward to the new release and thanks for the excellent work.

tomdisher’s picture

Status: Needs work » Closed (duplicate)

Hello

I'm working with the newest version (6x-1.4) and I'm running into the same problem described above.

The patches in http://drupal.org/node/703760#comment-4011536 do not seem to help.

Any suggestions? I really like the module, but I need to have the collapsible fieldsets.

Edit - additional info

I also have a gmap on the page, which is broken by the module.

This is happening in chrome and firefox.

tomdisher’s picture

Status: Closed (duplicate) » Needs work
raulmuroc’s picture

Title: JS Collapsible fieldsets no longer expand in node edit form with Views Galleriffic enabled » JS Collapsible fieldsets no longer expand + Gmap broken with Views Galleriffic enabled
Priority: Normal » Major
Status: Closed (duplicate) » Active

Both:

1) JS Collapsible fieldsets no longer expand.
2) Gmap broken: "Javascript is required to view this map".

Needs solution.

vm’s picture

Status: Active » Closed (duplicate)