Archive for kovo, 2011

Lorem Ipsum

kovo 4th, 2011

What is Lorem Ipsum? Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry’s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but […]

How to: Replacing with CSS equivalent

kovo 2nd, 2011

Today i get new problem, how to add simple image properties by CSS. On CSS, you don’t simply put HTML attributes into a stylesheet. CSS has its own properties that only occasionally overlap with obsolete HTML attributes. There is no such property as ‘align’ or hspace/vspace in CSS. You are looking for the ‘float’ and […]

Web form to Custom Module

kovo 1st, 2011

I need capture info from web to my custom SugarCRM module. After some modification i use „Web to lead“ script: require_once(‘modules/MyModule/MyModule.php’); if (… we are saving custom Module …) { $myinfo = new MyModule(); $myinfo->phone = $_REQUEST[‘phone’]; $myinfo->fax = $_REQUEST[‘fax’]; $myinfo->email = $_REQUEST[’email’]; // etc… $myinfo->save(); } // done! i f somebody have better soltion […]