ElkArte Community

General => Chit Chat => Topic started by: radu81 on August 24, 2015, 08:50:51 am

Title: Documentation on simpleportal.net
Post by: radu81 on August 24, 2015, 08:50:51 am
http://simpleportal.net/index.php?action=docs
Today I was browsing simpleportal.net documentation. I saw they use "action=docs" , is this the "Custom Action Mod" or something that can be done with SimplePortal? I'm afarid is the first one :(

I would like to create some similar pages on my forum
Title: Re: Documentation on simpleportal.net
Post by: radu81 on August 26, 2015, 02:16:36 am
nobody knows? maybe @[SiNaN] could give more information
Title: Re: Documentation on simpleportal.net
Post by: emanuele on August 26, 2015, 08:43:28 am
From what I remember it is likely a custom action (I think there is an addon around)...
Title: Re: Documentation on simpleportal.net
Post by: [SiNaN] on July 29, 2017, 02:19:44 pm
Although it has almost been two years, I'll just answer this question as a display of my appreciation for being mentioned for something other than the issues caused by my username breaking BBC parsing. :D

What we have at SimplePortal website for documentation is a manually created custom action which runs on just a few hundred lines of code. We have a hidden board in which we add documentation pages with their content as topics. Topic titles are used to define the order and hierarchy of pages. This custom code gets these topics, builds the menu structure, and prepares the page to be displayed. Almost all the work is done by the createMenu function; you just need to build the menu options correctly.
Title: Re: Documentation on simpleportal.net
Post by: radu81 on July 29, 2017, 03:46:09 pm
That's an interesting solution, why not sharing the code, I'm pretty sure will be useful ;)