2863 Posts in 731 Topics by 699 members
Template Questions
SilverStripe Forums » Template Questions » DB Field as inline Style format
Moderators: martimiz, Howard, Sean, Ryan M., biapar, Willr, Ingo, swaiba
|
Page:
1
|
Go to End | |
| Author | Topic: | 835 Views |
-
DB Field as inline Style format

19 June 2009 at 5:16pm
Hi,
i've tried hard to get this work - but i'm now stuck maybe somone can help.
I wannt to have a Field in der cms for a specific page type - ok thats easy
this field should be used to get a color value into the template - the editor shoud be able to edit this color
it is possible - i've done that to show this value outside from a html tag but inside it won't show
<li class="$LinkingMode" style="border-bottom:1px solid #$Color;"> $Color <a href="$Link".............
the first one won't show ^^^^^^^
^^^^^ this one is showncan anyone explain why this works not the way i want?
thx
-
Re: DB Field as inline Style format

20 June 2009 at 2:10am
thx much
with {} it works perfect as i want
greets from austria
| 835 Views | ||
|
Page:
1
|
Go to Top |

