Something nice and quick I’ve come across recently whilst upgrading my IP.Board modification to a new version 3 “Application”. In the Admin CP on the My Apps dropdown there is the ability to have a nice little icon beside the title. You’ll find the IPS calendar has this and I wanted something similar.
As it turns out this is fairly simple – providing you are using the application structure in version 3. Simply add your icon to the skin_cp folder as appIcon.png.
Done!
Couldn’t find anything about this when I searched so I thought I’d put it here.
As my involvement in the dev side of WordPress grows, I’ve been working on increasing the PHPDoc comments through the major parts of the code. A particular challenge I stumbled across today was trying to talk about certain HTML tags in the comments in a way that they wouldn’t then be turned into the actual tag when phpDocumentor ran.
So basically I wanted to say something like
This function returns a properly formatted <pre>…</pre> block
However I found that doing that caused the <pre> tag to be used as part of the page when the docs were transferred to the HTML format.
The solution I discovered was to reference the tags as <<pre>> or <<br />>. This seems to preserve the tag in the finished documentation as a comment and not part of the page.
I struggled to find this in google, so though a little blog post might just help someone.
Recent Comments