Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Where is the 'parsers' folder?


Go to End


4 Posts   1129 Views

Avatar
Blackley1

Community Member, 4 Posts

28 March 2009 at 5:26pm

Hi, i am trying to install the Syntax highlighting on my blog and i cant find the folder named 'parsers'

http://doc.silverstripe.com/doku.php?id=recipes:syntax-highlighting&disqus_reply=7553544#comment-7553544

i am using the latest version of SS

Avatar
Blackley1

Community Member, 4 Posts

28 March 2009 at 9:05pm

Found the parsers folder... but that really didnt help at all....

i still can not make the parser work

i have followed the tutorial and even tested it so that it just returnd a string i defined... but nothing happened. that must mean that the 'replace' function is never being called or sent back to SS properly...

Im lost and utterly confused... i wish the search actually yielded results not just abstract information... the documentation on this needs to be made? or at least made usable....

Avatar
Blackley1

Community Member, 4 Posts

28 March 2009 at 9:27pm

So... it seems that using the

$content.Parse()

it just turns all my 'content' to text... it does not matter what you put in the () it just comes out all text...

tried the ParsedContent... nothing comes out of it...

i wish there was an easy way to implement source code highlighting

Avatar
Blackley1

Community Member, 4 Posts

28 March 2009 at 9:27pm

Edited: 28/03/2009 9:27pm

...