Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi,
Im trying the following thing. In my page i can select a background color stored in the field 'backcolor'Now trying to put this in my template tike this:
<body style=background-color:#<umbraco:Item runat="server" field="backcolor" Recursive="false"/>>
But this is the result:
<body style="background-color:#<umbraco:Item" field="backcolor" Recursive="false"></body>>
It should be: <body style="background-color:#B1A89F">
try something like this:
<%=<umbraco:Item runat="server" field="backcolor" Recursive="false"/>%>
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Trying to use a fieldname in a template
Hi,
Im trying the following thing. In my page i can select a background color stored in the field 'backcolor'
Now trying to put this in my template tike this:
<body style=background-color:#<umbraco:Item runat="server" field="backcolor" Recursive="false"/>>
But this is the result:
<body style="background-color:#<umbraco:Item" field="backcolor" Recursive="false"></body>>
It should be: <body style="background-color:#B1A89F">
try something like this:
is working on a reply...