Help
Discuss anything regarding coding in here (PHP, mySQL, HTML, CSS, etc)
User avatar
elynx
Customer
 
Posts: 15
Joined: 28 Apr 2016, 23:28

 

by elynx 01 Apr 2017, 06:24

Hello,

do you know how to change the link of homepage on the Home button of the mobile chat page?

Clicking on this button always links the user to the http://www.mysite.com
but i need this button to link the user to another URL: http://www.mysite.com/subpart


Thank you in advance for your views.

Pat
User avatar
BritishNaturism
Customer
 
Posts: 6
Joined: 23 Mar 2017, 09:29

 

by BritishNaturism 04 Apr 2017, 04:46

Try...

http://yoursite.com/arrowchat/public/mobile/index.php line 51 change:

Code: Select all
... href="<?php echo $home_url; ?>" ...


to

Code: Select all
... href="<?php echo $home_url . "/subpart/"; ?>" ...
User avatar
phpinterview1991
Trial
 
Posts: 1
Joined: 23 Nov 2018, 00:33

 

by phpinterview1991 23 Nov 2018, 00:48

Use the below code.
Code: Select all
<a href="https://www.w3scmysitehools.com">Visit w3scmysitehools.com!</a>







_______________________________________________________
php interview questions, php interview questions and answers, php interview questions for freshers, php interview questions and answers for freshers