Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi, thanks for this great theme. I've created a slideshow using views slideshow and now I wanted to replace it with the default slide show of your theme. can you please guide me how can I do that. I'll be truly grateful for your support. Thank you.
Comments
Comment #1
drupaal CreditAttribution: drupaal commentedjust wanted to add in my above request that I wanted to place my slideshow in the preface top region otherwise I tried switching to the Danblog theme and use the preface first region but I really wanted to use the preface top region for slideshow because I've other plans for preface first, second and third regions. Tnx.
Comment #2
danpros CreditAttribution: danpros commentedHi,
You can creating new region for the slideshow and placing the slideshow in there.
First replacing
With this, the preface top not printed (just an example)
Adding the new region in Danland info file
Or you can creating conditional statement like this, so if no block placing into "slideshow region" then it back to default slideshow
And placing the block there. The rest is CSS.
I will adding this in my next release.
Dan
Comment #3
drupaal CreditAttribution: drupaal commentedHi, thanks for the prompt reply. just wanted to clarify that this change will go into the page-front.tpl.php file, right? and secondly, when your new release is coming? Tnx.
Comment #4
drupaal CreditAttribution: drupaal commentedHi, just followed your suggestions and used that option conditional statement if "slideshow" region will have something then the default slide show will not show and it worked 99% :) except, I'm using thumb numbers for the sliders and they were showing at the bottom left side but now they are gone. can you help me bring them back and how can I place them over my slideshow's image? Tnx.
Comment #5
joostvdl CreditAttribution: joostvdl commentedFor Drupal 7 the changed code has to be:
Comment #6
verta CreditAttribution: verta commentedThanks for this code, I was wondering if there is a way in the conditional logic to only load the div class="slideshow" with the images into the browser only if the slideshow region is not being used? As an else on the if ($slideshow) perhaps?
Comment #7
lias CreditAttribution: lias commentedThanks for the code
Comment #8
drupaal CreditAttribution: drupaal commentedComment #10
ryan.gibson CreditAttribution: ryan.gibson commentedDid this region ever get created or do we still need to apply the code manually? If so, which file needs to have the code added to for Drupal 7?