After an outage on September 1, the Instructure Community is now fully available, including guides, release notes, forums, and groups. If some styling still looks unusual, clear your cache and cookies.
Found this content helpful? Log in or sign up to leave a like!
Hi!
Is it possible to hide, with the layout tools or with HTML, certain parts of a page so that students can't see it yet.
I want to be able to create a page and keep certain parts, which are not yet final for viewing, hidden to continue working on later. I could, as a work-around, keep this parts in another page which is not online. But with multiple pages, where certain parts are in progress, this can become complicated.
If this is not a feature, maybe it's worth adding ?
Yes. go into the html view mode. at the point where you want to hide content, use the html comment start of <!-- then at the end of the area use --> to stop the comment. This will keep the information from displaying. Of course the students could always look at the page content in their browser and see the information that way (if they were so inclined or curious enough).
This works, up to a point, in that it hides the contents from the Canvas site designer. They would need to know the comments exist and look for them in the html code. Instructure should get their act together and provide something more effective, come on, my university is paying thousands for this product.
COMMENTING HTML DOES NOT WORK.
As others note below (and any user can confirm by trying it themselves). Canvas strips all HTML comments when you save, so anything you commented out will be deleted. Please consider updating your post to reflect that this untried suggestion is ineffective.
Did you not read the rest of the thread on this particular post? That issue came up and as you state so did I and the original poster. These are discussion forums and sometimes you have back and forth conversations that arrive at a solution - or in this case no easy solution. Most posts on here are from users of Canvas. Community Coaches work on behalf of Canvas, but they are still just users of the product with a good feel of how to answer questions. next time read the entire post. Also, what is your solution? any ideas?
Ron
Ah yes, off course. Commenting out the content is indeed an option. Thanks! Should have know that 🙂
Would be nice if it's a feature in the toolbar; to be able to select a region which makes it hidden also in html code.
You are welcome. I did not think about that nice addition that could be added to a drop down. I use it occasionally in a text editor I use for writing code.
However, fortunately it is not too bad to go the html route. The hardest part is finding where the comment section is to start and where it is to end.
True!
Hi ! I need to come back to this because using <!-- and --> to comment out certain parts does not seem to be a fix for my issue. Using this code not only hides the content between these tags but deletes the content between those tags. It seems that when the HTML editor encounters these tags it removes the content in between. If you save the HTML editing and review the code again with the HTML editor, the code is completely removed.
Well that is interesting. I don't think I tried it out in Canvas to see if the code was removed. I do it occasionally in some other pages(outside of Canvas) I have for students to see and the comments work fine. I just checked it out in Canvas and you are correct, Canvas strips out the comments. Well so much for the simple solution.
Indeed! 😁 I think I'm out of options now .. I'm using a duplicate page now and edit this with HTML editor to add unfinished parts. When it's complete I copy/paste the complete page to Canvas.
I guess they left out the hiding tags for the reason you mentioned; it's still viewable in a browser in Developer mode.
To interact with Panda Bot, our automated chatbot, you need to sign up or log in:
Sign inTo interact with Panda Bot, our automated chatbot, you need to sign up or log in:
Sign in