custom

WordPress: Creating a search form for custom post types

What should I look into if I want to build a form that searches through custom post types, i.e. a completely rebuilt form? Creating the actual form and it's elements is no problem but the next steps brings up a lot of tricky questions such as 1. How can I pass $_GET data to another file maintaining WP's permalinks intact? and 2. How can ...

How to insert dynamic string in wxpython html window? (wx.html.htmlwindow)

I am making a html window in wxpython and want to print it. Before that I need to enter user input (such as his name or such things ) in the html page. How to do that nicely? Thanks in advance, ...

How to toggle between UITextView's inputviews.

Hi, I am getting problem in making my application compatible with iphone 4.0 My problem is like this. When i click on a UITextview a custom keyboard is showing UIView *test=[[UIView alloc] initWithFrame:CGRectMake(0, 160, 320, 215)]; UIExtendedKeyBoard *objKeyBoard =[[UIExtendedKeyBoard alloc] initWithFrame:[test bounds]]; ...

android custom button

i would like to create a custom button like this: http://i77.photobucket.com/albums/j74/bertyhell/button.png?t=1279626910 but that doesn't work i need to show the text on the buttons with absolute positioning relative to the buttons origin all strings need to be changeable at runtime but the button below can be a regular button how c...

Adding custom control dll to web application project does not work.

I have project B, which is a class library project. I compile it and it creates a dll. In my project B which is a web application project, I add a reference to the A.dll, and I click on toolbox and select choose item, navigate to dll, and click on it. The control does not show up on my toolbox. When I right click my toolbox and select "s...

Adding Custom functionality to jquery slider.

I need to create a custom image slider with some functionality that I've never seen before. I'd like to use an existing jquery slider if I could (something like - http://nivo.dev7studios.com/) and then customize it but I'm really not sure were to start. I need to have 4 boxes each with a small image within. Below would be a slider that...

Custom UITableViewCell with 3 labels

Hi guys, I have a custom UITableViewCell and in it I have 2 labels. The 2 labels in the custom cell have name and location. What I need to be able to do is, select a row and use the text in the name label of the row as the title for the next viewController. Any ideas on how I could do this? Thanks. ...

Custom icon on Google Map

Is there a way to use the information from Google Maps but change the icon when you use it on your website. By this I mean that there is a restaurant with information already in Google Maps that we want to use on their site, but change the marker. I know how to create the marker and create my own info window, but I'd rather use the info ...

Combo box custom renderer while enabling/disabling combo

I have 2 combo boxes, one dependent on another. For the second combo I define custom renderer and it's disabled. It should enable when some items of the 1st combo is selected, but it clears all values instead. The problem is that the values are set but are not rendered. In constructor: comboBoxes[1].setEnabled(false); comboBoxes[1].set...

Add something like ShowDialog to a custom User Control?

When a user selects a button a custom user control is added to the form. This user control provides the ability to enter in some values. How do I wait for the user control to complete before changing the value on my main form? I was thinking of something like this: customControl ylc = new customControl(); ylc.Location = new Point(11,...

jQuery Validation Plugin - Submit only after checking a variable

I have done some small validation myself and end up with either - myvalid = true or mayvalid = false. How can add this check to the validation I am doing already on my form using the Validation Plugin? ...

Can't align fields horizontally on custom pop up screen in Blackberry

What I want to achieve is to have a custom popup screen with specified width and height. On that screen I add two buttons which stay in one row and align center horizontally. public class CustomPopupScreen extends PopupScreen { ButtonField minimizeBf; ButtonField cancelBf; HorizontalFieldManager hfm; public CustomPopupScreen() { s...

custom uitableviewcell

Hi , i need to create a screen which is a replication of the default iphone stock application without the scrolling on the bottom table , what would u think is the best way to replicate the look and feel of the screen ? i've created a uiview and added two uitableview setting the delegate and datasource to the same view for both of them...

Custom Profile Provider with class library

I have a class library (lets call it a) which i've created a custom profile provider in. I reference this library in another class library (lets call this b) which is part of a solution along with a web application. Now how do i reference the custom profile provider in class library b. I've been following this article http://leedumond.c...

Custom Data-types classes

Im thinking of making a custom datatypes / prototypes for a project im working on but im wondering if its such a good idea? For example class String { var $Value; private $escaped = false; function __construct($String) { $this->Value = $String; } function escape() { if($escaped === false) ...

Visual studio deploy application custom action

;Hello I am trying the deploy an application with visual studio and I have a problem with custom actions. I would like to launch a .exe during the installation, and it does not work. I have addded the .exe to the MSI and in the custom action view, I added the file .. pretty simple. I cant see how it cannot work. I tried to do the same wi...

Wordpress: update all field values?

I want to update all field values (of a custom field) to a specific value. Would like to make it like a function and run it on a specific page or when button is clicked. Possible? ...

custom ondraw method not called !

<LinearLayout android:id="@+id/svLL" android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="fill_parent"> <ScrollView android:id="@+id/sv" android:layout_width="wrap_content" android:layout_height="wrap_content" xmlns:android="http://schemas.android.com/apk/res/android"&gt; ...

custom draw android scrollview

i am trying to do a custom view in android. i want to draw a image on top and then down to that rest of the screen a scrollable draw text. thats why i did a xml layout and the custom view inside a scrollview beneath imageview but for some reason the ondraw is not called. if i do setContentlayout(new CustomView(this)), it calls onDraw b...

Wordpress: Sort Order by Custom Field Numerically

How Can I sort the custom field data numerically which is stored as string. I can't change it into database. query_posts($query_string. '&orderby=meta_value&meta_key=price&order=DESC' ); This is what I am using but it is sorting it as string as this is stored as string as well. Can anyone tell me how can I convert it into numerically...