Welcome to the nuBuilder Forums!
Join our community by registering and logging in.
As a member, you'll get access to exclusive forums, resources, and content available only to registered users.
Questions related to using nuBuilder Forte.
ARWEN
Posts: 79 Joined: Thu Nov 01, 2018 6:01 am
Unread post
by ARWEN » Thu Dec 20, 2018 2:25 pm
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>
nac
Posts: 135 Joined: Tue Dec 12, 2017 11:28 pm
Location: Aberdeen, UK
Has thanked: 9 times
Been thanked: 13 times
Unread post
by nac » Thu Dec 20, 2018 9:01 pm
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
ARWEN
Posts: 79 Joined: Thu Nov 01, 2018 6:01 am
Unread post
by ARWEN » Fri Dec 21, 2018 9:50 am
Neil,
while this works when a user is logged in the login page still shows nuBuilder4.
nac
Posts: 135 Joined: Tue Dec 12, 2017 11:28 pm
Location: Aberdeen, UK
Has thanked: 9 times
Been thanked: 13 times
Unread post
by nac » Fri Dec 21, 2018 3:53 pm
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
ARWEN
Posts: 79 Joined: Thu Nov 01, 2018 6:01 am
Unread post
by ARWEN » Wed Jan 02, 2019 9:05 am
Thanks Neil, I'll give it a try.
nac
Posts: 135 Joined: Tue Dec 12, 2017 11:28 pm
Location: Aberdeen, UK
Has thanked: 9 times
Been thanked: 13 times
Unread post
by nac » Wed Jan 02, 2019 9:38 pm
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
ARWEN
Posts: 79 Joined: Thu Nov 01, 2018 6:01 am
Unread post
by ARWEN » Thu Jan 03, 2019 6:24 am
Perfect, thanks.
admin
Site Admin
Posts: 2829 Joined: Mon Jun 15, 2009 2:23 am
Been thanked: 30 times
Unread post
by admin » Fri Jan 04, 2019 4:03 am
Neil,
Back at cha!
Steven