Tema: Re: TinyMCE kodas dingsta narsykleje
Autorius: Tyro
Data: 2009-08-05 22:53:57
radau klaida, template engine buvau nurodes neteisingus parametrus, ir viska kas {} interpretavo kaip magic quites :( Dabar jau gerai :)
"Feniksas" <audriusTRINTI@TRINTIcablenet.lt> wrote in message news:h5aac9$mgn$1@trimpas.omnitel.net...
> pameginciau perrasyti vieta po "({" be komentaru ir vienoje eiluteje su 
> kabliataskiais.
> pamegink gal dar koki Firebug ar pan toolsa susiinstaliuot, parodys kur 
> klaida
> 
> "alias" <martin@saulis.dylyt.zys.com> wrote in message 
> news:h5a7dg$k5a$1@trimpas.omnitel.net...
>> Nors čia labiau burimas iš kavos tirščių, bet visgi, patikrink, ar tikrai 
>> egzistuoja toks katalogas tiny_mce reliatyviai darbinio katalogo.
>>
>> Jei konkrečiau - tai būtų geriau čia <script type="text/javascript" 
>> src="tiny_mce/tiny_mce.js"></script> nurodyti absoliutų path'ą, t.y. 
>> <script type="text/javascript" src="/tiny_mce/tiny_mce.js"></script> (su 
>> slash'u priekyje ir pilnu path'u skaičiuojant nuo doc root'o).
>>
>> Ypač turint omenyje, kad žiūrint naršyklėje tu matai <script 
>> type="text/javascript" 
>> src="include/editor/tiny_mce/tiny_mce.js"></script> - kodėl path'ai 
>> skiriasi? IMHO tikrai čia kažkas priburta.
>>
>>
>>
>>
>> "Tyro" <music-man@delfi.lt> wrote in message 
>> news:h5a3j6$gbo$1@trimpas.omnitel.net...
>> Sveiki, turiu keleta saitu, kodas juose analogiskas, bet viename ju 
>> neveikia TinyMCE redaktorius. Kodas faile yra
>>
>> <script type="text/javascript" src="tiny_mce/tiny_mce.js"></script>
>> <script type="text/javascript">
>> tinyMCE.init({
>>  // General options
>>  mode : "textareas",
>>  theme : "advanced",
>>  plugins : 
>> "safari,pagebreak,style,layer,table,advhr,advimage,advlink,emotions,iespell,inlinepopups,insertdatetime,preview,media,searchreplace,print,contextmenu,paste,directionality,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras,template",
>>  extended_valid_elements: "iframe[src|width|height|name|align]",
>>  // Theme options
>>  theme_advanced_buttons1 : 
>> "newdocument,|,bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,formatselect,fontselect,fontsizeselect",
>>  theme_advanced_buttons2 : 
>> "cut,copy,paste,pastetext,pasteword,|,search,replace,|,bullist,numlist,|,outdent,indent,blockquote,|,undo,redo,|,link,unlink,anchor,image,cleanup,help,code,|,insertdate,inserttime,preview,|,forecolor,backcolor",
>>  theme_advanced_buttons3 : 
>> "tablecontrols,|,hr,removeformat,visualaid,|,sub,sup,|,charmap,emotions,iespell,media,advhr,|,print,|,ltr,rtl,|,fullscreen",
>>  theme_advanced_buttons4 : 
>> "insertlayer,moveforward,movebackward,absolute,|,styleprops,|,cite,abbr,acronym,del,ins,attribs,|,visualchars,nonbreaking,template,pagebreak",
>>  theme_advanced_toolbar_location : "top",
>>  theme_advanced_toolbar_align : "left",
>>  theme_advanced_statusbar_location : "bottom",
>>  theme_advanced_resizing : false,
>>  file_browser_callback : "ezfilemanager",
>>  relative_urls : false,
>>
>>  // Example content CSS (should be your site CSS)
>>  content_css : "css/main.css"
>>
>> });
>> </script>
>>
>> Bet va narsykleje paziurejus source tesimato is viso sito tik
>> <script type="text/javascript" 
>> src="include/editor/tiny_mce/tiny_mce.js"></script>
>> <script type="text/javascript">
>> tinyMCE.init();
>> </script>
>> Neatrenku galu :( Gal ideju? Dekui pagalvojusiems.P.S. Tikrinau ar veikia 
>> JS, ir tai neturetu buti kliutis. Tikrinau keletu narsykliu. 
> 
>