Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
8 Răspunsuri
8530 Vizualizări

I had created a snippets with static data and while drag and drop in website it displays the content, where as how to display dynamic field value in that snippets. By the way after displaying and editing how the values are reflecting in database ??

Thanks in Advance

Imagine profil
Abandonează
Cel mai bun răspuns

how can access other object with snippet

Imagine profil
Abandonează
Cel mai bun răspuns

Hello,


In Snippet you can access any field of website object by <t t-esc="website.social_facebook">.

Imagine profil
Abandonează
Autor

Thanks, if i try to change the social_facebook value in website frontend, how to reflect that in backend.

Display using means it get value from backend and changing it while in edit mode will automatically reflect that in backend.

Autor

I had changed the content value in front value but it is not changing the value in backend

Autor

By the way if i want to display value of some some other object value what should i need to do?

Are you using Share snippet defaultly provided?It doesnt using .

For using other object data, you need to make related widget and controller.You can see live example in website_event module .Go through '/event/get_country_event_list' route in website event.

Related Posts Răspunsuri Vizualizări Activitate
0
mar. 24
1466
1
dec. 20
7128
1
mar. 25
16483
1
iun. 15
3305
3
feb. 24
10033