Wildcat Media
Well-known member
Since we don't have a WYSIWYG text editor, I am trying to come up with a way to display a nicely formatted page that is easy for myself and the staff to maintain.
My idea is to create a new node, not listed in the node tree, yet still publicly viewable (view node permission is "yes"). Within that, we create a thread where the first post in the thread has the documentation we want for a specific page.
When creating a page node, we can use template syntax. That gives me an idea. Why can't I use template syntax to return the fully formatted body of the first post in one thread to display as the contents of the page? I don't need thread title, reactions, etc., nothing at all except the post body. I've poked at it by borrowing some code from a couple of the templates (I'm thinking
Is this even possible? Has anyone ever tried this? My coding days are past, so trying to write something from the ground up likely won't happen. But even if I can get a hint as to what parts of existing templates I might need, that might help out a little.
My idea is to create a new node, not listed in the node tree, yet still publicly viewable (view node permission is "yes"). Within that, we create a thread where the first post in the thread has the documentation we want for a specific page.
When creating a page node, we can use template syntax. That gives me an idea. Why can't I use template syntax to return the fully formatted body of the first post in one thread to display as the contents of the page? I don't need thread title, reactions, etc., nothing at all except the post body. I've poked at it by borrowing some code from a couple of the templates (I'm thinking
message_macros
probably has something I can modify and use), but I didn't get anywhere. Essentially, my solution would include a variable where I could enter the post number (and thread number if needed), and display only that post.Is this even possible? Has anyone ever tried this? My coding days are past, so trying to write something from the ground up likely won't happen. But even if I can get a hint as to what parts of existing templates I might need, that might help out a little.