Hello. I am new to Umbraco and I need to be able to expand collapsed tables in an RTE for the Content Editors to work with. The javascript is disabled in the RTE so each table cannot expand in order for the Content Editors to access all the content. The javascript uses slideToggle which by default is display:none; . How do I code this page in order to access all of the content in the RTE? Thanks!
Is this used as an accordion? I'd usually not just use a single RTE but rather a nested content list (or if you're on an older version of Umbraco either some kind of package that provides this or child content blocks) and then render the content on the front end with the display none and associated JS.
Thanks for the feedback. I'm not sure how to achieve a nested content list. I've been looking for a way to associate textbox inputs into my HTML but haven't found the solution, yet. If I could get a nested content list that would be the best solution. Are you talking about several RTE's, macros or partial views?
I would not do that. Check out Nested Content instead. That way, you can create a doctype ie. "State info", with the properties needed ie. "License Renewal Deadline", "CPE Reporting Period" etc.
Then you create a Nested Content property instead of your RTE, using the State info doctype as the content. Your editors can then add a state, fill out the necessary content, and you get to define how it works in the frontend.
You don't need to worry about editors changing/deleting the script, and editors don't need to worry about where in the table they have to edit.
Expand collapsed tables in RTE
Hello. I am new to Umbraco and I need to be able to expand collapsed tables in an RTE for the Content Editors to work with. The javascript is disabled in the RTE so each table cannot expand in order for the Content Editors to access all the content. The javascript uses slideToggle which by default is display:none; . How do I code this page in order to access all of the content in the RTE? Thanks!
Hi,
Is this used as an accordion? I'd usually not just use a single RTE but rather a nested content list (or if you're on an older version of Umbraco either some kind of package that provides this or child content blocks) and then render the content on the front end with the display none and associated JS.
Steve
HI Steve,
Thanks for the feedback. I'm not sure how to achieve a nested content list. I've been looking for a way to associate textbox inputs into my HTML but haven't found the solution, yet. If I could get a nested content list that would be the best solution. Are you talking about several RTE's, macros or partial views?
Thanks!
Kevin
ALABAMA
Alabama License Renewal Deadline: 9/30 annually
Alabama CPE Reporting Period: 10/1 to 9/30 annually
Alabama Total CPE Hours Required: 40 Hours
Ethics Requirement: None
Other Subject Area Requirement: 8 hours in Accounting and Auditing
Alabama State Board of Public Accountancy
Do you add all that code in the RTE?
I would not do that. Check out Nested Content instead. That way, you can create a doctype ie. "State info", with the properties needed ie. "License Renewal Deadline", "CPE Reporting Period" etc.
Then you create a Nested Content property instead of your RTE, using the State info doctype as the content. Your editors can then add a state, fill out the necessary content, and you get to define how it works in the frontend.
You don't need to worry about editors changing/deleting the script, and editors don't need to worry about where in the table they have to edit.
Thank you, Soren. I will do that. I didn't realize that what Steve mentioned is a nested content property. I'll try that.
is working on a reply...