Change the right Menu option

This public forum is for user-to-user discussions of PHPMaker. Note that this is not support forum.
Post Reply
Bishu
User
Posts: 429

Change the right Menu option

Post by Bishu »

After Login, on the right side a menu open when we click to the user icon.
I would like to make some change on it
1)It show only the username -
I want to display in 3 lines
a) username b) Client Name C) Balance

2) the logout button name to "Sign Out"


arbei
User
Posts: 9384

Post by arbei »

You can replace it with your own JsRender template, see the topic Server Events and Client Scripts > Page_Foot server event in help file.


Bishu
User
Posts: 429

Post by Bishu »

Thanks for your reply.

I have tried and very confuse. and unable to get my result.
I want to change the data which are shown under the User Favicon on the right side after successful login.


mobhar
User
Posts: 11727

Post by mobhar »

It actually is not difficult; you need to learn JsRender www .jsviews.com/ to get started.


arbei
User
Posts: 9384

Post by arbei »

In the footer.php you can find the default template like:

<script type="text/html" class="ew-js-template" data-name="login" data-seq="10" data-data="login" data-method="appendTo" data-target=".navbar-nav.ml-auto">
...
</script>

You just copy and customize it and put it in the Page_Foot server event to replace it.

Post your code for discussion.


Post Reply