phpsrc.module

Posted by gordon on Sun, 25/01/2004 - 1:39pm

This is a filter I quickly wrote for so that I can have any php source that I put into content highlighted.

[?php
echo "hello world\n";
?]

Not only can you hilight code that is typed in but instead you can get the filter to include directly from another php source node.

This works much the same as how the project module does it, but I wanted it work with all modules, thus a filter would work alot better than how they have added it to the project module.


new version

I fixed the conflict with the title.module and have added some help.

conflicks with title module

this module can conflict with the title module esp when you user something like

[?php
echo $_POST["edit"]["test"]
?]

The title module will try to turn the ["edit"] and ["test"] into url's.