Browsing this Thread:   1 Anonymous Users






Re: how to remove the "Middle/Median Name" entery from add listing form ?
#4
Just popping in
Just popping in


See User information
thanks john

Posted on: 2007/6/11 0:34
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong Top


Re: how to remove the "Middle/Median Name" entery from add listing form ?
#3
Webmaster
Webmaster


See User information
Here you go.

The easiest way to remove the middle/maiden name from the Alumni Module


Go to the file addlisting.php

Go to about line 139 and look for this:

echo "<input type=\"hidden\" name=\"cid\" value=\"$cid\" />

AFTER IT add this line:

<input type=\"hidden\" name=\"mname\" value=\"\" />

Then go to about line 144 and find these lines and either comment them out or delete them:

<tr>
<td class='outer'>"._ALUM_MNAME." </td><td class='odd'><input type=\"text\" name=\"mname\" size=\"30\" maxlength=\"100\" /></td>
</tr>




Then go to modlisting.php around line 152 and find and comment out or delete these lines:

<tr>
<td class=\"outer\"><b>"._ALUM_MNAME."</b></td><td class=\"odd\"><input type=\"text\" name=\"mname\" size=\"30\" value=\"$mname\"></td>
</tr>

That should do it except in the admin side.

Let me know if you have any problems.

John

Posted on: 2007/6/10 16:06
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong Top


Re: how to remove the "Middle/Median Name" entery from add listing form ?
#2
Webmaster
Webmaster


See User information
I will find all the spots you need to change, hopefully by the weekend.

John

Posted on: 2007/6/7 6:42
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong Top


how to remove the "Middle/Median Name" entery from add listing form ?
#1
Just popping in
Just popping in


See User information
i want to create an alumni website for tehran university , faculty of science
but iranians names made of first and last name (and havent middle name).
how i can to remove the "Middle/Median Name" entery from add listing form.

Posted on: 2007/6/7 2:41
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong Top







You can view topic.
You cannot start a new topic.
You cannot reply to posts.
You cannot edit your posts.
You cannot delete your posts.
You cannot add new polls.
You cannot vote in polls.
You cannot attach files to posts.
You cannot post without approval.
You cannot use topic type.
You cannot use HTML syntax.
You cannot use signature.
You cannot create pdf.
You cannot get print page.

[Advanced Search]


Login
Username:

Password:

Remember me



Lost Password?

Register now!
 
Main Menu
 
Who's Online
5 user(s) are online (3 user(s) are browsing Forum)

Members: 0
Guests: 5

more...
 
Donat-O-Meter
Make donations with PayPal!
Stats
Goal: $25.00
Due Date: Aug 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $25.00