XModPro

token in style

Cata Cata posted Oct 28, 2017
Active Oct 28 · Viewed 1856 times

Hi,

I want to display a template on all pages and then override the css to change the

background: url(/Portals/_default/skins/a/assets/img/1920x1080/22.jpg) no-repeat;

with

background: url([[ImgURL]]) no-repeat;


But I get an error: Databinding methods such as Eval(), XPath(), and Bind() can only be used in the context of a databound control.

There is any workaround to use a token in the style I use in Xmod ? My aim is to control the images form header form a table and not adding separate modules in each page of the site.

see here the full content










This display a background image


Thank you



0 Replies

Loading replies...