Forums | Mahara Community

Support /
Removing Student ID


anonymous profile picture
Account deleted
Posts: 7

11 December 2009, 10:21

Hi,

I am using Mahara as a Social Networking tool on people.bhavsarsamaj.com and finding a way for customizing profile fields like removing "Student ID" as its irrelevant in my application.

Please let me know how can i rename or remove it

Bye

Regards

anonymous profile picture
Account deleted
Posts: 5

17 December 2009, 20:51

i am also interested in removing the Student ID, I hope some one helps us out
anonymous profile picture
Account deleted
Posts: 808

17 December 2009, 21:37

Hi,

We may add an admin option for this at some point, but there isn't one yet. 

You can easily hide the studentid field from the edit profile page if you are willing to edit the code; just remove 'studentid' from the list that appears around line 148 of the file htdocs/artefact/internal/index.php. I don't think it will appear anywhere else on the site if no one edits it.

anonymous profile picture
Account deleted
Posts: 5

18 December 2009, 3:41

Hi Richard

lots of thanks, i was able to remove it.

anonymous profile picture
Account deleted
Posts: 7

18 December 2009, 5:01

Cool

Thanks.

Let me try

Smile

anonymous profile picture
Account deleted
Posts: 7

18 December 2009, 12:09

Removed studentid from the file you mentioned...

However I can still find it at the General Tab of Profile Edit

anonymous profile picture
Account deleted
Posts: 808

20 December 2009, 17:15

Aha, yes you're right, it looks like the general tab shows all the fields that didn't get displayed in any of the other tabs.

To remove studentid altogether, add the line

   unset($items['studentid']);

around line 136, right before

   // build form elements 

R.

anonymous profile picture
Account deleted
Posts: 5

20 December 2009, 19:39

Hi Richard

I tired lookin for the in the unset($items['studentid']) in the htdocs/artefact/internal/index.php file but did not find it

anonymous profile picture
Account deleted
Posts: 808

20 December 2009, 20:39

That's because it's not there!  You have to add it.
9 results