Posted in : Plugins & renderers, Renderers, Plugins
[lt]?php
echo 'hello world';
?[gt]
[lt]script type="text/javascript"[gt]
window.alert( "hello world");
[lt]/script[gt]
[lt]h1[gt]Hello world[lt]/h1[gt]
[lt]p[gt]Hello world[lt]/p[gt]
[lt]style type="text/css"[gt]
#hello{
color:#f00;
background-color:inherit;
}
.world{
color:inherit;
background-color:#f00;
}
[lt]/style[gt]Posted in : Plugins & renderers, Renderers, Plugins, B2evo cvs
Having seen this feature requested a few times on the [b2evo] forums, and having been stoutly nudged by an unnamed displaced yank with "I've been after this for ages as well" I've created a search term highlighter plugin.
As always to use this plugin, download [media phoenix/renderers/search.zip]this file[/media] and upload it to your plugins directory.
Go into admin for your blog and choose the settings tab and then the plugins subtab, and click the install link for the plugin.
The search keywords are highlighted with the css classes search_hit# where # is the keyord number 0 > x , I would imagine that 10 or so would be more than ample for any search that is done
There are a few flaws in the way the search results are returned by the evocore at the moment. If you search for <span> it will return any posts with <span> tags (which obviously can't be highlighted). I'm working on a way to overcome this without hacking the evocore, but at the moment the plugin just works with the evocores version of results
There's also a flaw which highlights words that are part of link urls etc, I'll hopefully be eradicating that one as well, if not .... well... I can live with it :p
¥
Posted in : Plugins & renderers, Renderers, Plugins, B2evo cvs
This plugin was written after a request by a frustrated displaced yank, on this thread on the [b2evo] forums.
Damn Scott, yer always making me work mate ![]()
Anyway, back to the plugin. This plugin allows you to add custom title, description, keywords, meta data, css and javascript to your posts (warning, only use the javascript ability if you trust everybody who has the ability to post).
It isn't quite as simple to use this plugin, you need to make a few changes to your skins, but none of the changes are difficult.
To use, download [media phoenix/plugins/css-plugin.zip]this file[/media] and upload it to your plugins directory.
Go into admin for your blog and choose the settings tab and then the plugins subtab, and click the install link for the plugin.