Author: tchemit Date: 2008-05-19 18:29:29 +0000 (Mon, 19 May 2008) New Revision: 60 Modified: trunk/lutinrss/src/main/resources/fckeditor/editor/plugins/rssinclude/README.txt Log: use external configuration file fckconfig.js in order to not touch fckconfig.js... add feedrepr in feeds.txt (use lowercase attributes...) Modified: trunk/lutinrss/src/main/resources/fckeditor/editor/plugins/rssinclude/README.txt =================================================================== --- trunk/lutinrss/src/main/resources/fckeditor/editor/plugins/rssinclude/README.txt 2008-05-19 18:28:12 UTC (rev 59) +++ trunk/lutinrss/src/main/resources/fckeditor/editor/plugins/rssinclude/README.txt 2008-05-19 18:29:29 UTC (rev 60) @@ -2,38 +2,14 @@ Installation Instructions 1. Copy rssinclude directory into "editor/plugins/" -2. In fckconfig.js make the following additions : - * add the following line after where "FCKConfig.PluginsPath" is defined - FCKConfig.Plugins.Add("rssinclude", "en,fr"); +2. Copy myfckconfig.js in fckeditor root path and customize it (or merge the + content in your already customized config...) - * add 'rssinclude' to your toolsbarset in fckconfig.js. E.G., +3. To create an editor use this code - FCKConfig.ToolbarSets["Default"] = [ - ['rssinclude', 'Bold', 'Italic'] - ] ; +var oFCKeditor = new FCKeditor( 'editorName' ) ; +oFCKeditor.Config["CustomConfigurationsPath"] = oFCKeditor.BasePath+"/myfckconfig.js"; +oFCKeditor.Create() ; - * add variables : - - // to authorize user to add a new feed - FCKConfig.RssCanAddFeed = false; - - // url to create a new feed - FCKConfig.RssAddURL = '/website-workshop-lmfr/srvwebsiteworkshop?action=doRss&rssAction=edit'; - - // to authorize user to edit a known feed - FCKConfig.RssCanEditFeed = false; - - // url to edit a known feed - FCKConfig.RssEditURL = '/website-workshop-lmfr/srvwebsiteworkshop?action=doRss&rssAction=edit&rss_name=' ; - - // url to render a feed - FCKConfig.RssRenderURL = '/website-workshop-lmfr/srvrsspublication?action=feed&feedName=' ; - - // url to obtain known feeds as a list of html options - FCKConfig.RssKnownFeedsURL = '/website-workshop-lmfr/srvrsspublication?action=feedList' ; - - // url to obtain rssinclude script - FCKConfig.RssScriptURL = '/website-workshop-lmfr/srvrsspublication?action=js' ; - Please let me know if you experience any issues.