Forum Discussion
Rise Learning Journal / Notes
WOW SamHill you literally ARE a super hero!
What I'm confused by is how did you "tell" the course where you wanted the notes icon to be? Am I missing something? I see
Added to each section with a `data-block-id` attribute
But how do you find that?
Sorry for the naive questions - I'm not all that literate with it comes to the back end part of things!
- SamHill4 months agoSuper Hero
You have to view the HTML source in your browser to see the data-block-id. You can do this by launching the Rise module and then right clicking the page and selecting "inspect element", or by hitting F12 to open the browser console and then selecting the elements tab. It varies between browsers, my instructions are based on chrome. As mentioned I did exclude some block types from the notes button.
- KateMackenzie4 months agoCommunity Member
Thanks- and then you can apply it to that particular block type universally?
- SamHill4 months agoSuper Hero
The script applies the button automatically. You just need to include the files (JS/CSS) and the journal buttons will appear on each block.
- ChrisLivermo4334 months agoCommunity Member
awesome work Sam... a query related to KateMackenzie's;
to hide the Notes button on a particular block, is it just a matter of setting the value of display to "none"? thanks
- SamHill4 months agoSuper Hero
There aren't configuration options to do that, but if you are comfortable with CSS you could do that.