Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » Blog: Code Colouring / Forum Searches

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

Page: 1
Go to End
Author Topic: 668 Views
  • Hamish
    Avatar
    Community Member
    712 Posts

    Blog: Code Colouring / Forum Searches Link to this post

    First of all - it's really annoying that if you search for two terms in this forum it searchs for "a OR b", instead of "a AND b". It would make finding answers to questions that have already been asked a lot easier (or possible).

    Secondly, wonder if someone can help me enabling php code colouring in content - specifically for the blog module, but for other pages too. I've dug into the HTMLBBCodeParser functions and tried to create a new filter that extracts a tag (eg "[php5]") and applies hightlight_string to the content, but the parser doesn't like it.

    Has anyone done this already, have a plug-in or can otherwise help? Thanks!

    668 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.