Simple Machines Community Forum

General Community => Site Comments, Issues and Concerns => Topic started by: Angelina Belle on May 01, 2014, 01:25:21 PM

Title: Site pages suggestion: draw content from locked wiki page for some pages
Post by: Angelina Belle on May 01, 2014, 01:25:21 PM
Because some content appears both in the online documentation and in special pages of this website, it could be beneficial to ensure conformity by drawing this content from the same spot for both uses.

One suggestion is to put that content on a locked wiki page (so that only authorized team members can edit it), and use the wiki's render action to provide partial page content.

For example, http://wiki.simplemachines.org/smf/Requirements_and_recommendations/base?action=render
could provide the contents for http://download.simplemachines.org/requirements.php.
and also for the wiki page http://wiki.simplemachines.org/smf/Requirements_and_recommendations
(I made a mock-up of this here: http://wiki.simplemachines.org/smf/Requirements_and_recommendations/sandbox)
Title: Re: Site pages suggestion: draw content from locked wiki page for some pages
Post by: Oldiesmann on May 01, 2014, 02:25:57 PM
I'll have to look and see if that's possible without resorting to frames and such. Good idea though!
Title: Re: Site pages suggestion: draw content from locked wiki page for some pages
Post by: Angelina Belle on May 01, 2014, 02:41:21 PM
Thanks.  Hope it helps.  I was assuming there was some php involved in those pages.  Static is faster, but can be regenerated on demand.

* No HTML, <head>, or <body> tags in that output
* The edit tags on the section headers could be suppressed with __NOEDITSECTION__. And, of course, they would only appear to team members if the page were locked.