I am new to using Magento, this is my fist site using it.
I want to display the attribute set for a particular product on the product view page but cannot work out what code I need for this.
Hi,
i have installed sfDoctrineGuardExtraPlugin and when i try to execute an action from sfGuardRegister or sfGuardForgotPassword i get the sfDoctrineGuardUser signin form.
I have the security set to false. I don't have that problem with other modules.
Any idea?
sfDoctrineGuardExtraPlugin 1.3 and sfDoctrineGuardPlugin 4.
Javi
I'm kind of on the right track, however my output is not quite right. The program asks for the number of integers you have and then it asks for those numbers. For an example is says please enter the number of integers, you can put 3. And then you enter 3 numbers. I can't use arrays because I am a beginner student and we have not learned those yet. Using count is the only way that allows me to input integers. What do I need to add to my program? Again I am a general computer science student so I can't use anything advanced. I used include iostream, namespace int main and all that you just cant see it
int data;
int num;
int count=0;
int max=0;
do
{
cout<<"Enter the number of intergers"<<endl;
cin>>num;
while (count<num)
{
cout<<"Please enter a number"<<endl;
cin>>data;
count++;
if (data<min)
{
min=data;
}
if (data>max)
{
max=data;
}
}
cout<<"Smallest integer:"<<min<<endl;
cout<<"Largest integer:"<<max<<endl;
cout<<"Would you like to continue?"<<endl;
cin>>ans;
} while ((ans=='y')||(ans=='Y'));
return 0;
}
Hi,
I am reading the excel sheet as well as exporting the read excel. I want to set the Fill (backg color) color to header row of exported excel sheet.I am using C# +asp.net.
Hi Guyz,
I am new to GWT, and I need to set the controls positions arbitrary on CTabItem.
I've used the following code, but it seems that it had no positioning effect, it just add the component to (0, 0)
Label userName = new Label(folder, SWT.NONE);
userName.setText("username");
userName.setBounds(10, 200, 200, 50);
item.setControl(userName);
Hey, I have a python application that opens some plots for me and then asks the user for input.
The problem is, that after opening the plot, the focus isn't on the terminal anymore, so you have to click or tab to it manually.
I would like to set the focus to the terminal window with python - is that possible?
I'm using gnuplot.py, maybe there is an option to open the plot in the background?
Thanks!
I have an input stream from a binary file. I want to create a bitset for the first 5 bits of the stream. Here is the code I have so far:
ifstream is;
is.open ("bin_file.out", ios::binary );
bitset<5> first_five_bits;
is >> first_five_bits; // always is set to default 00000
I have a table row that has the error message in it.
...
Now if someone forgets to enter text or bad text in a textbox, I want this form field to be set to visible.
Can I use a asp.net validator for this or?
I want a TextView to have a rounded border. This can be done by using a drawable, specifying a shape in the drawable, and then using the drawable as the background of the TextView. android:background="@layout/border" Also shown here
However, my TextView already has a background color (which is gray) and thus I'm unable to use the above method to set a rounded border.
Is there any other method to do this which allows the background color of the TextView to remain gray and also surrounds it with a rounded border?
I've putted a Description attribute on my property,but the Description property on the ModelMetada is null anyway.
[Description("sss")]
public int Id { get; set; }
BTW Is I've putted corect?
This is probably really easy for most of you. But I'm in need of a small snippet that looks up the current height of a div (the div has a dynamic height based on the content inside it)
and then set that value in the css class's min-height value.
Basically what this means is that I want this container to have it's min-height to be the exact same value as it's current height. This is probably a quick one :)
Hi,
In order for the user to control the volume , my android application has a menu consisting of a slider that provides int values from 0 to 10 , when dragged. After I obtain a value , I must set the volume to the corresponding value chosen by the user , and well , this is the part that I don't know to implement and I 'd like to find about it.
I am looking into a way of setting read access on a specific file for a web application (where all files read option is set to be false--unchecked in IIS) deployed with Wix. Is it a possible option at all or I am asking the question in a wrong way?
Thank you.
I have a PHP script that I don't want anyone to be able to run through their browser.
It sends emails and is called via curl by my server's cron, yet needs to be in the public www directory. What permissions or owner do I need to set the file to to allow only my server's curl to execute (or do I mean read) the file?
I'm on centos.
Thanks!
I am trying to assign a cell in excel for the user to type the printer name where they want the print out to go and then use that value in the
Application.ActivePrinter = (use the cell value)
Even though I have done the programming assigning a name to the cell and using it in a variable it is giving me an error.
I have set my variable as string, text, object and variant already and it's not working.
Do you know what code should I use to be able to do this?
Hi. I have a bunch of images on a page that are contained within a div with a class of content-block like this:
<div class="content-block">
<img src="../images/path/path/image.jpg" alt="blah" title="blah" />
<img src="../images/path/path/image.jpg" alt="blah" title="blah" />
<img src="../images/path/path/image.jpg" alt="blah" title="blah" />
<img src="../images/path/path/image.jpg" alt="blah" title="blah" />
<img src="../images/path/path/image.jpg" alt="blah" title="blah" />
</div>
I am loading this html into a div via ajax. When I load it in I need to remove the "../" before the image path, after it loads in so the path remains correct. Can this be done with JQuery? Many thanks in advance.
hi friends,
I want to set auto lock my iphone/ipad/ipod screen programaticaly after some time delay. Can any one tell me how to do the same?
if any one is having any suggestion please let me know.
thanks in advance.
How can I know if a datagridview has errorText on any of it's cells. I have a Save button which I want to enable only if all cell values are valid meaning that none of the cells have errorText set
Hi All,
can anyone guide me how to set ASP.NET version for virtual directory in windows 7.
I am searching in IIS Manager, The UI of IIS Manager in Windows 7 is totally changed and I could not find it at all.
I set the quotas both ways(though lpadmin and by editing printers.conf) and neither seem to work(i did restart the daemon) but print requests are still granted with no error.
What is wrong?(i am running ubuntu linux 9.04)
I have a domain class that can have a nullable one-to-many field. When using dynamic scaffolding, the view will insert a value from the foreign table (usually the first one in the list) even if i don't want to set this field.
I am trying to set the Text property of a drop down list option like this:
<asp:ListItem Value="AB" Text='<%= Resources.Get("USA") %>'></asp:ListItem>
But it isn't working, instead the Text value is literally <%= Resources.Get("USA") %> and not the string "USA".
i.e. it is not being interpreted as code.
What is the problem?
Hi guys,
I am making a Desktop Application using Netbeans 6.8. What I would like to do is to programmatically set the size of my Application so that it fills the entire screen. I have looked around and it seems to be quite a nasty problem.
I have been trying the code shown here, but it doesn't seem to be working.
Anyone has any idea on how I can solve it?
Is it possible to use a subform's 'current' record set as the domain argument to DAvg() (etc.)?
Basically, I have a subform that displays a subset of records from a query. I would like to run DAvg() over this subset. This is how I've gotten around it:
=DAvg([FieldToAvg], [SubformQuery], "ChildField=Forms.MasterForm.MasterField And FieldToAvg > 0")
but what I actually want is something like:
=DAvg([FieldToAvg], [SubformCurrentlyDisplayedData], "FieldToAvg > 0")
Is this possible in Access 2007?
hi,
i am trying to improve the layout for my game. the problem is that while i can create a
good layout for one android phone, it doesn't work for another, ie the trackball for MyTouch
is on the right side (landscape mode), but for the MyCliq, the DPad is on the left side. is
there a way to programmatically set the layout based on which phone it is? thanks.