Hi All,
I need to change the default blue color selection of table view to some custom color. Is there any way to do that. Help me
Thanks in Advance
Shibin
The amsthm theorem environments (theorem,example,proof,solution,...) make blocks on beamer slides. The default is that example environments use a different template (block example) than theorem or solution or proof (block).
How do I make solution use a different template like "block solution" that I can define?
I have a model defined as below:
class Example(models.Model):
user = models.ForeignKey(User, null=True)
other = models.CharField(max_length=100)
The problem is Django refuses to assign django.contrib.auth.models.AnonymousUser directly to Example.user as null field so everytime I have to check if request.user.is_authenticated() ans assign Example.user = None manually.
Is there a default value for AnonymousUser to use in a model field?
Hello all,
Does smomeone know how I set the scrollbar position in an EditView programmatically.
I'm appending the text during special events but I want the EditView to scroll down to the latest text added so it'll be visible. But default the scrollbar does not move automatically when appending text.
/ Henrik
For some reason when I add a HTML module (well the default module added to DNN 5.4) and then add the "AddThis" javascript. While the button shows up clicking on it opens up a new page rather than showing an iframe modal message or on hover a list of popular social media networks to share the page with. Wonder what would be the easiest way to resolve this and why this happens?
When I am parsing an xml string as below I get strange attributes like "autowire" with value "default". Is there anyway I can get the attribute that are explicitly defined?
<bean id="aaaa" class="com.test.Service">
<property name="cccc" ref="cccc"/>
</bean>
Hello,
Is it possible to make a site "Home" in MOSS2007?
For example, when i enter my Sharepoint portal, i see two tabs on top:
Home | Just a Site
I want to delete the site under Home and set "Just a site" as default site (or Home?).
Thanks.
what is the preferred practice when linq2sql using (in asp.net mvc applications): to create "singleton" for DataContext like:
partial class db
{
static db _db = new db(global::data.Properties.Settings.Default.nanocrmConnectionString, new AttributeMappingSource());
public static db GetInstance()
{
return _db;
}
}
or to retrieve new instance when it needed within using:
using (db _db = new db())
{
...
}
the usage of using brings some limitations on code. so I prefer to use singleton one. is it weird practice?
Is there a default classpath on mac OSX10.6. When I echo $CLASSPATH, nothing would show up. In my .profile, I only see PATH variable being set. My problem is that My servlet cant seem to find a suitable driver to connect to the mysql server. I use Eclipse, with Glassfish v3 and MAMP for MYSQL server.
Hello,
How to create imaged scrollbars, for example:
http://www.openstudio.fr/jquery/index.htm
Basically, I want to create my own image slider with JQuery but I don't want to show default scrollbars. Instead, I would like to have imaged scrollbars.
One of the most appealing features of Ext-JS is the Grid control in my opinion. I was searching for something free that does something close and have set my hopes on jQuery.
I haven't found a jQuery (or other LGPL compatible) Table / Grid plugin that allows to:
Reorder columns by dragging
Resize columns by dragging
Add or Remove columns on the fly
Have a default good looking UI (subjective, but Ext-JS look I think is a concensus)
In addition to the rest most grid controls have (Sort, Paging etc)
Is there a free (LGPL) jQuery plugin that does the above?
I was adding recent videos gadget on my blog. In that widget i was supposed to add this line
<script src="/feeds/posts/default?orderby=published&alt=json-in-script&callback=showrecentpostswiththumbs">
also, i added another script which was having the method showrecentpostswiththumbs [ used in callback ]. Please let me know what does above syntax do?
I've been adding this to my pages:
pagewithinclude.cfm
<cfinclude template = "_pagename.cfm">
_pagename.cfm
<cfif Not IsDefined("variables.included_pagename")>
<cfparam name = "variables.included_pagename" default = "1">
rest of page
</cfif>
Is there a better way in CF? Something similar to PHP's include_once?
Does anyone know how to workarounds Heroku's limitations on writing to the theme files for the Typo blogging platform? I'd like to take advantage of the theming capabilities right from the browser. If any theme's stylesheet is changed I get the error message "Unable to write file" in addition to the fact that any theme being changed to one that is not the default causes the page to lose all styling and is displayed in plain text.
I followed this (awesome) blog entry to get it up and working.
I've got a UINavigationController and i've changed it to white using the Tint property of the navigation bar in Interface Builder. But the text in buttons and the title is still the default color, white, and so gets lost against the white background. Anyone know how to work around this?
Hi,
I want to use the youtube api to get the users new subscription videos with this api call:
http://gdata.youtube.com/feeds/api/users/default/newsubscriptionvideos
Without logging in I get this response:
User authentication required.
Error 401
How can I login to youtube from php?
I have a problem in DatePicker on android
I can't make it smaller than default size
This is the XML code which used:
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical" >
<DatePicker
android:id="@+id/datePicker1"
android:layout_width="70dp"
android:layout_height="40dp"
android:layout_alignParentLeft="true"
android:layout_below="@+id/addevent_location" />
</RelativeLayout>
Any help please
Hello,
My Eclipse RCP application requires a configuration file that contains some information to connect to a remote database. Where is the best location to store this configuration file?
Can I use the default configuration directory (where 'config.ini' is usually stored) for this purpose? If so, how can I get a File instance to this location programmatically? I also note that this directory does not exist in my Eclipse IDE.
Thanks.
I have a 57x57 PNG file in the root of my bundle, and the "Icon file" setting in my .plist file has the correct filename, but when the app is installed to the simulator, the icon is the default grey/white one.
I've tried deleting my app from the simulator (both through the simulator and through rm -rf on the app directory from the console), I've tried cleaning my target, and I've tried renaming my app icon, all to no avail.
What do I have to do to get the icon showing?
Why does Qt on OSX appear to default to overly large fonts? Even when you select the same font size manually the fonts appear slightly bigger. Does Qt on OSX use a different font rendering to OSX? Does this improve if you use Qt for Cocoa?
In addition, is there a qtconfig tool or equivalent to globally set the font settings for all Qt applications?
Thanks!
I have just created a new Telerik report, and set its page size to A4, portrait, yet the default page width is 140mm, way short of the A4 standard 210mm. What is going on with the report or the report designer?
I'm writing a cross-platform python script that needs to know if and where Cygwin is installed if the platform is NT. Right now I'm just using a naive check for the existence of the default install path 'C:\Cygwin'. I would like to be able to determine the installation path programmatically.
The Windows registry doesn't appear to be an option since Cygwin no longer stores it's mount points in the registry. Because of this is it even possible to programmatically get a Cygwin installation path?
Hi,
why does such a instruction as
mul $t1, $v0 , 4
evaluates as expected. But
mul $t1, 4 , $v0
results in a syntax error!
I wonder why the first one works, because mul only works with registers per default, so I expect that only a solution like this will be workin
li $t1, 4 # set $t1 = 4
mul $t1, $v0 , $t1 # set $t1 = 4 * n
I'm using the SPIM simulator.
Hi!
I have a custom document library which is based on default document library. I'd like to disable Edit physical document for some of the documents depending on their property.
When viewing a jpg or mp3 in Windows Explorer, the bottom pane shows metadata from the media file. Furthermore, for video and picture, the icon is shown as a preview of the media.
Is there a way to add this kind of functionality to windows for custom file types that aren't supported by default in windows? Is there a certain sort of plugin or extension that must be written? If so, how is it implemented?
Thank you.