Small issue with $dadabik_main_file $dadabik_main_file defines in theory the name of the main page, however it is hardcoded as index.php in the following files:
include/footer.php
include/footer_index.php
include/header_admin.php
Thanks for such good workhttps://dadabik.com/forum/read.php?2,11767,11767#msg-11767
Sat, 25 May 2019 07:57:36 -0700Phorum 5.2.22https://dadabik.com/forum/read.php?2,11767,11779#msg-11779Re: Small issue with $dadabik_main_filehttps://dadabik.com/forum/read.php?2,11767,11779#msg-11779
> $dadabik_main_file defines in theory the name of the main
> page, however it is hardcoded as index.php in the following
> files:
>
> include/footer.php
> include/footer_index.php
> include/header_admin.php
>
> Thanks for such good work

Giuliano,
$dadabik_main_file is used if you want to embed DaDaBIK in a pre-existant application, and in this case you will probably have different header and footer, not the default ones.

The admin part, furthermore, is not involved with $dadabik_main_file, as you can read from the changelog.

I will anyway fix this issue, so thanks for having reported it.

(Latest version of DaDaBIK when this message was posted: 3.1 beta)]]>EugenioFeature Requests ForumSun, 31 Oct 2004 07:37:03 -0800https://dadabik.com/forum/read.php?2,11767,11768#msg-11768Re: Small issue with $dadabik_main_filehttps://dadabik.com/forum/read.php?2,11767,11768#msg-11768
I'm not 100% sure of the reason, however, I suspect this has remained in the event that someone wants to use DaDaBIK like previous versions were set up. Older versions used a main index page with links to various activities based on permissions set up by the DB admin. All the functionality was handled by the file "form.php". If a user wishes to again enable this functionality, he/she only has to change the $dadabik_main_file in config.php, create their own index.php file and they are set.

In the footer files, the only instance of index.php is for the link that goes to the home page. If a user has a set up with a separate index page as described above, the home link should call the index.php file and not the $dadabik_main_file.

As a side note, with the newest version of DaDaBIK, I have removed the home link because it does the same thing as "show all" when a separate "title" type page is being used.

The only time that footer_index.php is called is if it is explicitly set in the user's own created index.php file when using the program with a title page. By default, when using DaDaBIK 3.1 "out of the box", that file is not used.