3/5/2023 0 Comments Showhide templatePlease note: the code here should be straight-forward to follow assuming you are familiar with java 8 lambdas. Here is the code for TemplateRenderConditionUtil ![]() ![]() This gives readers the opportunity to choose whether or not to view content that they either may not be interested in (a long list of FAQ) or may spoil the game for them, by revealing objectives or elements of the game they have yet to discover for themselves. Here is what I arrived at: Īs you can see, I get the configured templatePath then pass it to TemplateRenderConditionUtil#isTemplate. This template is used to hide certain sections of article content in a 'Show/Hide' drop down bar. Now, I just need to write a render condition that will obtain the “item” param (page path) then from there I can get the page and its template and compare it to my specific template path. It has a visible property that oversees whether the child is remembered for the. In AEM 6.4, page properties are handled in a specific UI with a specific url: Using Visibility Widget Learn How To Show/Hide Widgets In Your Flutter Apps. 2 or content: required for simple form: The content to hide. Whether you’re just beginning your digital transformation journey or are well on your way, we invite you to explore our partnership with Adobe and our diverse capabilities in manufacturing and automotive.īack to my use case, I want to hide page property resources based on the template of the page authored. Showhide Parameter Scope Description 1 or header: required: The header text to display always visible. ![]() But given that the person who wrote the template is no longer active, I doubt it's possible to get much more information than that. Inspired Digital Experiences for Manufacturing & Automotive I would assume it's similar to wikipedia's ShowHide template.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |