python - Feincms ApplicationContent overwrite context -


if add applicationcontent region on feincms page, how update feincms_page's context?

use case

changing feincms_page's title application content's title

use fragment templatetag

app template:

{% fragment request "frag_title" %} title {% endfragment %} 

inherited template:

{% if request|has_fragment:"frag_title" %}     <title>{% get_fragment request "frag_title" %}</title> {% else %}     <title>{{ feincms_page.title }}</title> {% endif %} 

Popular posts from this blog

How to calculate SNR of signals in MATLAB? -

c# - Attempting to upload to FTP: System.Net.WebException: System error -

ios - UISlider customization: how to properly add shadow to custom knob image -