You can enable featured images for posts and set their size by using the following code in your function.php file:
add_theme_support('post-thumbnails');
set_post_thumbnail_size(107, 69, true);
but this sets the image size globally for any post types. Im using wordpress 3.0 and have created my own custom post type. Is it possible to ap...
Hi, the problem I am trying to solve in an application that is using Core Data is to be able to hold a calculated value in a NSManagedObject custom ivar. The calculated value that I want to store is in fact an image. I do not want to persist these images; I build them and destroy them throughout the lifetime of the application. I tried a...
Hi All
I create a custom User control and I want this custom control placed inside a combo box.
I'm using this code:
public class UserControlComboBox : ComboBox, IMessageFilter
{
public readonly NimaDatePickerUC.MiladiNimaDatePickerUC UserControl = new NimaDatePickerUC.MiladiNimaDatePickerUC();
protected override void WndProc(r...
I try this code but it's a mistake because i have a repetition of title and description...
Someone can help me please?
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {
static NSString *CellIdentifier = @"Cell";
CustomCell *cell=(CustomCell *)[tableView dequeueReusableCellWithIden...
Hi,
I am trying to render my listview containing names of doctors and few more details using a tablelayout component showing 4 textviews in each listview item. But I get an error while I am doing this..PLEASE HELP! I have a project deadline tomorrow.
When I debug by code, the control goes till IconicAdapter() constructer, from there it ...
Hello!
How can I generate action link with custom html inside.
Like following:
<a href="http://blah-blah/.....">
<span class="icon"/>
New customer
</a>
...
Hi all, so I have google maps directions on my website, I have managed to change the icon, although I can't seem to get it to align it with the original marker shadow (which I actually need help removing also, it's just a good point to show that my custom marker is off). I hope this made sense?
The url is: http://www.emuholidaypark.com....
I found code that would change the standard dt and dd tags to table tags for a Zend_Form_Element. Here is the code I used:
$element->setDecorators(array(
'ViewHelper',
'Errors',
array(array('data' => 'HtmlTag'), array('tag' => 'td', 'class' => 'element')),
array('Label', array('tag' => 'td', 'class' => 'rightAlign')),...
Hi
I have a created a zend form, works fine along with validations.
Is there anyway I can add a custom validation within this form for the email address, for example I want to set a validation to check if the email address supplied by the user is hotmail, as I want to accept only hotmail email addresses.
<?php
class Application_Form_R...
I'm writing a custom SSIS task. At the moment, each time I make a code change, I'm having to recompile and re-gac the containing assembly, restart my test SSIS package, delete and re-add the task from the tool box, then re-add the task and run the package.
Does anyone know if there's a way of stepping through my custom ssis task code at...
List<MyObject> objects = (from a in alist
join b in blist on a.ID equals b.ID
where a.Number != 4
orderby b.Rank, a.CustomField
select a).ToList();
This is my query and I want to use a custom Comparer for the CustomField property. Is there a way to do that in a two-field orderby?
I am able to do this:
List<MyObject> o...
Heya,
Hoping someone can help.
I've inherited a WP based website which has WPMP already installed & activated & working on it (I can see it work on many pages).
I've had to create a custom template & a few pages that use this template. Unfortunately, when I switch to mobile mode (or check out the new pages on my iPhone), no posts show...
I'm using NPOI to generate XLS spreadsheets. NPOI is an Excel Spreadsheet generation library/API that is available on codeplex, enables you to create workbooks, formatting, formulae and so on and so forth....I use it to create workbooks with multiple sheets that contain the output of the various calculations.
I've used the following cus...
Hi,
I need to create an installation file for Windows in such a way that the setup:
Registers the .exe at startup so it launches everytime machine is booted
Runs the .exe and opens a webpage upon completing installation .
Could anyone please give me some tips on how I could do this?
...
Hello,
How to customize standard search behavior in Drupal 6? I need search results to be sorted by date. In example, people want to show items within 2 past weeks or something like that.
I've tried a lot things on this reference without luck. Have you ever encountered such problem? Any help will b appreciated. Thanks!
...
I am using this custom route to enable paging in my index method in Home controller:
routes.MapRoute( _
"HomePage", _
"Home/Index/{page_num}", _
New With {.controller = "Home", .action = "Index", .page_num = ""} _
)
But when I navigate to any page for example page 2, actionlinks append the page number to the url:
...
Hey all,
I work in a software company with the orientation of recovery, partition, and backup. We began custom software program, but we are a little bit lack of such marketing experience.
Any one here could tell me some advice..
Thank u all
...
I've been trying to answer a complex Mysql data structure problem for custom fields for an online app. I'm fairly new to Mysql so any input is appreciated.
The current database is a relational database and each user of the service will share the same database and tables.
Here is an example of what I'm trying to do.
Let's say I'm tryi...
Hi,
Does anyone have any idea how to disable asp.net custom errors only for a specific ip address? this will ease debugging exceptions on my server from my office..
Thanks in advance
...
Hi guys,
I'm trying to create similar select boxes on my ebay product page. Any ideas would be greatfully apreciated! See caption below;
http://markup.io/v/wnmqqc4e4a33
...