Forums | Mahara Community

Support /
Adding a new "page"


anonymous profile picture
Account deleted
Posts: 22

26 April 2011, 11:40

Hi there,

I would like to add a new page similar to what Mahara has for their home, terms and conditions, etc. pages.

I would then like to have these new pages be available in the "site pages" edit and available for use or to view (either publicly or login accesssible)

How do I do that? Or the best way of achieving it anyway.

thanks

 

 

anonymous profile picture
Account deleted
Posts: 6

03 May 2011, 22:04

I've managed to make a new page available in the Footer Links section. Here's what I did.

  1. Manually add a new record to the "site_content" table in the database
  2. Add the name of the new page to the array in site_content_pages() in web.php
  3. Copy one of the "static" page files (eg contact.php) and edit the "define TITLE" line and change get_site_page_content() to the name of the new page.
  4. Add new page as an element in "footer_menu()" in web.php
anonymous profile picture
Account deleted
Posts: 19

18 July 2011, 7:42

Hi there,
I am very new to MAHARA and I am trying to do same thing. I am trying to make a new page in MAHARA, in which I am trying to give some independent coding and also want to include an another php page or an iframe.
I tried to follow the steps given here, but it also didn't work for me.
Any suggestion..

Thanks in advance..
Regards..
Siddharth

3 results