17488 Posts in 4473 Topics by 1978 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 994 Views |
-
Use HTML in administration system

28 July 2008 at 6:21pm
Hi
I want to use HTML tagin my page title<br />
but I get the following result http://bayka.kiev.ua/-7/ and see images in atach
as possible to overcome this problem? -
Re: Use HTML in administration system

28 July 2008 at 6:38pm
Its because the title fields as just raw text and not parsed as HTML at all. You might be able to overcome this by sending that via a XML parser - http://doc.silverstripe.com/doku.php?id=escape-types or try calling $Title.XML?
-
Re: Use HTML in administration system

28 July 2008 at 6:55pm
but I try $Title.XML and nothing change
<% control Children %>
<div class="catIt">
<div class="catPhoto">$Photo.SetWidth(140)</div>
<div class="catText">
<h3>$Title.XML</h3>
<% if Year %>Óþô: <span>$Year</span><br /><% end_if %>
<% if Categor %>ÚðтõóþрøÑÂ: <span>$Categor</span><br /><% end_if %>
<% if Old %>Òþ÷рðÑÂÑ‚: <span>$Old</span><br /><% end_if %>
<% if Region %>àõóøþý: <span>$Region</span><br /><% end_if %>
<% if Country %>áтрðýð: <span>$Country</span><br /><% end_if %>
<% if Manuf %>ßрþø÷òþôøтõûь: <span>$Manuf</span><br /><% end_if %>
<% if Pack %>ãÿðúþòúð: <span>$Pack</span><br /><% end_if %>
<% if V %>Þñъõü: <span>$V</span><br /><% end_if %>
<% if Spirit %>ÚрõÿþÑÂть: <span>$Spirit</span><br /><% end_if %>
<% if Nal=1 %>ÃÂðûøчøõ: <span class="nal">ÃÂõт ò ýðûøчøø</span><br /><% end_if %>
<% if Cena %><div class="catcena">æõýð: <span>$Cena</span> óрý.</div><% end_if %>
</div>
</div>
<% if EvenOdd = even %>
<div class="catclear"><!----></div>
<% end_if %>
<% end_control %> -
Re: Use HTML in administration system

29 July 2008 at 12:52am
$Title.XML dont help me, but $Title.JS help me
hank you very much for indication of direction ))
| 994 Views | ||
|
Page:
1
|
Go to Top |


