Add Link to Footer

lmr1121

New member
Is there a way to add a link to the footer? I've played with it, adding a link after this point in footer.php:

**************
<?php
if ($show_record_numbers_change_table !== 0) {
?>

<hr class="onlyscreen">
<table width="100%" class="onlyscreen">
<tr>
<td align="center">

<?php echo $normal_messages_ar["home"]; ?>
**************

I've tried several different things, none of which work. I don't really know php so I'm fumbling here.

Thanks,
Linda
 

DebbieS

DaDaBIK Guru
Never had a problem adding anything I wanted to the footer or header. Can you post the whole footer, highlighting the part you want to add? I'll look at it and see if I can figure it out for ya.

 

lmr1121

New member
It's been ages since I addressed this.

Below I've pasted the whole footer file. What I'd like to do is add a 'contact' link. Can't figure out how to do it. I should clarify -- I'm pretty sure I can add a link to the bottom of the index page, what I want to do is add the link directly in the footer file so that it shows up with the footer anywhere the footer shows up. Tried faking php with little success in this case. :)

Thanks,
Linda

<?php
/*
***********************************************************************************
DaDaBIK (DaDaBIK is a DataBase Interfaces Kreator) http://www.dadabik.org/
Copyright (C) 2001-2007 Eugenio Tacchini

This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.

If you want to contact me by e-mail, this is my address: eugenio.tacchini@unicatt.it
***********************************************************************************
*/
?>

<?php
if ($show_record_numbers_change_table !== 0) {
?>

<hr class="onlyscreen">
<table width="100%" class="onlyscreen">
<tr>
<td align="center">

<?php echo $normal_messages_ar["home"]; ?>

<?php
if ($enable_insert == "1"){
?>
| <?php echo $submit_buttons_ar["insert_short"]; ?>
<?php
}
?>

| <?php echo $submit_buttons_ar["search_short"]; ?> | <?php echo $normal_messages_ar["last_search_results"]; ?> | <?php echo $normal_messages_ar["show_all"]; ?>
<?php
if ( $table_name === $users_table_name && ($function === 'edit' || $function === 'show_insert_form' || $function === 'insert')){
?>
| <?php echo $login_messages_ar['pwd_gen_link']; ?>
<?php
}
?>
<?php
if ($enable_authentication === 1){
?>
| <?php echo $normal_messages_ar["logout"]; ?>
<?php
}
if ($current_user_is_administrator === 1) {
?>
| <?php echo $normal_messages_ar["administration"]; ?>
<?php
} // end if
?>
| <?php echo $normal_messages_ar["top"]; ?>

</td>
</tr>
</table>


<?php
}
?>
<div align="center"><font size="1">Powered by: DaDaBIK</font></div>
</td>
</tr>
</table>

</body>
</html>
 

lmr1121

New member
After the following would work for me:

| <?php echo $normal_messages_ar["top"]; ?>


This piece of code is near the bottom. What I'd like to do is add a link to a contact page.

Thanks,
Linda
 

lmr1121

New member
After the following would work for me:

| <?php echo $normal_messages_ar["top"]; ?>


This piece of code is near the bottom. What I'd like to do is add a link to a contact page.

Thanks,
Linda
 
Top