Looks like an issue with form-key
Go to app/design/frontend/[Your-package]/[Your-theme]/template/customer/form/login.phtml and template/persistent/customer/form/login.phtml and under
Find: <ul class=”form-list”>
And paste this right after the code above the following:
<input name="form_key" type="hidden" value="<?ph… Read More
If a remote URL is provided, content will be loaded via jQuery’s load method and injected into the root of the modal element.
<a data-toggle="modal" href="to-another-url-page" data-target="#myModal">Click me !</a>
<!-- Modal -->
<div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="… Read More
On Options chapter, in the page you linked, you can see the backdrop option. Passing this option with value 'static' will prevent closing the modal.
As @PedroVagner pointed on comments, you also can pass {keyboard: false} to prevent closing the modal by pressing Esc.
If you opening the modal by js use:
$('#myModal').modal({backdrop: 'static', keyboard:… Read
// Check if any customer is logged in or not
if (Mage::getSingleton('customer/session')->isLoggedIn()) {
// Load the customer's data
$customer = Mage::getSingleton('customer/session')->getCustomer();
$customer->getPrefix();
$customer->getName(); // Full Name
$customer->getFirstname(); // First Name
$customer->g… Read More
The structure of a Magento theme
The files in a Magento theme are divided into two main directories: app and skin, as shown in the following screenshot:
The following is the description of the two directories:
app: The app/design/frontend/base/default/ directory contains the layout, translation, and template files
skin: The skin/frontend/base/defa… Read More
Creative
A one page creative theme.
Live Preview | 下载 Download
View Source on GitHub
Clean Blog
A clean blog theme.
Live Preview | 下载 Download
View Source on GitHub
Agency
A one page agency theme.
Live Preview | 下载 Download
View Source on GitHub
Freelancer
A one page freelancer theme.
Live Preview | 下载 Download
View Source on GitHub
Scrolling Nav
A scrolling nav… Read More
导出 :
To export MySQL database, open putty on Windows or Terminal in either MAC or Linux OS, Go to the directory where you want this file to be stored using following command,
cd /home/myfiles/
Then use below command to export a databse,
mysqldump --database --user=root --password your_db_name > export_into_db.sql
You will be asked about root password… Read
n today’s modern web applications, uploading files to the server is a very common feature, however it is often the case that your application must allow multiple file uploads to the server. Today we will build a form that will allow the user to upload multiple files to the server at once using HTML5, jQuery