Hi
I want to use HTML tag
<br />
in my page titlebut I get the following result http://bayka.kiev.ua/-7/ and see images in atach
as possible to overcome this problem?
This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.
Please use forum.silverstripe.org for any new questions
(announcement).
The forum archive will stick around, but will be read only.
You can also use our Slack channel
or StackOverflow to ask for help.
Check out our community overview for more options to contribute.
Hi
I want to use HTML tag
<br />
in my page titleas possible to overcome this problem?
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?
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 %>
$Title.XML dont help me, but $Title.JS help me
hank you very much for indication of direction ))