Search results

  1. T

    Active Directory LDAP requires a login - DaDaBiK's config doesn't have one!

    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.
  2. T

    Active Directory LDAP requires a login - DaDaBiK's config doesn't have one!

    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...
  3. T

    Active Directory LDAP requires a login - DaDaBiK's config doesn't have one!

    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...
  4. T

    Active Directory LDAP requires a login - DaDaBiK's config doesn't 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...
  5. T

    Active Directory LDAP requires a login - DaDaBiK's config doesn't have one!

    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...
  6. T

    Is it possible to return the lookup field 'id' rather than the 'name'?

    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.
  7. T

    Page based on view shows text "Draft content"

    I found the problem. I was looking at an old page. The new page with the view was added further down the menu and I didn't see it.
  8. T

    Page based on view shows text "Draft content"

    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...
  9. T

    Is it possible to return the lookup field 'id' rather than the 'name'?

    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.
  10. T

    Is it possible to return the lookup field 'id' rather than the 'name'?

    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...
  11. T

    HTML PDF template markup to create a repeating page header?

    OK. I will try that. Grazie.
  12. T

    DaDaBiK YYYY-MM-DD format HOW-TO

    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 =...
  13. T

    HTML PDF template markup to create a repeating page header?

    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...
  14. T

    HTML PDF template markup to create a repeating page header?

    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...
Top