I'm interested in using slidebox on a D7 site, but can't figure out how to get it up and running.

I first tried with the 7.x-2.0-beta3 version, but on the configuration page I did not see the "Content Types" field (which I did when trying the 7.x-1.6 version). However, using the 7.x-1.6 version I'm still not seeing the slidebox on any selected content types.

Is there a set of instructions anywhere for how to set this up? I have a feeling I should be creating a view to insert into a block, and pulling the current node from an argument so that I can get the correct "next" and "previous". Then put that block view into the slidebox region? Do I also need to create a slidebox region in my page.tpl.php in the theme, or is that being handled elsewhere?

Thanks!

Comments

Anonymous’s picture

The region is automatically created via the Regions API, so you will just need to create a View and have it display in that region. Going the standard route of creating a block in Views and assigning it to the Slidebox region works, as does using the Context module or any other option to choose what is displayed in a particular region.

Matthew OMalley’s picture

Thanks Brian. I currently have the 1.6 version installed, and it isn't creating a region. Is it the 2.0 version that creates the region? Or is it because I have custom regions defined in the theme's .info file that the slidebox region isn't being created?

Anonymous’s picture

The 2.0 branch uses the Regions module to dynamically define the region. There shouldn't be any interference with custom regions in a theme's .info file.

Matthew OMalley’s picture

Ok, I've gotten the 2.0 branch running on the site, but the slidebox doesn't seem to be appearing. Here the URL where the block is supposed to appear:
http://www.cleanenergyresourceteams.org/blog/get-your-sustainable-enterp...
The slidebox css and js is appearing in the source, as is a div with the id "slidebox_trigger", but I don't see the slidebox - I don't know if it's an issue with another module interfering, or something else?

Anonymous’s picture

Title: Documentation request » Uncaught TypeError: Cannot read property 'showTime' of undefined
Component: Documentation » Code
Category: Support request » Bug report
Issue summary: View changes

Can you try without CSS/JS aggregation and see if it is still an issue?

Updated title to reflect current issue and marked it as a bug.

Anonymous’s picture

Status: Active » Closed (works as designed)

This is cause by not enabling the "View Slidebox region" permission provided by the Regions module.