Hello Friends,
I want to extand some field in registraion , let us say "note" , "subnote" , for that i have done following:
Step 1.
add these 2 fields( note , subnote ) in database.
Step 2.
In "mod\siteaccess\views\default\siteaccess\register.php" write:
$note= get_input('note');
$subnote= get_input('subnote');
$html = "";
$html .= "<label>Note ";
$html .= "<br /><input type=\"text\" name=\"note\" value='".$note."' /></label><br />";
$html .= "<label>Sub Note ";
$html .= "<br /><input type=\"text\" name=\"subnote\" value='".$subnote."' /></label><br />";
echo $html;
Step 3. In "engine\lib\users.php" change coding as i needed ( add => note , subnote ) related coding there.
But i think it's not a good way.
Can any one tell me a proper way ( in detail ) to extend existing plugin?
Thanks in Advance.
Hemant Kumar Upadhyay
FiveE Technologies , new delhi , India
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by RaĆ¼l Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
- Smith@wiansmith
Smith - 0 likes
- Hemant Kumar Upadhyay@hemant_niec
Hemant Kumar Upadhyay - 0 likes
You must log in to post replies.contact importer not working
Login failed. Please check the email and password you have provided and try again later, this error is coming when i import contact using "http://community.elgg.org/pg/plugins/webgalli/read/17244/contacts-importer-pluggin" contact importer plugin.
this is happening for facebook and yahoo.
please go through http://silversocialite.com and login to in friends tab and at the left click on import contact. it will work for gmail but not working for yahoo and facebook?:(
please help me
I think you have posted question in wrong Place. Here issue is different :
Here Issue
I want to extand some field in registraion , let us say "note" , "subnote" , for that i have done following:
Step 1.
add these 2 fields( note , subnote ) in database.
Step 2.
In "mod\siteaccess\views\default\siteaccess\register.php" write:
$note= get_input('note');
$subnote= get_input('subnote');
$html = "";
$html .= "<label>Note ";
$html .= "<br /><input type=\"text\" name=\"note\" value='".$note."' /></label><br />";
$html .= "<label>Sub Note ";
$html .= "<br /><input type=\"text\" name=\"subnote\" value='".$subnote."' /></label><br />";
echo $html;
Step 3. In "engine\lib\users.php" change coding as i needed ( add => note , subnote ) related coding there.
But i think it's not a good way.
Can any one tell me a proper way ( in detail ) to extend existing plugin.
Thanks in Advance.
Hemant Kumar Upadhyay
FiveE Technologies , new delhi , India
http://www.fivee.in/