Caio, Eugenio.
I am working on a config_custom.php code to use my Active Directory service account to login and get the AD path for the user.
What is the php variable name for the username entered in the login form?
Grazie.
eugenio Wrote:
-------------------------------------------------------
> No, I don't think the LDAP search can work specifying a "sub" search; a possible workaround:
LDAP.com seems to suggest that it is possible. I don't know enough to understand it all.
>if you can get, via php, the current...
Yes, I got it to work by setting
$ldap_username_field = 'CN';
and using my "Firstname Lastname" as my login rather than my username (xxxxxxyy, where xxxxxx is the first six letters of family name and yy are initials) which is what I would normally use for Single Sign-On (SSO).
I have one...
I though some more about this. In previous applications I had to provide a service account username and password to browses Active Directory. I realise now that DaDaBiK is using the username and password entered which, if valid, will gain access to Active Directory and allow authentication. Very...
I'm trying to use LDAP to authenticate against the company Active Directory. A username and password is required to make an LDAP request but DaDaBiK doesn't provide any settings in config.php to facilitate this.
This test script from GitHub works OK (once the variables are set).
//domain...
Thank you for your reply.
For now I created a different page for the PDF datagrid. This one selects the values and I use those in the PDF. All is OK for now.
I have created a view. I can see this in the MySQL database and it returns the records.
I have created a page based on the view.
The page is installed, enabled and the 'id' has been selected as the unique field.
The page appears in the menu but when selected just shows "Draft content" in the...
Not quite right. The 'Lookup linked fields' is now set to 'name' and 'id'.
In the form ...
and in the report I
Maybe I have to create a different form for this. It complicates things a little.
I have a lookup table in my application similar to this:
id | name
---+-----------------
0 | No progress
1 | In progress
2 | Complete
The form then uses a select_single_radio to display
( ) No progress ( ) In progress ( ) Complete
and the value 0, 1 or 2 is saved in the...
For anyone who wants to use yyyy-mm-dd date formats you need the following:
In program_files/include/general_functions.php you need to add a couple of lines to both functions below:
In function format_date($date) add
case "yyyy_mm_dd": // Modification!
$date =...
Caio, and thank you for your reply.
I am creating PDF documents from the Details view. The PDF document can be several pages long. I would like to create a header on each page with the document title, etc.
Also, I notice there is a horizontal rule <hr> at the top of each page. I would like to...
The problem
I need to generate a repeating page header (a table with the document name, etc.) on each page. If I was to generate this in PHP I would use a $pdf->function of some type.
The question
Is there any HTML markup that I can include in my DaDaBiK HTML template that TCPDF will...