views:

191

answers:

2

I dont know how to make works BBcode preview on Markitup Editor.

I followed all instructions and the editor is working but i really dont understand what to do to make the correct preview appear, actually I can open the windows preview but i cant get the html code. I had download the parser file (markitup.bbcode.parser.php) and settled the previewParserPath too and i readed about configure or create some preview.php but really I dont know how to do it.

So if someone have experience setting markitup bbcode please help me.

Thanks,

+2  A: 

open the parser.php file it contains only a function, doesn't it? so, without any echo, how does it can work? maybe it's a bug i don't know.

so, add the follow string wherever you want:

echo BBCode2Html( $_POST['data'] );
marco
What do you mean "Where ever you want"?
Brad8118
exscuse my english.you can add that row where you want, into the parser.php file.
marco
A: 

to: marco - > works great THX And I think it is not bug... file is just parser... I think missing some tuto in markitup page... how to install it

jatt