I do not want to show the number of members of my courses publicly. How do I hide the number of members of an e-learning course in Odoo ?
See screenshot here
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
I do not want to show the number of members of my courses publicly. How do I hide the number of members of an e-learning course in Odoo ?
See screenshot here
Hi, can anyone tell me how i can easily (?) transform my lesson templates please ? Thanks.
Hi,
To hide the member data from the template in your custom module in Odoo, you can override the template in your module and remove or comment on the parts related to displaying member data. Here's how you can do it:
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="course_sidebar_inherited" inherit_id="website_slides.
<xpath expr="//tr[th='Members']" position="replace">
<!-- Remove or comment out the member data -->
<!-- <tr>
<th>Members</th>
<td><t t-esc="channel.members_count"/
</tr> -->
</xpath>
</template>
</odoo>
Hope it helps
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
|
1
Apr 25
|
122 | ||
|
0
Jun 24
|
581 | ||
eLearning quiz functionality
Solved
|
|
2
Feb 24
|
4146 | |
|
0
Dec 23
|
655 | ||
|
0
Dec 23
|
652 |