change the url of the home icon which is located in the breadcrumb

Hi
I want to change the url of the home icon which is located in the breadcrumb , is there any bulit in script in phpmaker rather than trying with jquery?Thank you

You may try this.

I tried it, I put
function startPage () {
global $Security;
if (!$Security->isLoggedIn()) {
return ‘login’;
} else {
return ‘Tree’;
}
}in
Global Code under Server Events → Global → All Pages
but it does not work , it still goes to index.any clue??

Make sure you have already done the first step from the link mentioned above:set “Start page” in Generate tab to be function name like “startPage”

Please , I do not want to upload the entire project after making this modification , which files should I upload only after setting “Start page” in Generate tab to be function name like “startPage”?

Unfortunately, you cannot just re-generated the userfn.php file. You need to re-generate ALL the script files again.The reason for this is, since that startPage will be applied into almost all the generated .php files inside the models and one file named OthersController.php inside the controllers subfolder.mohomar99 wrote:

which files should I upload only after setting “Start page” in Generate tab to be function name like “startPage”?

As mentioned above, all the generated .php files in models subfolder, and one file named OthersController.php inside the controllers subfolder.