If you are to develop in an environment where it is impossible to use the debugging tools like FireBug , such as the Apple iPhone simulator in Xcode, it can become frustrating to find problems, including an incorrect access to all properties of an object. Here is that the use of works alert() is fundamental!
Articles Tagged 'trick'
Very short trick: log JavaScript objects
Very short trick: how to use NSFileManager
, in quanto quest'ultimo restituisce un'instanza singleton, cioè sempre lo stesso puntatore ad oggetto (non thread safe). Apple recommends using the object instance NSFileManager and not its class meotodo defaultManager , as the latter returns an instance singleton, ie the same pointer to the object (not thread safe).
Very short trick: WordPress, customize the Meta Box thumbnail
In reference to this Comment : The Metabox thumbnails usually has the title set to "image evidence".
Very short trick: to customize the view of the categories
Not everyone knows that you can customize the display of categories, very quickly by exploiting a property of the Category Templates. Normally we're used to always see the categories with the file archive.php .
Very short trick: making invisible HTML comments
Comment HTML is a practice during the early stages of Web development, however the commented code remains visible on the page, even if it is ignored by the browser. By selecting "View Source" or "View Code" from our browser, we will be able to see it.
Very short trick: 3 tricks for developers Apple iPhone
Application Icon
57 × 57 pixel icon that will represent our application is "impaired" by the Apple iPhone automatically: you add a rounded edge, a bright and 3D effects. This setting can be changed by selecting the file [nome applicazione]-Info.plist and adding the property "Icon includes gloss and bevel effects Already":
Very short trick: WordPress, reset a query
I often happen to customize the home page ( index.php ), or other sections such as the Sidebar, a Web site made with WordPress. Many of the customizations affect loop with specific parameters, for example in order to view the last items of a specific category or tag.
Very short trick: WordPress, highlight the results of a search
There are many plugins for WordPress that allow to improve the characteristics and performance of the "Search". Almost all available Plugins have an attractive and useful feature highlight search terms in the search result. If you do not plan further appensantire your WordPress installation, but do not want to give up everything to a similar feature, here's how to easily implement a "highlights" of termites in the search results.
Very short trick: WordPress, excluded from the search pages and post
The motor inside of WordPress used for research (the standard without the addition of plug-in) performs a classic low-level query_post() . The search is dapperttutto without exclusion. This feature can be controlled, however, allowing, for example, to search all over except in special categories, pages or posts.
Very short snippet: Wordpress, soon on your blog
WordPress, like most of you know, allows you to publish a post "post-dated" (good pun). In practice, the post is stored with a date that is yet to come. This allows many bloggers to "schedule" (program) to publish the post without worrying about being in your console to the publication itself. It also allows you to maintain a constant after the publication of even when we are on vacation.






Latest Comments
Robert : I rispsoto your questions with pleasure. The idea is really great. I am looking for a solution ...
Sting : @ Darius - you can see an example here: http://www.fight4fun.it/ clicking on: MAPS I hope ...
vik : Giustappunto I'm working on a project and the client asked me to show all the news (which are CPT) in ...
Giovambattista Fazioli : @ paso: absolutely. Simply identifying the field [cci] input [/ cci] you want to ...
paso : Hello I would like to request a service, you can use the datepicker with cform7 I spiegp best I can implement ...