Could somebody help me modify sfBBCodeParserPlugin OR tell me where I should put folder 'HTML' with a real BBCodeParser and what should I do if I don't want write each time: require_once 'HTML/ BBCodeParser.php'; BECAUSE: sfBBCodeParserPlugin have strange standards.
http://en.wikipedia.org/wiki/BBCode In real BBCode we have: [url]...[/url] or [url=.........]Example[/url] http://www.symfony-project.org/plugins/sfBBCodeParserPlugin In sfBBCodeParserPlugin we have: [url href=..........]Example[/url] !! THIS IS HORRIBLE !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! I use TinyMCE: http://tinymce.moxiecode.com/ with option bbcode on, it converts url to real BBCode: [url=http://www.onet.pl]onet[/url] but it isn't correct for sfBBCodeParserPlugin - it can't convert it to link - it DELETES IT. So I had to use real BBCodeParser. I put in \sf_sandbox\web folder 'HTML' with files real BBCode and in action.class.php one of my module I have at the beginning: require_once 'HTML/BBCodeParser.php'; but it isn't comfortable, I must each time when I want use BBCodeParser write: require_once 'HTML/BBCodeParser.php'; Where should I put folder 'HTML' with BBCodeParser and what I should do if I don't want write each time: require_once 'HTML/BBCodeParser.php'; --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~----------~----~----~----~------~----~------~--~---
