I wrote two different custom Ant tasks. They are trying to share data through a static member in a base class. This is not working for me.
I assume I am using static members correctly within Java. I think this is a dynamic loading issue with the Java VM. However, I am a relative newbie with Java.
Since Ant custom tasks are mapped a...
I am trying to add a custom icon to setup project. So instead of standard installer logo I have my custom logo.
To make it clear, here is the icon, which I want to change:
...
I Have created custom tinymce button using the code
setup : function(ed) {
ed.addButton('Tittle', {
title : 'Tittle',
image : './images/T.jpg',
onclick : function() {
ed.focus();
ed.selection.setContent('<tittle>' + ed.selection.getContent() + '</tittle>');
}
});
});
When i click ...
I'm trying to filter my posts to only show the ones with that have a custom value for the field "Model" while sorting the posts by another custom field called "Price."
Here's the function I'm using (not working):
<?php
global $query_string;
query_posts( $query_string . "&meta_value=Model&orderby=meta_value&meta_key=Price&order=ASC");...
I've made a Figure class that paints a square or circle etc based on constructor input.
Each instance of Figure paints a figure to my Panel canvas. I have a record of each instance and am painting them using the Panel's paint event.
NOW, I would like to trace each of these instances by clicking on it's graphic (so I could maybe delete ...
I have a UITableViewCell subclass that does its drawing in a drawRect: method. The whole rectangle is custom drawn, including the background.
I was able to get very complex cells while keeping the scrolling very smooth.
My problem: I call [table deselectRowAtIndexPath:path animated:YES]; whenever the view appears, in order to comply wit...
I have a global size and height set
CKEDITOR.editorConfig = function( config )
{
config.height = '400px';
config.width = '600px';
...
And I would like to change this height and width for only one instance of the editor on a seperate page. Has anyone else accomplished this?
...
When I use image attach it's creating too many extra images that I don't need.
I created a content type called "content_area_4" with Image Attach allowed.
I then created an image size called "content_area_4_thumbnail" with a Scale & Crop of 160 x 130.
When I go to create a node type of content_area_4 with
Teaser image size: content_area_...
Hi
I design a custom control that is similar to button control but has text on both left and right plus image on right and some hidden text associated with it. Can some one please give me few pointers on this.
-Thank You
...
i'm using Wordpress 3.0.1 and i have made custom post-type called 'dienasgramatas'. my plugin also makes custom rewrite rules for displaying all posts from this post type and even custom permalink structure to query posts with this post type coming from defined author, but i can't create rule for pagination:
the one that works:
$new_ru...
Does anyone have an example of how to test a custom Zend_Form that extend from that class with PHPUnit?? I may need to test the construct and the init... where i'm adding elements to the My_Custom_Zend_Form.
...
Hi All,
I’m trying to build the custom grid with fixed Header and Column in Silverlight. I don’t know whether SL has built in functionality to build this or not because I’m very new to SL. Please take a look the following codes. I don’t think that this is the right way to build this. If you don’t mind, please refactor my codes and pleas...
Hi all,
I'm using wordpress custom field called company_name at the end of the post to display company name. I'm able to display the value of custom field but the output coming is not hyperlinked like wordpress categories.
What I want is when visitor click on the company name wordpress should show all posts related to that company.
...
They have states for things like pressed, focused, disabled, but is it possible to create custom states so it could reflect some of my own custom criteria?
For example, say you have a list of names. Some people fall into a certain category that should be visually represented differently. These people's rows would then have a different ...
Basically, I have created a custom post type and a custom taxonomy for that custom post. The custom taxonomy is hierarchical and the client plans on adding hundreds of categories. Because of this, they want the main page to display only the top level parent which is easy enough. However they want a drill down menu which only shows the pa...
Hi everybody.
I wont to develope my own toolbox like on visual studio.?what I have to study for.I need an idea or an example for begining.I need your help.
Thanks
...
I'm making a restaurant menu using custom post types for the different menu sections. I used the excellent Custom Post Types UI plugin and the Verve Meta Boxes plugin. I'm then flowing them out into separate loops with several segments of the below code:
<?php
$hotfood = get_posts( array('post_type' => 'hotfood', 'posts_per_page...
Okay so, I have read that .INI files have become obsolete now and the .NET Framework creators want us to use .XML files. However, I feel that it would be difficult for some of my users to use .XML files so I thought of creating a custom config file.
I have a list string which has 3 parameters (it is actually the snippet function in Scin...
For a project I am working on, I am trying to do the following thing.
There's a Sharepoint 2010 environment, with a few Custom Lists created in Visual Studio. I am adding some fields to them using background code in the FeatureActivated function in the EventReceiver.
What I am doing there is adding a lookup field to the Sharepoint Lis...
So, now that my previous problem was fixed, I was trying to organize the files a little bit. I found out a 'Note' type field (A multi-line textbox) was supposed to be a Multi-Pick User field. So, I decided to change that.
I seemed to change everything, but it just doesn't want to change the type. Which is much a good thing to do, seeing...