Practical Web Applications for Daily Living…
Installing Php and mysql to Centos(Linux)
open terminal
edit yum.conf
add this code
No comments yet.
No trackbacks yet.
Jquery Ajax Codeigniter
September 1, 2010 - 1:58 am
Posted in Model View Controller, User Interface, javascript / jquery, web development | No comments
In your View
<script src="http://code.jquery.com/jquery-1.4.2.min.js" type="text/javascript"></script>
<script type="text/javascript">
$.noConflict();
jQuery(document).ready(function($) {
jQuery(‘#x’).click(function(){
jQuery("#content").empty().html(‘<img src="http://juliusbacosachronicles.com/wp-content/themes/mystique/images/workstation.jpg" />’);
var num = 8;
jQuery(‘#content’).load("index.php/welcome/jajax/"+num,function(str){}); [...]
Setting Up Contact Form within Static Block in Magento
August 31, 2010 - 1:28 am
Posted in Model View Controller, User Interface, html/css, web development | No comments
Just put this within your static block
<form id="contactForm" action="contacts/index/post/" method="post"> <fieldset class="group-select">
<ul>
<li>
<div class="input-box">
<div><label for="name">Name <span class="required">*</span></label> <input id="name" class="required-entry input-text" title="Name" name="name" type="text" /></div>
<div class="input-box"><label for="email">Email <span class="required">*</span></label></div>
<div><input id="email" class="required-entry input-text validate-email" title="Email" name="email" type="text" /></div>
<div class="input-box"><label for="telephone">Telephone</label><br /> <input id="telephone" class="input-text" title="Telephone" name="telephone" type="text" /></div>
<div class="input-box"><label for="comment">Comment</label><br /> <textarea id="comment" class="input-text" style="height: 150px; [...]
Changing Style of Parent Element of an HTML form input with Javascript
August 29, 2010 - 4:50 pm
Posted in User Interface, javascript / jquery, web development | No comments
The html input is a checkbox, I want to let the li be in highlight mode if the checkbox is checked.
<li>
<input type="checkbox" name="dishs[]" value="<?php echo $listdish[‘dish_name’]; ?>" onclick="checktolimit(this);"> <?php echo $listdish[‘dish_name’]; ?>
</li>
The javascript for this is.
function checktolimit(obj){
[...]
Configurable Product Magento, switch view more images solved
August 22, 2010 - 4:01 am
Posted in Model View Controller, User Interface, magento, web development, zend framework | No comments
Once again, I’ve managed to solve one fuzzy client request and stayed the weekend to kick this functionality into action.
My confidence in building website functionalities in the web is bursting that there is no impossible for me already, it just depends in time and of course your budget
well…. as usual I am [...]
Display more Attribute in Table Grid of Group Product Details in Magento
August 21, 2010 - 2:24 pm
Posted in C# / C Sharp, Coding, Model View Controller, Object Oriented Programming, User Interface, busines, magento, web development, zend framework | No comments
Go to frontend/base/default/template/catalog/product/view/type/grouped.html
Add this code to the head of the table
<th class="a-right"><?php echo $this->__(‘Width’) ?></th>
<th class="a-right"><?php echo $this->__(‘Height’) ?></th>
insert this code in the table body:
where ’sign_width’ and ’sign_height’ are attribute names.
<td><?php echo $this->htmlEscape($_item->getData(’sign_width’)); ?></td>
<td><?php echo $this->htmlEscape($_item->getData(’sign_height’)); ?></td>
enjoy!!!
How do you use configurable products versus group products in magento?
Zend framework, magento, webpage drafts
August 20, 2010 - 3:40 am
Posted in web development | No comments
There is a high possibility that I can’t have my first fully functional mini cms zend application, I have to spend every precious time to finish a large queue of customized ecommerce websites and complex cms websites.
Going to take a bath in 3, 2, 1 ….
Zend framework on Saturday
August 18, 2010 - 6:11 pm
Posted in Coding, Model View Controller, Object Oriented Programming, Php, User Interface, code igniter, magento, money, test driven design, web development, zend framework | No comments
Currently I am uploading another batch of magento files to be deployed live, and I am so sleepy right now… well… anyway… This friday we don’t to have work because we are going to a company relaxation day, because our skins are turning green already due to work radiation… so after friday, the whole saturday.. [...]
Code Igniter instead of Magento
August 18, 2010 - 5:53 pm
Posted in Coding, Domain Driven Designs, User Interface, javascript / jquery, magento, web development | No comments
There are some situations where you need to take a cab instead of taking MRT. The other day, I decided to code an online transaction from scratch and it took me 20 hours to do the backend and frontend using code igniter instead of magento, If I use magento to implement it, the complexity in [...]
F and b website Singapore
August 17, 2010 - 4:03 am
Posted in Travel | No comments
Last night seems to be a very long night. There was a client who come to us and she doesn’t know about web development and ecommerce especially for foods and beverages type of online transaction, I was not familiar with this part of online transaction before so I just showed here a solution what here [...]
Zend Framework First Impression
August 16, 2010 - 1:34 am
Posted in ASP.net Framework, ASP.net MVC, Model View Controller, User Interface, busines, web development, zend framework | No comments
Got my 30 minutes dive into the zend framework, installed it in my server and got a little play with layouts (masterpages in asp.net), the Bootstrap (not sure with asp.net mvc what is the equivalent for this one), application.ini (asp.net mvc has this) and some structure overview. Zend framework still has the Movel-View-Controller pattern and [...]
