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.
For starters, thank you for this polished theme.
I installed the separate Bamboo slideshow feature and it works, but I'd like to recommend a few small improvements.
- Content links are nice, but one might also want to link to a particular path (view, contact page, etc.)
- Linked content links point to the un-aliased path (e.g. node/x) not the alias, which I suppose might a problem with the entity reference module. This is not optimal for SEO.
Comments
Comment #1
Danny EnglanderHi Thanks for using the Bamboo slideshow. That's all doable, some things are within scope and some not, you may need to add some additional functionality. I wanted to keep the slideshow Feature lightweight so I did not want to add too many dependencies, there's enough as it is.
-- Have a look at the field settings for the
field_content_link_reference
-- there's a whole host of options there including using Views.You can also add other content types. Beyond that, a clever site builder / themer will know how to do this.-- That's not an issue with the Feature, you probably need to install the Global Redirect module which will take you from node/x to the friendly URL. You may also need the Pathauto module as well. From the Global redirect project page:
Please note for future reference on the Bamboo slideshow project page:
Comment #2
marktheshark CreditAttribution: marktheshark commentedThanks for your swift response.
I'm guessing I'll have to tinker with the Link module.
I have both the Global Redirect module and the Pathauto module. The problem is that the link itself is not replaced with the alias. I'll check the Entity Reference Module issue queue.
Apologies for not having noticed where to ask for support for this feature.
Comment #3
Danny EnglanderJust as an addendum here, in regard to the path alias showing up as node/x in the link, I don't think it's an issue for Google. I've used this method often and in the end all Google cares about is the end result URL which is
example.com/my-nice-url
which is what is indexed. That's the whole point of the Global Redirect module anyway.Comment #4
marktheshark CreditAttribution: marktheshark commentedAs a note for anyone interested in doing the same, I added a Link field to the Bamboo Featured Content Type, then changed the view block to display that field instead of the content reference and reused the style options from the pre-existing field so that the same CSS rules apply. The end result is identical and allows for linking to any path.
Comment #5
Danny EnglanderThanks, you've got me thinking about this now and I might add that as an option in the future. Initially I considered using your method but I wanted it to be a bit more user friendly.
Comment #6
marktheshark CreditAttribution: marktheshark commentedThat's understandable. Just for the sake of conversation, another improvement for an even more complete slideshow solution would be to add slide sorting functionality. I'm currently using Nodequeue to sort my slides and have modified the view to take the queue position into account.
I suppose Features could also export a default queue for the slides and a dependency could be added to the Nodequeue module. This is kind of out of scope I suppose, nevertheless, this feature might inspire a fully configurable slideshow feature in the future, not intended only for the Bamboo theme.