like button doesn't works - facebook-like

On some of my pages, the like button doesn't work. I have two behaviors :
The click on the like button display the message "add a comment" with the like button, just on the bottom on the button, but this message close after 1 seconds and nothing happend.
Or It displays a confirm button. When I click on this, I have a popup where I can confirm the like.
When I click on the like button on this popup, the popup closes and the like isn't counted, I always have 0 liker.
Here is my page :
www.samhigan.com/testf.cfm (I updated this link since the publication of this message)
I had just put the facebook code on this page to check that it doesn't come from another tag.
Have you got an idea ? I have searched on the facebook bug list but I can't find any solution.
Thanks,
Best regards,
Matthieu

Did you test the like button by click and cancel it frequently? It will cause Facebook think your page maybe a spam and add a confirm button. There is no way to remove it manually, it will auto-disappear after a number of confirm have been click.
Here is an official response about this problem :
Facebook Developers > Bugs > Like button requires Confirm step

Related

django form add new rows upon changing to edit

Here's my use case:
I'd like to display the information about something first using django_tables2, with a button on the top right corner called "Edit", once a user hits "Edit", at the bottom of the table, display a button called "Add New Record", and once the user clicks that button, a bunch of input fields pop up to let users enter values for each field, also the user could continue to click "Add new Record" to keep adding new.
How can I achieve this in Django?
I've read a lot of examples on stackoverflow but didn't find anything tailored to this particular case.
Thanks a lot.
Let's dive right into listing out what you want to do and the requirements you'll need to do so.
You basically want to toggle hiding and showing some functionality for this web page. This is easily accomplished by including the "Edit" button, "Add New Record" button, and popup (most likely in its own <div> somewhere in the page). So the "Edit" button will have the display set to something, be it inline, block, etc., while the "Add New Record" and popup would have a display of "none" or however it is you wish to hide it.
You've got the stuff set up and ready to go but now you need to show it when you click the "Edit" button. This is generally accomplished through Javascript. Just find the "Add New Record" button and switch the visibility.
When you click on the "Add" button you want to display a popup. This can be done in a variety of ways with different libraries. One of my personal favorites is using jquery's blockUI. Why? It doesn't allow the user to click anywhere except in the popup so it's a quick way to handle users trying to reach outside the scope of the popup.
So you've got all the new rows added and you are done editing. Maybe you have a "Save" button or something like that where you can click. When you do, you'll want to push all those new rows you just added to the database. Django handles this well and you could do something like include the new rows in part of the POST request or however you care to implement this solution.
So there's a bit of work ahead of you to get this page up and running with the exact functionality you need but hopefully this starts steering you in the right direction of where you need to go.

Confirm order button does not seems like button its like a written text

Confirm order button on the checkout page does not seems like button.
It sees like a written text, How to display it like button.
Any hep??
This is also a button. It depends on checkout payment process, Go to theme template payment folder.Check it here all payment related template is present here,here you can the confirm order button design for all the payments.

How to display a confirmation message like "Deleted"

I would like to display a confirmation message after a choice in the menu.
For example if you want to delete an image in the Timeline, you tap on the glass to open the menu, you select "Delete", you have a progression bar to cancel if you want, when the progressbar is complete a kind of toast appear to say "Deleted" and disappear.
I would like to reproduce only the "Deleted" part but I've searched everywhere and cannot find a way to do it. Is there an API or should I manually implement it with a layout containing the text wanted and display it for 3 seconds... ?
Thanks
There is no API for this to work you will need to build a layout and then set it as the current view using setContentView for a specific amount of time and then return to your main view.

Like Button customization

I'm trying to implement the Facebook Like button into a site and basically what I want is a very simple button that when clicked likes the corresponding facebook page and then opens it in a new window. I don't want the comments or the faces or the count, just the button and when clicked I don't want the option to add a comment. It just likes the page and opens it in a new tab, nothing more.
Any help would be appreciated.
Use this link
http://developers.facebook.com/docs/reference/plugins/like/
You can find answer for your question . Simply select the Layout to box_count or button_count . You will get simple like button .
If you want to use the facebook like plugin, the only customizations you can do are available here:
http://developers.facebook.com/docs/reference/plugins/like/
This will also generate the code on html5/iframe/xfbml into your application.

How to keep scrollbar from automatically going back to the top?

I have a list of links within a div with a scrollbar. When the user clicks on a link below the x-height of the div, the srollbar automatically goes back to the top. I would like the scrollbar to stay in position no matter what links the user clicks. Here is the site- try clicking on a painting from 2006 and you'll see what I mean.
Does anyone have any ideas of how I can make this scrollbar behave?
Thanks,
Brad
It looks like these links are just that, links to a new page... and thus it's not so much that the scrollbar is resetting but that a whole brand new page is coming up and the 'reset' scrollbar is just a byproduct.
The most elegant way would be to have those links pull in the new content without reloading the page, but this requires AJAX. If you aren't familiar with the intricacies of AJAX and how to implement that, then you could change the link to include an anchor to the link, like so:
http://siddharthparasnis.com/2006-01/#menu-item-377
The page would reload scrolled down to that item.