V SPP 2003 ne dela rich Text Editor




Še ena funkcija, ki nam je nehala delat po inštalaciji WSS 3.0 in SPP 2003 SP3 kjer je Windows Server 2003 SP2: Rich Text Editor za web parts. HTML editor je delal, samo to ni bila rešitev, saj bi naj bi vsebin0 teksta tedensko spreminjal običajen uporabnik, zato to ni moglo biti nadomestilo.

Spet goglanje in REŠITEV:


Pojdi do datoteke htmledit.aspx

C:\Program Files\Common Files\Microsoft Shared\web server extensions\60\TEMPLATE\LAYOUTS\1033\htmledit.aspx

Namesto te kode:

Code Block
<script LANGUAGE=”JavaScript”>
RenderActiveX(“<object ID=tbContentElement CLASS=tbContentElement CLASSID=’clsid:2D360201-FFF5-11D1-8D03-00A0C959BC0A’ style=visibility:hidden VIEWASTEXT><param name=Scrollbars value=true></object>”);
RenderActiveX(“<object id=ObjTableInfo classid=’clsid:47B0DFC7-B7A3-11D1-ADC5-006008A5848C’ style=visibility:hidden viewastext></object>”);
RenderActiveX(“<object id=ObjBlockFormatInfo classid=’clsid:8D91090E-B955-11D1-ADC5-006008A5848C’ style=visibility:hidden viewastext></object>”);
</script>

je potrebno vnesti to kodo:

Code Block
<script LANGUAGE=”JavaScript”>
function RenderActiveX(str)
{
document.write(str);
}
RenderActiveX(“<object ID=tbContentElement CLASS=tbContentElement CLASSID=’clsid:2D360201-FFF5-11D1-8D03-00A0C959BC0A’ style=visibility:hidden VIEWASTEXT><param name=Scrollbars value=true></object>”);
RenderActiveX(“<object id=ObjTableInfo classid=’clsid:47B0DFC7-B7A3-11D1-ADC5-006008A5848C’ style=visibility:hidden viewastext></object>”);
RenderActiveX(“<object id=ObjBlockFormatInfo classid=’clsid:8D91090E-B955-11D1-ADC5-006008A5848C’ style=visibility:hidden viewastext></object>”);
</script>

Restart IIS in Rich Text Editor ponovno deluje.

Saša

Works as system engineer in Slovenian Enterprise in Microsoft environment focusing on security, deployments, SharePoint, SCCM and CheckPoint firewall. Author of successful blog about IT security, Microsoft tips & tricks, social media, internet trends.

Leave a Reply