Page 1 of 1
$nuConfigTitle
Posted: Thu Dec 20, 2018 2:25 pm
by ARWEN
Although I assigned a value to $nuConfigTitle in nuconfig.php, index.php still displays 'nuBuilder 4'. What am I doing wrong?
nuconfig.php outputs <title>nuBuilder 4</title> instead of <title>myCRM</title>
Re: $nuConfigTitle
Posted: Thu Dec 20, 2018 9:01 pm
by nac
Hello Arwen,
I just use something like this in the JavaScript of the home form.
It also means you can change the title to something different on other forms.
Neil
Re: $nuConfigTitle
Posted: Fri Dec 21, 2018 9:50 am
by ARWEN
Neil,
while this works when a user is logged in the login page still shows nuBuilder4.
Re: $nuConfigTitle
Posted: Fri Dec 21, 2018 3:53 pm
by nac
Arwen,
I think that could be because the line
is hard-coded in index.php (at line 22). You could edit this (but you would need to make the same edits after any updates).
Neil
Re: $nuConfigTitle
Posted: Wed Jan 02, 2019 9:05 am
by ARWEN
Thanks Neil, I'll give it a try.
Re: $nuConfigTitle
Posted: Wed Jan 02, 2019 9:38 pm
by nac
Arwen,
Since my last reply, index.php has been updated so that the variable $nuConfigTitle is used. That line is now:
Code: Select all
<title><?php echo $nuConfigTitle;?></title>
and so no editing will be required.
Thanks to Steven for this and Happy New Year to the nuBuilder team.
Neil
Re: $nuConfigTitle
Posted: Thu Jan 03, 2019 6:24 am
by ARWEN
Perfect, thanks.
Re: $nuConfigTitle
Posted: Fri Jan 04, 2019 4:03 am
by admin
Neil,
Back at cha!
Steven