The right way to add HTML page to bottom menu

Hi. In the bottom menu we have About us, Privacy, Terms etc.

These buttons in the bottom menu reference PHP files. Looking at the PHP files they are coded in such a way as to get the content from language keys.

I believe it's done this way to fit in with the site structure ie. keeping the header and footer while displaying the content in the middle of the page.

I wish to add my own HTML formatted content to a "New Item".

Should I just:

  1. clone one of the php files
  2. add _blah_H and _blah_H1 language keys
  3. change / keep the "page['name_index'] to 17 or 18 (not sure what that does)
  4. copy/modify the function at the bottom for "PageCompPageMainCode"

Or would I do something else?

Thanks.

Quote · 18 Jun 2016

Yes. Exactly.

However you should not need to change the page index. That number basically just tells dolphin which template file to use.

Best php file to use as a clone would be help.php.

https://www.deanbassett.com
Quote · 18 Jun 2016

Hi Deano. Thank you kindly. Will do this now. Much appreciated.

Quote · 18 Jun 2016

You could create a new page and link to it.

Cool

http://meta-travel.com/page/About

~~~~~~~~~~~~~~~~~~~~~~
MichelMeta-Travel.com
~~~~~~~~~~~~~~~~~~~~~~

TravelNotes.org - The Online Guide to Travel
Quote · 19 Jun 2016

That's actually a good point. Thanks Michel.

You could create a new page and link to it.

Cool

Quote · 19 Jun 2016
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.