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

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
Opret en konto i dag for at få glæde af eksklusive funktioner, og bliv en del af vores skønne fællesskab!
Tilmeld dig| Relaterede indlæg | Besvarelser | Visninger | Aktivitet | |
|---|---|---|---|---|
|
1
apr. 25
|
9068 | |||
|
0
jun. 24
|
2643 | |||
|
2
feb. 24
|
8376 | |||
|
0
dec. 23
|
5164 | |||
|
0
dec. 23
|
8091 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.