Is it possible for me to add another line of our site url under Copyright © 2000 - 2010 MantisBT Group? i mean can i add any content to the footer? also i want the copyright text Copyright © 2000 - 2010 MantisBT Group to be aligned to the center. where can i modify them?
Thanks
footer content
Moderators: Developer, Contributor
footer content
Mantis: 1.2.2
PHP: 5.2.4
SQL: MySQL 5.1.48
OS: CentOS 5.4 Enterprise Linux x86
PHP: 5.2.4
SQL: MySQL 5.1.48
OS: CentOS 5.4 Enterprise Linux x86
Re: footer content
You can add your footer by setting $g_bottom_include_page = "yourPage" in file config_inc.php
And / Or you can write a plugin witch catches the EVENT_LAYOUT_PAGE_FOOTER event.
And / Or you can write a plugin witch catches the EVENT_LAYOUT_PAGE_FOOTER event.
Re: footer content
when i add this line im getting this error : Possible Whitespace/Error in Configuration File - Aborting. Output so far follows:
string(1) " "
This is my config_inc.php page content :
<?php
$g_hostname = 'localhost';
$g_db_type = 'mysql';
$g_database_name = ''***************';';
$g_db_username = '***************';
$g_db_password = '***';
?>
string(1) " "
This is my config_inc.php page content :
<?php
$g_hostname = 'localhost';
$g_db_type = 'mysql';
$g_database_name = ''***************';';
$g_db_username = '***************';
$g_db_password = '***';
?>
Mantis: 1.2.2
PHP: 5.2.4
SQL: MySQL 5.1.48
OS: CentOS 5.4 Enterprise Linux x86
PHP: 5.2.4
SQL: MySQL 5.1.48
OS: CentOS 5.4 Enterprise Linux x86
Re: footer content
after adding that line only im getting this error :
Possible Whitespace/Error in Configuration File - Aborting. Output so far follows:
string(1) " "
Can you get me the code if i'm to add this line to my footer : 'Powered by Mantis & Maintained by Our Company Name'
Possible Whitespace/Error in Configuration File - Aborting. Output so far follows:
string(1) " "
Can you get me the code if i'm to add this line to my footer : 'Powered by Mantis & Maintained by Our Company Name'
Mantis: 1.2.2
PHP: 5.2.4
SQL: MySQL 5.1.48
OS: CentOS 5.4 Enterprise Linux x86
PHP: 5.2.4
SQL: MySQL 5.1.48
OS: CentOS 5.4 Enterprise Linux x86
Re: footer content
$g_bottom_include_page contains the name of a html file, not the content itself.
I don't know your skills, so it's not easy to give the right answers.
If you don't have any knowledge of HTML/CSS/PHP you should learn some basics which is often enough for small customizations.
I don't know your skills, so it's not easy to give the right answers.
If you don't have any knowledge of HTML/CSS/PHP you should learn some basics which is often enough for small customizations.
Re: footer content
My bad, i know SQL/HTML very well. i didn't know the function. i'll follow your instruction .. thanks again
Mantis: 1.2.2
PHP: 5.2.4
SQL: MySQL 5.1.48
OS: CentOS 5.4 Enterprise Linux x86
PHP: 5.2.4
SQL: MySQL 5.1.48
OS: CentOS 5.4 Enterprise Linux x86
Re: footer content
this worked perfectly :
$g_bottom_include_page = '%absolute_path%footer.php';
footer.php is my file name
thanks
$g_bottom_include_page = '%absolute_path%footer.php';
footer.php is my file name
thanks
Mantis: 1.2.2
PHP: 5.2.4
SQL: MySQL 5.1.48
OS: CentOS 5.4 Enterprise Linux x86
PHP: 5.2.4
SQL: MySQL 5.1.48
OS: CentOS 5.4 Enterprise Linux x86
-
mittalpatel
Re: footer content
Or, if you don't want to create a new footer.php file then you can go to /core/html_api.php file and find for "Copyright © 2000 - 2012 MantisBT Group". There the table structure of footer is coded. You can simple make changes there and you should be able to update the copyright text in the footer.
To update the email address in footer you can change value of $g_webmaster_email variable in config_defaults_inc.php file. There are other email settings also given which you can update. Find for "MantisBT Email Settings" in config_defaults_inc.php file and you should find it.
To update the email address in footer you can change value of $g_webmaster_email variable in config_defaults_inc.php file. There are other email settings also given which you can update. Find for "MantisBT Email Settings" in config_defaults_inc.php file and you should find it.