Hi, I m very much new in the asp.net MVC architecture. Well i m trying to load a page with Login link on the top right. On click i want jquery Block UI to display my username and password textbox and button to login and when user sign in , i wan top div to refresh without whole page postback instead of saying "login | Register" it should...
Hi, I am looking for ideas for how I can stop external scripts connecting with my site. I'm looking for the same kind of idea behind Google. As in if a certain amount of requests are made per a certain amount of time then block the IP address or something. I thought there maybe a htaccess solution if not, I will write a PHP one.
Any id...
Hi everyone
I created a custom module that has a Ctools multi step form. It's basically a copy of http://www.nicklewis.org/using-chaos-tools-form-wizard-build-multistep-forms-drupal-6.
The form works. I can see it if I got to the url i made for it.
For the life of me I can't get the multistep form to show up in a block.
Any clues?
/...
I have a Java Thread which exposes a property which other threads want to access:
class MyThread extends Thread {
private Foo foo;
...
Foo getFoo() {
return foo;
}
...
public void run() {
...
foo = makeTheFoo();
...
}
}
The problem is that it takes some short time from the time this runs until...
Hi
In Magento under the cart I would like to insert the products for category 18 just as they are listen on any ordinary product page.
I can see how to insert a block on a CMS page. But how to I call the template(?) for product listing below the cart?
BR. Anders
UPDATE:
Can see that the file layout/catalog.xml has this block that pro...
Hi,
How to detect whether a DOM element is block or inline with javascript?
For example, is there a function/property which returns 'inline' for a '<a>' tag (or 'block' for a '<p>' tag)?
Thank you.
...
I am using the location module and views module for a postcode search, which works fine in a page display using views.
However I want the user to be able to enter their postcode into a block on the homepage and clicking submit my module sends them to the page created in views and the postcode is set as a session S_SESSION['postcode'] b...
hi all,
I have three questions to ask
If I create only one block of threads in cuda and execute the parallel program on it then is it possible that more than one processors would be given to single block so that my program get some benefit of multiprocessor platform ? To be more clear, If I use only one block of threads then how many p...
I need to block one IP address or class in asp.net
Can anyone help me with the code? And how to implement?
Thanks
...
hello,
how can i add a new price template to the category view (template/catalog/product/list.phtml) without changing the price template that is used in (template/catalog/product/view.phtml)?
both files uses the template/catalog/product/price.phtml, but i need a separate price template in template/catalog/product/list.phtml that don't s...
Hi all.
I thought the reason behind having asynchronous requests is to have it run in the background?
Well, I'm uploading something using NSURLConnection connectionWithRequest, it all works fine. The only thing is, it results in the Beach Ball of Death and the user interface becomes unusable. Of course there's the possibility to run it ...
Hi friends,
I'm new at Drupal.
my url is like
www.blabla.com/drupal/blog/
I have some blocks that must be disabled for blog part. So I go to related block configuration and make it as below:
but it doesnt work :( just to test, I wrote only * , and it worked well. but i doesnt work when I want to define specific page :(
...
Hello.
I plan to skip the block content which include the start line of "MaterializeU4()" with the subroutin() read_block below. But failed.
# Read a constant definition block from a file handle.
# void return when there is no data left in the file.
# Otherwise return an array ref containing lines to in the block.
sub read_block {...
Besides just using yield for iterators in Ruby, I also use it to pass control briefly back to the caller before resuming control in the called method. What I want to do in C# is similar. In a test class, I want to get a connection instance, create another variable instance that uses that connection, then pass the variable to the callin...
What does block in ruby mean? It looks similar with smalltalk, but you can't send messages to it.
For example, in smalltalk:
[:x | x + 3] value: 3
returns 6. But in ruby:
{|x| x + 3}.call 3
will cause SyntaxError.
Well, you can pass messages to lambda in ruby, though:
irb(main):025:0> ->(x){x+3}.call 3
=> 6
So in ruby, block...
when i send realtime media message,
socket were blocked and shut down itself.
how can i deal with this case?
some answers are buffer is not large enough,so can someone give me some demo?thanks
...
I have a typical views page displaying nodes, with a taxonomy tid receiveid as an argument through the url: cat/% Now I want to further narow the results with an exposed filter by a cck field. All goes well and for tid=10 (for instance), the filtered page url is cat/10?field_no_people_value=5
Now, when I expose the filter in a block, t...
Alright, I may just need a terminology update, but I have been playing in Magento and Joomla, and they do references like
$mage = new Mage;
$mage->block('blockname');
where class Mage through some process I am failing to figure out is calling:
class blockname extends something{
}
Don't quote me on that code, however I am looking t...
Hello people, this would be my first question after signing up!
Anyway heres my question, I did Java at university and I was always told I am a good programmer. However I never pursued it as a career - I went into support and management instead. Im pretty much bored with my job, I have therefore started to learn Objective C so that I can...
Hi friends,
I'm a drupal newbie who needs some advice...
I have a news list block at homepage, created with View Module. It is listing all added news' title and link. Everything is cool so far. Now I need to add an ON/OFF option at admin side for homepage news block. When the setting is ON, it will work as it is. When it is OFF, only t...