Я не могу изменить траекторию кожи, используя FCKConfig.SkinPath = FCKConfig.BasePath + 'skins/silver/' ;
форму http://docs.cksource.com/FCKeditor_2.x/Developers_Guide/Configuration/Configuration_Options/SkinPath. Ниже приведена следующая ошибка. Как это исправить?Проблема с контентом PHP FCKeditor?
Parse error: syntax error, unexpected '='
Ниже приведен код PHP-кода FCKeditor.
<?php
$oFCKeditor = new FCKeditor('FCKeditor1') ;
$oFCKeditor->BasePath = '../../fckeditor/' ;
$oFCKeditor->Value = '<p>This is some <strong>sample text</strong>. You are using <a href="http://www.fckeditor.net/">FCKeditor</a>.</p>' ;
$oFCKeditor->Create() ;
?>
Вот FCKeditor с кодом кожи.
<?php
$oFCKeditor = new FCKeditor('FCKeditor1') ;
$oFCKeditor->BasePath = '../../fckeditor/' ;
FCKConfig.SkinPath = FCKConfig.BasePath + 'skins/silver/' ;
$oFCKeditor->Value = '<p>This is some <strong>sample text</strong>. You are using <a href="http://www.fckeditor.net/">FCKeditor</a>.</p>' ;
$oFCKeditor->Create() ;
?>
Строка 5 дает мне проблему.
Каких точную линию это дает вам ошибку синтаксиса для? Обычно PHP предоставляет номер строки вместе с сообщениями об ошибках. –