Hi; Thanks for this.

I'm trying to use the slideshow plugin style for a profile panel content type. Everything is looking great except that for some reason the order doesn't work.

The profile is made up of 7 text fields (including the Body). I placed these 7 fields into an area in my panel and set the plugin style. I set Random to "False", but somehow everytime I reload the same profile, a different section shows first, and they never seem to scroll in the same order.

I went into my content type and made sure that my text areas are in the right order for how I want them to appear, cleared my cache, double checked and re-saved the panel's order, and all to no avail - they are still appearing to be random. How can I fix this?

Comments

erik seifert’s picture

Assigned: Unassigned » erik seifert
Status: Active » Needs review

Yes jquery.cycle is type safe ;- )

Add this line in slideshow.inc ( Should be line 124 )

<?php
function theme_bc_panel_bonus_slideshow_style_render_pane($display, $region_id, $panes, $settings) {
	$settings['style_display']['random'] = (int)  $settings['style_display']['random'] ;
    /* .... .... */
}
?>

I will add a patch as soon as possible

Fanaile’s picture

Awesome, it seems to work perfectly :)

Thanks!

Fanaile’s picture

If you don't mind helping a semi-newbie - I've never written a patch before and I would like to learn. Since this seems to be a small fix, I thought maybe this would be a good one to learn on?

erik seifert’s picture

You are familiar with git ?

See here http://drupal.org/node/707484

Fanaile’s picture

Ah, no... I knew you needed Git access to do commits and the like, I hadn't realized it was also needed to write the patches.

Sorry.

erik seifert’s picture

Version: 6.x-1.0-beta3 » 6.x-1.0-beta4
Status: Needs review » Closed (fixed)

Commited in beta4 and dev