Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [FCKeditor] Problem, z działaniem na serwerze
BugsBunny
post
Post #1





Grupa: Zarejestrowani
Postów: 206
Pomógł: 4
Dołączył: 2.04.2005

Ostrzeżenie: (0%)
-----


Więc tak u mnie na kompie jest wsz[/html]ystko OK jednak po uploadzie na serwer mam błąd wywołaniu systemu FCKeditor

undefined class 'FCKeditor' czy jakoś tak

jak myślę chodzi o ten kawałek kodu w nagłówku
  1. <script type="text/javascript" src="{$smarty.const.APP_URL}system/FCKeditor/fckeditor.js"></script>


Strona jest pisania z uzyciem szablonu Smary

a oto kod wywołania
  1. {literal}
  2. <script type="text/javascript">
  3. <!--
  4. // Automatically calculates the editor base path based on the _samples directory.
  5. // This is usefull only for these samples. A real application should use something like this:
  6. // oFCKeditor.BasePath = '/fckeditor/' ; // '/fckeditor/' is the default value.
  7. var sBasePath = document.location.pathname.substring(0,document.location.pathname.lastIndexOf('_samples')) ;
  8.  
  9. var oFCKeditor = new FCKeditor( 'tresc' ) ;
  10. oFCKeditor.BasePath = '{$smarty.const.APP_URL}system/FCKeditor/' ;
  11.  
  12. oFCKeditor.Height = 500 ;
  13. oFCKeditor.Value = 'Wpisz treść newsa' ;
  14. oFCKeditor.Create() ;
  15. //-->
  16. </script>
  17. {/literal}
Go to the top of the page
+Quote Post

Posty w temacie
- BugsBunny   [FCKeditor] Problem   2.09.2006, 22:00:09
- - pawel_   Cytat(BugsBunny @ 2.09.2006, 23:00:09...   7.09.2006, 11:44:32


Reply to this topicStart new topic
1 Użytkowników czyta ten temat (1 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 21.08.2025 - 06:42