How to pass values Into Site Header Variable

I have set my site header as an early parsing Low Variable :

{exp:low_variables:parse var="lv_global_html_header"}

Previously, I was using:

{embed="_embeds/_header" url_title="{segment_2}" title="Home"}

Now, I can't figure out how to pass the values of title="home" and url_title="{segment_2}" into the required fields inside the Low Variable. In the Variable, I am using the values to set the title value of the page.

I have read Lows article about using preloads and still can't figure it out. I have tried using {preload_replace:pre_title="Home"}, then set the title in the variable as {pre_title}. Also not sure how to set the url_title as a preload. Didn't work.

I suspect I am not doing something right. Any help will be appreciated. Thanks

ps: I am also not able to save variables as files . I have set a folder that you can write to - and tried different path settings - nothing shows up when I save the variable as files. Perhaps some guidance on the format of the path will help ( no examples in docs).
1 person has
this question