[Register]
Powered by Elgg

scvinodkumar

Brief description

Web Developer

Who am I?

Wed developer,Programmer,etc

Interests

learning new technology, Sports

Main Skills

mysql, PHP

This feed widget is undefined.

Latest files
include.php

include.php file

includes.php

Keywords: include.php

Weblog

Hello,

 I 'm trying to add a new form with 4 questions on the first connexion of the user to Elgg. I managed to add it using a plugin on the login page of my website but now i want to process it when the user click on submit. I think i must add something in the function init of my plugin to tell Elgg with wich file proceed the result.

Thank you for your help !

Sylvain

Keywords: form, plugin

Posted by Sylvain Lemiere @ Developer discussion | 0 comment(s)

In http://classic.elgg.org/trac/ticket/277 it was pointed out that the entries in auth/multiple/auth.ini for ldap_search_attr should be separate i.e.

ldap_search_attr[] = givenName
ldap_search_attr[] = sn
ldap_search_attr[] = mail

which after parse_ini_file does its work gives

             [ldap_search_attr] => Array
                (
                    [0] => givenName
                    [1] => sn
                    [2] => mail
                )

The next problem is that as the comment at the top of auth/ldap/lib.php says it should be

          $CFG->ldap_search_attr = array('firstname' => 'givenname',
                                         'lastname' => 'sn',
                                         'mail' => 'mail');

As the code later in the file uses

                $user->email = $user_info["mail"];
                $user->name  = $user_info["firstname"];
                $user->name  = $user->name . " " . $user_info["lastname"];

Since I want multiple ldap sources I want auth.ini to work but how to change it 0, 1, and 2 do not say what the attributes represent if all ldap sources use the same sn, mail, and givenName then I could uncomment the line at the top of the lib.php.

Interestingly most comments on how to do ldap still refer to putting the parameters directly into the config.php file.

 

Keywords: ldap authentication auth.ini

Posted by Kevin Murray @ Developer discussion | 0 comment(s)

Failed links View Message, Compose and Sent Message. The error message is as follows: "The requested URL was not found on this server."
Can someone help me?
Thanks 

Posted by M@ria @ Developer discussion | 0 comment(s)

Hello all!

I am new to elgg. I am actually developing something usefull with elgg. A social site. I would just like to ask for some help. Where can I find adminTable. The table is very limited and I am trying to find a way to format my data displays. I have been reading much of this site plus been inside elgg code for weeks now. The site is http://playground1.maxwellsmb.net if you have suggestions please let me know. I welcome every inch of advice from you guys. Thank you.

Posted by Joseph Nepomucin N. Niez @ Developer discussion | 0 comment(s)

How would I add my own replace holders?

I want to create a 'subnav' item in a template.  Thanks to a great link I found on your site; I've been able to add my own template pages.  But I now need a 'subnav' item.  I want to put a custom place holder in my template.  Once the the place holder string is replaced, a variable will be passed and run a function which will figure out which subnav to show.

 How can I do this?

Keywords: place holders, subnav, templates

Posted by bigorangemachine @ Developer discussion | 0 comment(s)

Site supported by Curverider Ltd - powered by the awesome Elgg