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 your theme.
you mentioned that this theme has built-in automatic ScrollSpy navigation for content region, could you please advise how to use this feature?
Cheers
Comment | File | Size | Author |
---|
Comments
Comment #1
anydigital CreditAttribution: anydigital commentedHi NecroHill,
To use this feature you need to add anchors to headers in your content region. For example:
This code will produce a ScrollSpy navigation block with link to "Overview" heading.
Comment #2
anydigital CreditAttribution: anydigital commentedNOTE: In the new version of Tweme I separated ScrollSpy functionality into the separate module called Tweme UI. You can download both theme and module here: http://tonystar.ru/projects/tweme
Comment #3
anydigital CreditAttribution: anydigital commentedI'm going to publish supporting Tweme module after full project application process is finished for me.
Comment #4
anydigital CreditAttribution: anydigital commentedComment #6
Argus CreditAttribution: Argus commentedCool, now all we would need was a way to add the id's automatically. Any update on the tweme_ui application process?
Comment #7
Argus CreditAttribution: Argus commentedAh There's a module for that: use http://drupal.org/project/headerid :)
Comment #8
anydigital CreditAttribution: anydigital commentedThanks for the reference ;)
Comment #9
anydigital CreditAttribution: anydigital commentedFinally I did it!
Meet TwemeX - Tweme extension module with automatic ScrollSpy navigation block:
PS: I'm not sure that id's should be added automatically. May be I will add that as configurable option later.
Comment #10
Argus CreditAttribution: Argus commentedCool!
I agree auto-id's should be an option at best.