Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
3651 Zobrazení

Inside the standard templates you can find codelines like...

<meta name="description" t-att-content="main_object and 'website_meta_description' in main_object and main_object.website_meta_description or website_meta_description"/>

Questions are:
Where can i access/change properties like website_meta_description inside the main_objec?

How do i change page information like title after creation?

Avatar
Zrušit
Nejlepší odpověď

Hello Martin,

The main_object variable holds the view object of currently rendered template.

Variables main_object.website_meta_description and main_object.name (additional title) can be set via "Promote" popup which can be access via the admin toolbar (black bar on top when logged-in via admin user) by clicking on "Promote" link.

The fields will be located under the "2. Reference Your Page" section in "Promote" popup.

Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
1
čvc 25
778
2
čvn 25
2367
3
dub 25
2581
1
dub 25
2024
1
pro 24
2362