Allow admin to change the footer menu links to URL/files other than the defaults

Bug #809694 reported by Carson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Fix Released
Wishlist
François Marier

Bug Description

On the admin/site/menu.php page, an administrator can enable or disable any footer menu items, but they cannot provide their own links other than the default hardcoded pages, i.e. terms.php, privacy.php, about.php, and contact.php. It may be desirable in some schools to be able to specify an url, for example, for the 'Terms and Conditions' page that is applicable to all the web applications throughout the school. So that, when the school updates the terms in the page, the administrator does not run the risk of forgetting to change the Mahara's terms.php page.

Tags: newfeature
Revision history for this message
Carson (carsontam) wrote :

You can find my implementation of this feature here: https://gitorious.org/~carsontam/mahara/mahara-feature-customizable-footer-links/commit/f3037a177de55bc4aabf17dcad366c0c5640649e

Let me know if this is useful to you.

Thanks!

Revision history for this message
Carson (carsontam) wrote :

And this is a screenshot of the change.

Changed in mahara:
importance: Undecided → Wishlist
status: New → Triaged
Revision history for this message
François Marier (fmarier) wrote :

Hi Carson,

That sounds like a really good feature to have!

Would you be interested in submitting it through our code review system?

Here are some instructions on creating the right accounts:

  https://wiki.mahara.org/index.php/Developer_Area/Developer_Tools

and here is how to submit your changes:

  https://wiki.mahara.org/index.php/Developer_Area/Contributing_Code

Cheers,
Francois

Revision history for this message
Kristina Hoeppner (kris-hoeppner) wrote :

Hi Carson,

It would be great if you submitted your change to the code review system that Francois mentioned. That way your change would make it into Mahara core. All additions to Mahara core go through this review system so ensure that at least 2 other people have looked at it.

As you are already a gitorius user, I doubt this will be difficult for you to do.

Cheers
Kristina

Revision history for this message
François Marier (fmarier) wrote :
Changed in mahara:
status: Triaged → In Progress
Changed in mahara:
milestone: none → 1.5.0
assignee: nobody → François Marier (fmarier)
Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

Reviewed: https://reviews.mahara.org/472
Committed: http://gitorious.org/mahara/mahara/commit/43e259114f969f6a4fa605eb81355567a0caec2d
Submitter: Hugh Davenport (<email address hidden>)
Branch: master

commit 43e259114f969f6a4fa605eb81355567a0caec2d
Author: Carson Tam <email address hidden>
Date: Tue Jul 12 17:10:43 2011 -0700

    Implemented custom links for footer menu (bug #809694)

    Allow administrators to provide their own links for the following
    links in the footer:

    terms.php
    privacy.php
    about.php
    contact.php

    Signed-off-by: Carson Tam <email address hidden>
    Change-Id: I90d2eba97bede9eca55799b1af21ae11cb4444e9

Revision history for this message
François Marier (fmarier) wrote :

Thanks for the patch Carson!

Your feature will be in 1.5.0.

Changed in mahara:
status: In Progress → Fix Committed
Revision history for this message
Carson (carsontam) wrote :

Francois, thank you very much for making the necessary changes! Cheers.

Revision history for this message
Dominique-Alain JAN (dajan) wrote :

François,

I think this is a good feature I discover now... but... having the new settings in another section than "Edit site page" makes me think this is not coherent.

Couldn't we revise this to manage Site Pages, internal or external, on the same settings form ?

tags: added: newfeature
Revision history for this message
Melissa Draper (melissa) wrote :

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

 status fixreleased
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJPjrXHAAoJECXBtiziiXdcU94IALII/v8XTSOgD0jBkOXYzDms
uLkrvC+Z5YqYhQVjIR5cVYg7X3SJPUjuaorS2uVVfIkGlz+38KdZdczOYV+JaNQV
S8aVo/Rqrsx8h6fKtVAgTl8bd1CCMos1YnrOTNvqoYSOV2iGSSX/paQf6R9BjDbz
hx6GM7pkUp/gOa3Zqo+E6NfUrMWASanjbh9kbHdm09L7/10f7a5Q9w2Cf5o1yjC7
xqM9hEbPe32C9tBBcXDGPzQDFpJ6b6Rys2dzt6NTNkv2FCyzKS4RLwGDUDRNBEEZ
iYxQ5wJJaxW+/RO8k4lGYSo7Mtt99aIxhkQX7DKxcEoOSNMdPUi9ptwjolgG4iI=
=AeF+
-----END PGP SIGNATURE-----

Changed in mahara:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.