Forums | Mahara Community
Support
/
Adding a new "page"
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
03 May 2011, 22:04
I've managed to make a new page available in the Footer Links section. Here's what I did.
- Manually add a new record to the "site_content" table in the database
- Add the name of the new page to the array in site_content_pages() in web.php
- 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.
- Add new page as an element in "footer_menu()" in web.php
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