The following warnings occurred: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
|
syntaxHighlighter plugin - Printable Version +- GetSimple Support Forum (http://get-simple.info/forums) +-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3) +--- Forum: Developer Discussions (http://get-simple.info/forums/forumdisplay.php?fid=8) +--- Thread: syntaxHighlighter plugin (/showthread.php?tid=1650) |
syntaxHighlighter plugin - bogyvet - 2011-05-03 Simple plugin highlight your source code. SyntaxHighlighter is a fully functional self-contained code syntax highlighter for different Programing Languages. Libary source http://alexgorbatchev.com/SyntaxHighlighter/ syntaxHighlighter plugin - Connie - 2011-05-03 bogyvet Wrote:Simple plugin highlight your source code. I will test it, as I did integrate it into one of my test-installations at www.urbanistan.de/getsimple already and was wondering how to use as a plugin My main concern is that the necessary JS-files will only be loaded when needed and will not be loaded in all pages, I will check out! THanks for your effort! PS: when you decide to upload it to the EXTEND-section here after some tests, please use ZIP-format and not rar, as this will avoid confusion ;=) syntaxHighlighter plugin - Connie - 2011-05-03 1) name of plugin should be "Syntax Highlighter" and not "Syntax Highlighterr" with double r ? 3) no info how to use it, when it is uploaded into /plugins, instead I get Quote:Notice: Undefined variable: SITEURL in /var/www/web10/html/getsimple/plugins/syntaxHighlighter.php on line 37 Is this a plugin for GetSimple or a plugin for CKEDITOR? I remember I integrated the highlighter as CKEDitor-Plugin not as GS Plugin, see here: http://www.urbanistan.de/getsimple/syntax-1 so do us a favor and describe how to use that plugin and add a readme to the your files Cheers, Connie syntaxHighlighter plugin - bogyvet - 2011-05-11 I know for CK Editor Highlight implementation I implement it in mine site. This is plugin just for Front End use If you use this feature just include this plugin and your Highlight will work. syntaxHighlighter plugin - Connie - 2011-05-11 I still not get the difference to the CKEditor-plugin please explain and please give info how to use it Cheers, Connie syntaxHighlighter plugin - hameau - 2011-05-11 It's a highlighter script for code snippets that you show on pages in the front end – site visitors see the highlighting. See the source site link in the first post for a demonstration and instructions. syntaxHighlighter plugin - Connie - 2011-05-11 I know the principle, but I still don't know what is the difference to the integrated script in the editor, the texts on the frontpage are formatted as well if I do that in the editor, see here: http://www.urbanistan.de/getsimple/konfiguration-des-ckeditors/code-highlight/ Cheers, Connie syntaxHighlighter plugin - hameau - 2011-05-12 Ah, I thought it was strange that you didn't know what a code highlighter is! Connie Wrote:the texts on the frontpage are formatted as well if I do that in the editor,So, you probably don't need this plugin ... syntaxHighlighter plugin - bogyvet - 2011-05-12 Well I guess I didn't follow instructions I found on some topic to and add script to template header. There are people that are not programing guru. And this is easy way. But anyway as always I always see arrogance. If you want to GETSIMPLE grown you must leave arrogance behind you. Be kind to community members help them that is key. End user do not care if you are perfect coder, they just need functionality and help. Have patience and as I see GETSIMPLE have great future. If not GETSIMPLE will finish as e107. syntaxHighlighter plugin - Connie - 2011-05-12 Sorry, that you see my repeated questions as arrogance this is not my intention. I think I must not repeat my argumentation, just trying to make clear that I asked repeatedly because I wondered why you made this plugin and in what point it differs from the editor implementation you did not answer my question in a way that I understood it. That is not arrogance, that might be my lacking intelligence or whatever, but I am far from arrogance. If I ware arrogant, I would not contribute in a forum at all, I would keep my knowledge (and questions) for me and share nothing with others. So please, let us come back to the original topic and please try to explain what is the difference between a general plugin and the editor-implementation what are the pro and cons ? syntaxHighlighter plugin - hameau - 2011-05-12 Connie Wrote:what is the difference between a general plugin and the editor-implementationIt's up to the user to decide what the pros and cons are for a given plugin. I don't see that the plugin author has to justify his work at all, beyond "This scratched my itch, this is what it does, you may find it useful, too." Does it duplicate a similar feature for CKEditor? Quite probably, from a front-end visitor view. So what? It's a different way to get the same result – choice. Connie Wrote:If I ware arrogant, I would not contribute in a forum at all, I would keep my knowledge (and questions) for me and share nothing with others.I'm afraid what you write often appears to be arrogant, though I am sure it is not intended that way. syntaxHighlighter plugin - bogyvet - 2011-05-13 OK as I see this post about Highlighter Quote:http://get-simple.info/forum/post/11340/#p11340 I think yours Connie. Quote:- you need to load the original Syntaxhighlighter Script from Quote:- after the content in the template, you must add: I think that is not SIMPLE but this call it whatever you want plugin I wrote. You can skip this steps. You do not need to modify template file that is purpose of this plugin. And I think this is an easy way. About: Quote:If I ware arrogant, I would not contribute in a forum at all, I would keep my knowledge (and questions) for me and share nothing with others. I think that contribution and arrogance have nothing in common. Arrogance is attitude in relations with other people and have nothing in common with other person characteristics. I know a lot of people that are excellent persons but arrogance make that people think they are not. |