Sunday, September 30, 2012

Arrive on BlackBerry 10: save RIM from the brink?

California, BlackBerry Jam Americas Conference. Thorsten Heins, RIM CEO, reveals the newly born BB10, touch-oriented operating system from the interesting news. This is demonstrated by the reaction of the title in the bag that is growing again after a tough year in which the stock has lost nearly 90% of its value. Already, in February 2011 the shares touched $ 70, now the price is around $ 6.50. But if you show confidence in Canada stating that "by the end of year, our customer base has grown to 80 million users," the loss of market share is evident.

The market share of RIM fell from 12% to just under 5. All in favor of the iPhone, Android and Windows Phone. The reasons for the collapse are varied: from mail services worldwide blackout of 2011, policy errors not capture the changes in the mobile market. Not to mention the application and the developer did not live circuit, numerically, competitors. But now there is a desire to catch up. The new operating system BB10 is integrated in Facebook thanks to the app BlackBerry Jam.

Introduction of a double charges on device: business and personal. As soon as you switch clocks in the business profile to the personal, and so farewell until the next day at work email. There is also the chance to see the profile updates "social" of all your contacts. Air renewal in short, even if the firsts of its competitors are few. We'll see if convinced, however, some users unhappy with iOS, Android or Windows Phone to pass (or return) to the BlackBerry. In the display they put a new smartphone all in touch very attractive. Just a shame that the design looks like a copy of the iPhone.

Source from: http://woorkup.com/2012/09/26/in-arrivo-il-blackberry-10-salvera-rim-dal-baratro/

By PHP with No comments

Tuesday, September 18, 2012

iPhone 5 and record numbers of presales

iPhone 5 and record numbers of presales

By PHP with No comments

The revolution Nexus Google


It will be the news. It will be the attractive price of $ 199. It will be that Google is becoming incredibly cool. The fact is that the Nexus 7 , the tablet Mountain View presented at the annual I / O Conference last June and produced in collaboration with Asus, has done a bang. The preorders are left Friday and major retail stores have run out of stock in a few hours. Erich Schmidt had predicted a few days ago: "There has been a huge demand for the Nexus 7 in the days immediately following his presentation" . Given the initial data it seems that expectations have been repaid.

That Google is not a choice as much for philanthropy. Beyond the physical object, I want to make it even more popular the heart of the Nexus. The software. Android Jelly Bean . The new mobile operating system from Google. A huge step forward compared to the past but had to leave the safe plus sign than did his predecessors.
In Italy is already available for the Galaxy Nexus smartphone. Updated yesterday, a bomb. Fluency and response increbile. Has features that iOS still if the dreams. Google Now, a masterpiece of engineering. The voice dictation off-line revolution. You talk, he writes word for word what you say. Do not miss a shot. With the advantage that you do not have a 3G connection to make it work because the software that translates words in text is enclosed in the heart of Jelly Bean. Other than Siri in Italian and we are waiting for months and still nothing. And then there are nice widgets such as Google Ears. The answer to Shazam Google. Hear a song and tells you the name and artist.

All this in anticipation of October, when it is rumored will present the new Galaxy Nexus and the background is partner wild with pleasure the dish more appetizing. The Google Glass . Arrive no earlier than 2014, and could change everything.

By PHP with No comments

Samsung Galaxy S3: yes or no?


You have to admit it. With the Galaxy S3 , Samsung has brought out the best Android smartphones currently available. There is little to do, the Korean giant is also recognized the honor merit. But someone will think that the iPhone is still the iPhone. True. If nothing else, as a matter of affection. But I assure you that the iPhone 4S is suffering from bad comparison with the Galaxy, from the Home screen, huge, vivid colors, just a little 'less bright Retina display but still a feast for the eyes. The default screen exaggerates the color saturation. If you want my advice, to make the interface more pleasant and pastel tones, select Settings> Display> Screen Mode , and choose the "Natural" . Look at the difference compared to the standard display. Very impressive.

The processor speed of the S3 stuns. Pigi icon and each application opens instantly. The reactivity of Android Ice Cream Sandwich pushing an even higher level when compared to the Google Nexus. The integration with Google services is total. Although not particularly fond of Samsung's TouchWiz interface, the Koreans have done a great job. Sin a little 'style and taste compared to iOS finishes but overall the result is more than satisfactory.

The design is minimal. The shape is very similar to that of the Galaxy Nexus. The housing, both made of any material resembles "vulgar" plastic. It could also be refined gold. Still plastic and apparently also of poor quality. I say apparently. Why not. But compared to the materials of the iPhone will notice the difference. Especially nell'S3 of white color. However, the advantage is that this galaxy is very thin and lightweight.

Android is now a mature operating system. All the most popular applications for iOS are available for the alternative of Google. The voice dictation is perfect. You talk, he writes. The only problem a bit 'annoying is when it comes to dictate punctuation. Does not recognize hardly ever converting often the symbol in text, such as "." In "point."

SVoice the alternative of Samsung Siri works pretty well. Nothing more though. Understand less than half of what you tell it so that, apart from trivial functions, such as sending a message, the rest is frustrating. Not to mention that you have to be covered by a 3G network or Wi-Fi to work with a decent answer. Otherwise you do first to make everything by hand, in the usual way.

To synchronize your media files (music and photos) you can use Kies. It is absolutely not like iTunes, but his work, petty and unpretentious, it does. The only problem is that often the synchronization crashed and the indicator of progress is nailed to a certain percentage. Happens when you close the application and restart the phone.

The reception is good but not excellent. I noticed that, in some cases, equal to operator, the iPhone 4S is hooked to the 3G data network while the S3 no. I'm not really sporadic circumstances. If you use your smartphone in intensively especially the internet, the continuous signal holes are annoying.

The battery is usually pain. Four and a half hours with 3G on all the time mainly using Twitter, Facebook and Google+. And if you have the misfortune of having to even call someone, put a cross over well. Lasts as long as that of an iPhone 4S used under the same conditions. Five hours.

I wasted in the usual technical details that many know and that you can find anywhere on the Internet. Taking an overall budget, apart from a few annoying quirks, the Galaxy S3 is an excellent phone. And 'no doubt the best alternative available to the iPhone and probably the best Android smartphone product until now.

By PHP with No comments

iPhone 5: what it means for Apple and for the market


The iPhone 5 has arrived. No big surprises in terms of design . Same style of his predecessor, thinner, with a larger screen. Identical to the stolen photos that have kept us company in recent months. Now in Apple no longer even take the trouble to invent a story as that of the engineer in 2011 she lost the prototype iPhone 4 in a bar in Redwood City. From parts of Cupertino have realized that you do not need. The wait, in itself, enough.

Beneath the surface, this iPhone was profoundly renewed. The technical specifications can be found all here, more detailed and less tedious than it might tell you about myself. Addition to the iPhone also came the new iPod . Carini. Especially the iPod Nano. But to let you know how much their weight are marginal for Apple, just look at the percentage breakdown of total revenues in the second quarter of 2012. With the iPod cuba only 3% of the pie. Digital music 5%. Desktops 4%. Laptops 5%. To squirt up to 17% of the iPad. And then get to the very heart of Apple's revenues. The iPhone: 60%.

Why bet now is all there. Into that of a few centimeters since 2007 has become the undisputed icon of Apple and the entire smartphone market. That led Cupertino to look elsewhere. With sales of desktop sitemi less stable and those of Mac laptops that recorded a slight decrease negative compared to last year. The gold mine is located elsewhere. In that increase of 120% in sales and 80% of iPad sales of the iPhone that are ferrying Apple, and reflection throughout the entire global market sector, in the era "post-PC". The dynamic always the same. With Cupertino trolling and all the others who are scrambling to keep up.

By PHP with 1 comment

Friday, September 14, 2012

The victims "famous" of the covenant Facebook Instagram-

The first to retire was Jack Dorsey , co-founder of Twitter. Its a long story. Jack was one of the first investors to Instagram. He had hoped to integrate with Twitter. He tried to buy more than one occasion. If the left hand is under my nose from the terrible blow Zuckerberg.

Then it happened to Phil Schiller, Apple's one of the bosses ( senior vice president of worldwide marketing ) mica thing. Phil if it is taken with the fact that Instagram, after releasing the app for Android has distorted its nature as a "small" community for photography enthusiasts. The size of mass that has reached Instagram, is no longer in line with the initial spirit, supports.

Someone like me would notice the majestic Phil is a bit 'the same thing that happened to Apple in time. From niche phenomenon to what it is today. But it is better to mind their own. They say there is a very docile sheep.

The truth is that Instagram was an exclusive iOS and Apple, while it remained the same, we paddled. A year ago circulating legends that the increase was due to sales of the iPhone just to Instagram mania. Nothing official, you understand. But enough to understand the scope of the phenomenon.

Schiller, in his role at Apple, had to say just after the betrayal of Instagram with Android. Another illustrious victim to the application of photo sharing.

But Kevin Systrom of Schiler, of little interest. The app for Android has done a bang. He sits on a mountain of a billion dollars still wondering if all that has happened is true.

Ref: http://woorkup.com/2012/04/22/facebook-instagram-vittime-illustri/

By PHP with No comments

Not only iPhone 5: Apple renews iMac, iPod, iPad and prepares to launch iPad Mini

It 's official. Apple has sent out invitations to the press on September 12. Not named the iPhone 5. Only "It's almost here" .

The rumor circulating for weeks. Now we gave it all for sure. At least we hoped. Tim Cook, bright smile on his face, that the stage of the Moscone Center presents the new iPhone 5 from Apple. Maybe even the much-talked-about iPad Mini whose existence has yet to be demonstrated. We all know Apple is a kind of religion. You have to have faith and believe. The start date for the successor of the glorious iPhone 4S was said to be September 12. Postponed then, for obscure reasons that only the creators of rumors about Apple know, a week later. Last known date, September 21.

A close examination, by browsing the list of the events of September Moscone, where they appear companies like Intel and Oracle, there is no trace of Apple. But you know, Cupertino does things at the last minute. And then, after all, the location is not said is that where they usually take place for several years now, the most important events of Apple.

However, is the fact that the iPhone 5 will be presented by the end of the month. A hint would be negligible at the base of this speculation is also given by the busy schedule of events that companies like Samsung, Motorala and Nokia have concentrated in the first half of the month to present their flagship smartphone next generation. A significant challenge due to the large attests to the fifth generation of the iPhone.

In all this, Apple could surprise positively not only with the iPhone 5. On the horizon there is a complete renovation of several product lines, dall'iMac iPod. According to analysts of the financial group KGI Taiwan, in fact, the timeline of the launch of new Apple products scheduled between September and October, provide for:

Mid September: MacBook Pro 13 "with Retina Display, iMac 21.5".
End of September: iPhone 5, iPod Touch.
Mid October: an unspecified New iPad "modified", iPod nano.
End of October: iPad Mini, iMac 27 ".

Realistically, a concentration of so many products of concerted relief in a period of time so narrow, seems a stretch excessive. The risk that sales of one could negatively affect sales of the whole is a possibility to calculate. But the most obvious market rules often do not apply to Apple. How the iPad that would cannibalized sales of the iPhone. Elite of economists and analysts as a possibility sbandierarla anything but remote. We have seen how things have gone instead.

Speculation about the dates remain the rumors to be verified. And the network has proven time and again, not always guesses. It remains only to wait. At most a couple of months. But just as the iPhone 5 to obscure the success of all the rest.

Ref :  http://woorkup.com/2012/09/03/non-solo-iphone-5-apple-rinnova-imac-ipod-ipad-e-si-prepara-al-lancio-dellipad-mini/

By PHP with No comments

Not too cold war between Apple and Samsung

Samsung recently that if he was going all right in the smartphone market is a fact known to all. That in the corridors of Cupertino, the boss of Apple began to look with some concern the success of the South Korean giant, malignant rumors circulating among the experts.

Whether in the quarter between January and March 2012 Samsung had sold 44.5 million smartphone, an indisputable fact. Approximately 21,000 units per hour. 30.6% of the global market. At the same time Apple sold "just" 35 million iPhones, reaching 24% market share. Not a few, you say. But still 9 million less than its fiercest competitor. A difference not just negligible.

And now comes the Galaxy S III. Less cool iPhone but able to attract the same attention and curiosity of the more "sophisticated" - in terms of style - gadget from Cupertino. Even from the audience of "applecentrici."
Nine million pre-orders in record time. Sales expect sensational. At the headquarters of Samsung is all a party. The iPhone teasing abound.

At the other end of the world Tim Cook not talks. I imagine him sitting in a chair, with a grin frozen on his face while toying with the prototype of the new iPhone. And he thinks.
"Wait October. Then we'll see who's laughing. "

By PHP with No comments

Apple iTV to $ 1,499 dollars: word BestBuy (or maybe not)


Imagine a 42-inch screen in an unmistakable design Apple. A iMac much larger, much thinner, without the need for a keyboard, hung on the wall of your living room.

Imagine iOS-style icons that appear on the screen when the power is on, the ability to update - by Siri - Facebook, Twitter, surf the Internet, use your favorite applications and play the most popular games of all time directly on your new iTV.

Science fiction? No, actually, yes. At least for the moment.

As reported by TheVerge , it seems that these days Best Buy is sending its customers a survey with feedback on potential new products and services coming and their eventual acceptance by users. In the first position the figure just the elusive iTV Apple, imaginatively called "Apple HDTV."

The authors of the survey imagine the Apple HDTV with the following characteristics:

- 42-inch 1080p LED high-definition;
- native iOS operating system and can be downloaded directly from the App Store all apps already available for the iPhone and iPad;
- iCloud support for saving remote film, TV series and the various media, with the same procedures used for saving photos and music in the cloud service from Apple;
- iSight camera and microphone for video calls using FaceTime, Skype or any similar app;
- support for iTunes, Netflix, YouTube and Flickr.
- voice control via Siri or the Remote app on the iPhone, iPod and iPad.

All the figure, quite affordable, with $ 1,499 dollars - without the usual change one by one - in euro is estimated at around € 1,500.

At least for the American market, the characteristic part of the big chains of retailers to send to customers this kind of survey regarding the level of satisfaction of possible new products is quite common, and usually with a certain probability and approximation on the characteristics, anticipate what will end up on the shelves in a few months.

To this add in even the New York Times that quoted a source inside Apple that confirm the existence of a prototype of iTV at an advanced stage in the study of Cupertino Jonathan Ive (currently Senior Vice President of Industrial Design) .

Do the math it is likely that the rumors about the Apple TV is more than just rumors and look a bit 'expectations and the denials of a few years ago when the then rumored iTablet, then presented with the name iPad.

If March is the month of the launch of the new iPad 3 is possible that the new wonder Apple does not arrive before the summer even though I fear that, before the next year, we will not see anything new.

By PHP with No comments

Magento :How Activate Demo store notice via Magento Admin, Demo Store text enabled in Magento

In the opensource world, Magento is one of the top most wanted E-commerce solution. Here we explained about Demo store message in the magento. We displayed Demo store text in the top of the page when are in the development. 

Find the following step to enable demo store,

1) Go to Magento admin 

2) Then go to System  -> Configuration

2) In the left side of the configuration -> General -> Web

3) HTML Head -> Tab have the select options named as "Display Demo Store Notice", choose "Yes" to activate demo store.

By PHP with 1 comment

Sunday, August 5, 2012

PHP Tutorial Online, Beginners Tutor Online, PHP eBooks

Learn About PHP online Materials, Download PHP E books Online, Online PHP tutorials, PHP Materials online.



Soure From: http://www.slideshare.net/. We are not copyrighted for this materials. we are placed embedded code from slideshare website

By PHP with No comments

Saturday, August 4, 2012

eSELECTplus Moneris Payment Gateway Integration - osCommerce

It’s a canada based Payment gateway solution provider. Moneris payment gateway provide various kit based on the opensource languages. Here we provide integration steps for osCommerce opensource.

eSELECTplus Moneris Payment Gateway Integration Steps

1.     Download the osCommerce Payment kit from eSELECTplus Moneris website which is already registered.
2.     Extract payment folder.
3.     Now we open phpmyadmin database for our oscommerce via cPanel/any other access
4.     Downloaded folder have Moneris.sql file, run this into osCommerce database
5.     Rename the "module.payment.moneriscampg.php” into "moneriscampg.php" and move to the \catalog\includes\modules\payment" folder on your web server.
6.     Rename the "language.english.moneriscampg.php" file into "moneriscampg.php” and move to "\catalog\includes\languages\english\modules\payment" folder on your web server.
7.     from the downloaded folder have "CANmpgClassesOsc.php ",  “CANmpiClassesOsc.php” files. Copy and paste into "\catalog\includes\classes\" folder.
8.     Move the file “orders_addon_campg.php” into to “\catalog\admin\” and then insert bolded code in “\catalog\admin\orders.php” as displayed below. (Approximately at line 204):

<?php


if (tep_not_null($order->info['cc_type']) || tep_not_null($order->info['cc_owner']) ||


tep_not_null($order->info['cc_number'])) {


?>


<tr>


<td colspan="2"><?php echo tep_draw_separator('pixel_trans.gif', '1', '10'); ?></td>


</tr>


<tr>


<td class="main"><?php echo ENTRY_CREDIT_CARD_TYPE; ?></td>


<td class="main"><?php echo $order->info['cc_type']; ?></td>


</tr>


<tr>


<td class="main"><?php echo ENTRY_CREDIT_CARD_OWNER; ?></td>


<td class="main"><?php echo $order->info['cc_owner']; ?></td>


</tr>


<tr>


<td class="main"><?php echo ENTRY_CREDIT_CARD_NUMBER; ?></td>


<td class="main"><?php echo $order->info['cc_number']; ?></td>


</tr>


<tr>


<td class="main"><?php echo ENTRY_CREDIT_CARD_EXPIRES; ?></td>


<td class="main"><?php echo $order->info['cc_expires']; ?></td>


</tr>


<?php


}


?>


</table></td>


</tr>


<?php include ("orders_addon_campg.php"); ?>


<tr>


<td><?php echo tep_draw_separator(‘pixel_trans.gif’, ‘1’, ‘10’); ?></td>


</tr>


<tr>


<td><table border=”0” width=”100%” cellspacing=”0” cellpadding=”2”>


<tr class=”dataTableHeadingRow”>


<td class=”dataTableHeadingContent” colspan=”2”><?php echo TABLE_HEADING_PRODUCTS; ?></td>


<td class=”dataTableHeadingContent”><?php echo TABLE_HEADING_PRODUCTS_MODEL; ?></td>


<td class=”dataTableHeadingContent” align=”right”><?php echo TABLE_HEADING_TAX; ?></td>


<td class=”dataTableHeadingContent” align=”right”><?php echo


TABLE_HEADING_PRICE_EXCLUDING_TAX; ?></td>


<td class=”dataTableHeadingContent” align=”right”><?php echo


TABLE_HEADING_PRICE_INCLUDING_TAX; ?></td>


<td class=”dataTableHeadingContent” align=”right”><?php echo


TABLE_HEADING_TOTAL_EXCLUDING_TAX; ?></td>


eSELECTplus CAN - osCommerce Shopping Cart July 19, 2011


Page 6 of 17


<td class=”dataTableHeadingContent” align=”right”><?php echo


TABLE_HEADING_TOTAL_INCLUDING_TAX; ?></td>


</tr>

9.     Modify the error message text content display in the shopping cart go to “\catalog\includes\languages\english\modules\payment\moneriseselectplus.php”.
10.  Now we logged into osCommerce Admin panel ->Modules ->Payments
11.  Payment has the payment gateway lists, Click on “Install” to enable the Moneris eSELECTplus payment module and press edit to configure the payment parameters.
12.  Once configure Now go to front end to test product purchase using eSelectplus.
13.  If we have any issues in the test order, we need to check  cURL info settings,
a.     cURL CA Root Certificate File:
b.    The default installation of PHP/cURL does not include the cURL CA root certificate file. In order for the eSelectPlus PHP API to connect to the eSelectPlus gateway during transaction processing, the ‘mpgclasses.php’ file that’s included with the PHP API package needs to be modified to include a path to the CA root certificate file. Follow the instructions below to set this up.
c.     If cURL was not installed separately from your PHP installation, libcurl is included in your PHP installation. You will need to download the ‘cacert.pem’ file from ‘http://curl.haxx.se/docs/caextract.html’ and save it to the necessary directory. Once downloaded, rename the file to ‘curl-ca-bundle.crt’ (e.g. 'C:\path\to\curl-ca-bundle.crt'). If cURL was installed separately from PHP, you may need to determine the path to the cURL CA root certificate bundle on your system (e.g. 'C:\path\to\curl-ca-bundle.crt').
d.    Insert the code below into the "CANmpgClassesOsc.php ",  “CANmpiClassesOsc.php” files as part of the cURL option setting, at approximately line 73 below the line ‘curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, TRUE);‘
curl_setopt($ch, CURLOPT_CAINFO, getwed().'\curl-ca-bundle.crt');
getwed() – Is the function in the PHP, which is used to get the document root[absolute filepath]

Test Card For Moneris eSELECTplus Payment Gateway
MasterCard: 5454545454545454
Visa:  4242424242424242 or 4005554444444403
Amex:  373599005095005

Test IDs

store_id
api_token
Username
Password
store1
yesguy
DemoUser
password
store2
yesguy
DemoUser
password
store3
yesguy
DemoUser
password
store5*
yesguy
DemoUser
password

For more information please read the document which is included in the payment gateway kit.
Reference from eSelectPlus_OSCommerce_IG_CAN.pdf which is provided by eSelectPlus payment gateway. Please ready document which is provided by the payment gateway before going to proceed. We are not responsible for any issues.


By PHP with 1 comment

Thursday, July 26, 2012

Magento upgrade 1.5 to 1.7 and 1.6 to 1.7, Simplest way to upgrade 1.5 to latest Magento version

Magento version upgrade is not a simple method. Magento developers got an headache when they upgrade older version to latest version. Because, structure of the Magento versions different from one to another. So, it’s not just easy to upgrade Magento. Sometimes whole Magento store cause an error.

Finally I got solution to upgrade Magento store without using SSH access. In this method easily upgrade Magento store from 1.5 or 1.6 to latest version. Follow the below steps to upgrade Magento version easy way.

1. Before start upgradation process, need to download Magento latest version 1.7.X
 2.  Now you can export the current old version store database and import into phpmyadmin with any name you want to place.
 3. Create database connection in latest Magento 1.7.X store into current store database [1.5 version] and then run the frontend in the browser. Please wait until browser process complete.
 4. Now go to the database and find the table named as core_config_data.
 5. Change the base url as live website url. Now your upgraded Magento version is ready.
 6. For this time your upgraded version is ready without theme which you are used already. So, we need to move the theme folder to upgraded latest Magento version.
   Move the template theme as well as skin theme folder into new 1.7.X version
Template folder: app/design/frontend/default/THEMEFOLDER
Skin Folder: skin/frontend/default/THEME FOLDER
  7. Finally move the Extensions and custom modules from Magento old version to upgraded versions if you have installed. Check the modules app/code/local and app/code/community same place in the latest version.


Note: If any of the extensions / Custom module is not working, check with the supporting versions of the extensions. Tell your developer to upgrade the version.

Now we have successfully completed Magento upgradation from 1.5 to latest 1.7.X version. Hopefully this article useful for you. Please feel free to place your comments to help us to grow a level.

Share me, If you like

By PHP with 6 comments

Wednesday, July 25, 2012

Magento: Remove recently viewed lists in left side box, Hide Recently viewed box in left/Right Nav in Magento

In Magento, We researched over the admin panel to remove recently viewed items in left side box of my store. But I couldn't able to find the solutions in backend.

 Finally i got an idea to remove Magento recently viewed box via xml file manually. It’s easy method to remove box.

1. Go to the location: app/design/frontend/default/THEMEFOLDER/layout/
 Find the file names as "reports.xml"
If you can't found go to the base: app/design/frontend/default/base/layout/reports.xml
2. Find the below line in reports.xml file
<block type="reports/product_viewed" before="right.permanent.callout" name="right.reports.product.viewed" template="reports/product_viewed.phtml" />
3. Just remove or hide the above line.
4. Go to your store in the browser, refresh the page and you are done.


Hopefully, this article useful for you. Please comment if you find any other way to remove recently viewed products in our Magento store.

Please share me, if you like

By PHP with No comments

Monday, July 23, 2012

Export selected data's in the Magento Customer lists

 Magento easily Export Customer lists in the eCommerce store. Magento  also have the options to export selected data only in the customer profile.

 Magento customer profile have many data fields to store the customer  informations. We need to export particular data in our store profile. For ex. we need  to export only Firstname and Last name of the customer
profile.

Please follow the below steps to export,


  1.  Go to Admin -> System
  2.  Import / Export -> Dataflow profile


  In the data flow profile have the list of defaul export / Import  lists. We need to customize as per our requirment like to export Customer First name and Last name.

  Add new profile -> file the Profile form to update below way,

  - Name
- select customer
- select export
       - Export format xml or csv
- select only mapped data's
- Add Field Mapping
- Select First name
  - Select Last name

Now save profile

Now added new dataflow profile in our dataflow lists. Now click -> Run profile -> Run profile in popup

Now Go to download  all the exported data's stored in Var/Export Location.

Hopefully this article usefule for you. Please comment for your thoughts and be share this if its usefull.

By PHP with No comments

Magento Categorey lists display Order change, Sortby Magento Categories

How we can able to change category lists order in magento? Magento admin control panel having options to manually change the sort order in category lists.

 In Magento eCommerce store Category order changed in the following way,


  Need to logged in into Magento Admin Panel
  Then Go to Catalog on the top navigation
  catalog -> Manage Categories

See the categories,magento category lists on the left navigation.

 Click the category on the left, then drag to change order and drop.

Drag and drop method to sort category lists in magento.

By PHP with No comments

Magento Products Export via Admin control panel

Magento is most used eCommerce Opensource in PHPwe application development. Because its having many features related to eCommerce compare to any other.

  Magento have simple option to export products via admin panel. Magento export have 2 options to get the result which is XML format and CSV formats.

 In the following way to export products in our magento admin Store.

1. Goto Admin controll panel
2. System ->Export/Import 
3. Data Profile

 Default Data Profile have Products lists, customer Lists etc

 When we click into products lists, it will display options which we choose /Modify. Now click into Run profile in the left side tab

Click content area have the button called "Run profile popup"

The below screenshot shows products export completed successfully.


Now we can go to FTP ->Var ->Export then download exported magento product lists.









By PHP with No comments

Friday, July 20, 2012

PHP…MYSQL…JQUERY… Starting History at a glance

Nowadays one of most used open source web development script is PHP. Because PHP is easy to learn as well as easy develop website and web application easily with short period of time.

When we create PHP, No need to invest money to purchase all the supporting softwares are open source.

About PHP:

The great open source PHP creator is : “Rasmus Lerdorf”
Top know more about PHP language creator visit following,
  1. http://en.wikipedia.org/wiki/Rasmus_Lerdorf
  2. http://lerdorf.com/bio.php
  3. http://www.oracle.com/technology/pub/articles/php_experts/rasmus_php.html

About MYSQL:

PHP is frontend scripting language, When we need to store the data, we need backend database. MYSQL one of the powerful databases to store the data’s in the backend. Mysql is also an open source.
The creator of MYSQL is : “Michael Widenius”
  1. http://www.mysql.com/

About Jquery:

Process is done without page reloading... So we go for an jQuery. jQuery used to create fast web based application with any events, animations and also interact with ajax functionality. to know more about this,
  1. http://docs.jquery.com/Tutorials
Leader of jQuery :“John Resig”

By PHP with No comments

Monday, July 16, 2012

Magento backend at a glance video tutorial

How magento backend built. Watch online tutorial to learn about magento backend. Magento backend video online.



Hope is this useful please comment us

By PHP with No comments

Magento Installation video tutorial online

Learn how to install magento videos on-line. This video explained installation procedure for magento eCommerce shopping store. Watch online to install magento.



Magento installation is useful.. Please comment your thoughts.

By PHP with 1 comment

Magento Introduction Video Tutorial - What is Magento?

Magento Intorduction, What is magento, what is the use of magento vidoe online, Watch Magento video tutorial, Online Magento learning program.



Hope you are enjoying... Please share to friends..

By PHP with No comments

Sunday, July 15, 2012

Magento: Show all the Products from specific category

Here we display all the products from specific category in Magento. Below code needs category ID and product collection Object needed.  Please use the below code to show all the products using category ID.

<?php
$category_id = 10; // if you know static category then enter number

    $catagory_model = Mage::getModel('catalog/category')->load($category_id); //where $category_id is the id of the category

    $collection = Mage::getResourceModel('catalog/product_collection');

    $collection->addCategoryFilter($catagory_model); //category filter

    $collection->addAttributeToFilter('status',1); //only enabled product

    $collection->addAttributeToSelect(array('name','url','small_image')); //add product attribute to be fetched

    //$collection->getSelect()->order('rand()'); //uncomment to get products in random order    

    $collection->addStoreFilter();          

    if(!empty($collection))

    {

            foreach ($collection as $_product):

            echo $_product->getName();   //get product name        

        endforeach;

    }else

        {

            echo 'No products exists';

    }              

?>


In the above code to display all the product names from specific category. If you want display all the product information, under the foreach loop need to use belo informations

// get Product's name
echo $_product->getName();
//get product's short description
echo $_product->getShortDescription();
//get Product's Long Description
echo $_product->getDescription();
//get Product's Regular Price
echo $_product->getPrice();
//get Product's Special price
echo $_product->getSpecialPrice();
//get Product's Url
echo $_product->getProductUrl();
//get Product's image Url
echo $_product->getImageUrl();


Hope Magento product lists code is useful for you. Kindly update your comments. Thanks for sharing this.

By PHP with 1 comment

Magento: List out the products from Category ID

Here we have to display all the products from single category using category ID. If we know category ID, We display all the product lists. Category ID is 6. We need to display all the products under 6th category, Use the following code to display all the products,

<?php
$catid = 6;
$category = new Mage_Catalog_Model_Category();
$category->load($catid); //My category id is 6
$prodCollection = $category->getProductCollection();
foreach ($prodCollection as $product) {
$prdIds[] = $product->getId(); //Array to store all the product ids
}
?>


In the above code to get all the products ID from category 6. Then we  need to Use following code to get Product information from the $prdIds[] Array.

<?php foreach($prdIds as $product_id); {
$obj = Mage::getModel('catalog/product');
$_product = $obj->load($product_id);
// get Product's name
echo $_product->getName();
//get product's short description
echo $_product->getShortDescription();
//get Product's Long Description
echo $_product->getDescription();
//get Product's Regular Price
echo $_product->getPrice();
//get Product's Special price
echo $_product->getSpecialPrice();
//get Product's Url
echo $_product->getProductUrl();
//get Product's image Url
echo $_product->getImageUrl();
}?>


Please update your comments to improve Next level in Magento Product Display. Thank you.

By PHP with 2 comments

Magento display all the categories in the left Navigation lists

In magento themes have the option to list out category list in the left navigation. But some of the themes are not available.

So, we need to create manually to list out the category lists in left nav bar.

1. We need to create left.phtml file in the following location

app\design\frontend\default\YOUR THEME\template\catalog\Navigation\

Then place the followiing code to list out the left navigation category lists like category and subcategory lists.

<div id="leftnav">
    <?php $helper = $this->helper('catalog/category') ?>
    <?php $categories = $this->getStoreCategories() ?>
    <?php if (count($categories) > 0): ?>
        <ul id="leftnav-tree" class="level0">
            <?php foreach($categories as $category): ?>
                <li class="level0<?php if ($this->isCategoryActive($category)): ?> active<?php endif; ?>">
                    <a href="<?php echo $helper->getCategoryUrl($category) ?>"><span><?php echo $this->escapeHtml($category->getName()) ?></span></a>
                    <?php if ($this->isCategoryActive($category)): ?>
                        <?php $subcategories = $category->getChildren() ?>
                        <?php if (count($subcategories) > 0): ?>
                            <ul id="leftnav-tree-<?php echo $category->getId() ?>" class="level1">
                                <?php foreach($subcategories as $subcategory): ?>
                                    <li class="level1<?php if ($this->isCategoryActive($subcategory)): ?> active<?php endif; ?>">
                                        <a href="<?php echo $helper->getCategoryUrl($subcategory) ?>"><?php echo $this->escapeHtml(trim($subcategory->getName(), '- ')) ?></a>
                                    </li>
                                <?php endforeach; ?>
                            </ul>
                            <script type="text/javascript">decorateList('leftnav-tree-<?php echo $category->getId() ?>', 'recursive')</script>
                        <?php endif; ?>
                    <?php endif; ?>
                </li>
            <?php endforeach; ?>
        </ul>
        <script type="text/javascript">decorateList('leftnav-tree', 'recursive')</script>
    <?php endif; ?>
</div>

Please share this tips and also Don't forgot to enter your Ideas to go next level. Thanks for your support.

By PHP with 1 comment

Magento: Display Shopping cart on the header

In magento we have the option to display shopping cart in the header position.

Go to the app\design\frontend\default\YOUR THEME\template\page\html

In this html folder find the header.phtml file

If header.phtml is not available in your theme goto the base in the below url

app\design\frontend\base\default\template\page\html\header.phtml

to place the followinig code under "header-container" div, now we can able to view total number of  items and price in header.

<?php
  $count = $this->helper('checkout/cart')->getSummaryCount();  //get total items in cart
  $total = $this->helper('checkout/cart')->getQuote()->getGrandTotal(); //get total price
  if($count==0)
  {
    echo $this->__('Items: %s',$count);
  }
  if($count==1)
  {
    echo $this->__(' Item: %s',$count);
  }
  if($count>1)
  {
    echo $this->__(' Items: %s',$count);
  }
  echo $this->__(' Total: %s', $this->helper('core')->formatPrice($total, false));
?>

Please update your comments/feedback to improve in our magento knowledge.

By PHP with No comments

Magento Favicon update via admin control panel

Magento have the possibilities to upload favicon image via admin control panel. Favicon displayed top left browser window.

Login into Magento admin panel and follow the steps

1. Go to System in the Admin top navigation
2. Under the System select Configuration
3. Left General tab -> Design
4. Select HTML Head under the Design
5. Favicon Browse option to upload favicon

Alloweded favicon formats are ICO, PNG, GIF, JPG, JPEG, APNG, SVG. But not all the browsers supported. Better option to upload .ico format

Thankyou . KIndly update your feedback to go with better ideas and solutions.

By PHP with 1 comment

Magento set minimum Qty 1 in product detail page

In magento have the option to set minimum quantity near to the add to cart button in the front end. We Set the 1 as default qty input box via admin control panel.

1. Go to the Admin ->System ->Configuration
2. Select Inventory from Catalog section
3. Product Stock Option -> Minimum Qty Allowed in Shopping Cart
4. Then Add Minimum Qty ->Select All Groups and enter minimum qty as 1.

Magento also have the options to add minimum qty value based on the Customer groups


Thanks for keep reading our website. We are expecting better comments to update our magento knowledge.

By PHP with 1 comment

Sunday, June 3, 2012

PHP Multipurpose


Let’s say you wanted to construct your site so that it showed the visitor’s name at the top of every page. With our custom welcome message example above, we’re halfway there already. Here are the problems we’ll need to overcome to extend the example:

We need the name on every page of the site, not just one.

We have no control over which page of our site users will view first



The first problem isn’t too hard to overcome. Once we have the user’s name in a variable on one page, we can pass it with any request to another page by adding the name to the query string of all links:2
<a href="newpage.php?name=<?php echo urlencode($_GET['name']);?>"> A link</a>


Notice that we’ve embedded PHP code right in the middle of an HTML tag. This is perfectly legal, and will work just fine.

You’re familiar with echo statements, but the urlencode function is probably new to you. This function takes special characters in the string (for example, spaces) and converts them into the special codes they need to be in order to appear in the query string. For example, if the $name variable had a value of 'Kevin Yank', then, as spaces are not allowed in the query string, the output of urlencode (and thus, the string output by echo) would be 'Kevin+Yank'. PHP would then convert it back automatically when it created the $_GET variable in newpage.php. Okay, so the user’s name will be passed with every link in our site. Now all we need is to get that name in the first place. In our welcome message example, we had a special HTML page containing a form that prompted the user for his or her name. The problem with this (identified by the second point above) is that we couldn’t—nor would we wish to—force the user to enter our Website by that page every time he or she visited our site.

The solution is to have every page of our site check to see if a name has been specified, and prompt the user for a name if necessary.3 This means that every page of our site will either display its content, or prompt the user to enter a name, depending on whether the $name variable is found to have a value. If you think this is beginning to sound like a good place for an if-else statement, you’re a quick study!

We’ll refer to pages that can decide whether to display one thing or another as multipurpose pages. The code of a multipurpose page looks something like this:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Multipurpose Page Outline</title>
<meta http-equiv="content-type"
content="text/html; charset=iso-8859-1" />
</head>
<body>
<?php if (condition) { ?>
<!-- HTML content to display if condition is true -->
<?php } else { ?>
<!-- HTML content to display if condition is false -->
<?php } ?>
</body>
</html>


This code may confuse you at first, but, in fact, this is just a normal if-else statement with HTML code sections that depend on the condition, instead of PHP statements. This example illustrates one of the big selling points of PHP: that you can switch in and out of “PHP mode” whenever you like. If you think of <?php as the command to switch into “PHP mode”, and ?> as the command to go back into “normal HTML mode,” the above example should make perfect sense.

There’s an alternate form of the if-else statement that can make your code more readable in situations like this. Here’s the outline for a multipurpose page using the alternate if-else form:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Multipurpose Page Outline</title>
<meta http-equiv="content-type"
content="text/html; charset=iso-8859-1" />
</head>
<body>
<?php if (condition): ?>

<!-- HTML content to display if condition is true -->
<?php else: ?>
<!-- HTML content to display if condition is false -->
<?php endif; ?>
</body>
</html>

Okay, now that we have all the tools we need in hand, let’s look at a sample page of our site:
File: samplepage.php
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Sample Page</title>
<meta http-equiv="content-type"
content="text/html; charset=iso-8859-1" />
</head>
<body>
<?php if (!isset($_GET['name'])): ?>
<!-- No name has been provided, so we
prompt the user for one. -->
<form action="<?php echo $_SERVER['PHP_SELF']; ?>" method="get">
<label>Please enter your name:
<input type="text" name="name" /></label>
<input type="submit" value="GO" />
</form>
<?php else: ?>
<p>Your name: <?php echo $_GET['name']; ?></p>
<p>This paragraph contains a
<a href="newpage.php?name=<?php echo urlencode($_GET['name']);
?>">link</a> that passes the name variable on to the next
document.</p>
<?php endif; ?>

</body>
</html>
There are two new tricks in the above code, but overall you should be fairly comfortable with the way it works. First of all, we’re using a new function called isset in the condition. This function returns (outputs) a value of true if the variable it is given has been assigned a value (i.e. if a name has been provided in this example), and false if the variable does not exist (i.e. if a name has not yet been provided). The exclamation mark (also known as the negation operator, or the not operator), which appears before the name of the function, reverses the returned value from true to false, or vice-versa. Thus, the form is displayed
when the $_GET['name'] variable is not set.

The second new trick is the use of the variable $_SERVER['PHP_SELF'] to specify the action attribute of the <form> tag. Like $_GET, $_POST, and $_REQUEST, $_SERVER is an array variable that is automatically created by PHP. $_SERVER contains a whole bunch of information supplied by your Web server. In particular, $_SERVER['PHP_SELF'] will always be set to the URL of the current page. This gives us an easy way to create a form that, when submitted, will load the very same page, but this time with the $name variable specified. If we structure all the pages on our site in this way, visitors will be prompted for their name by the first page they attempt to view, whichever page this happens to be, as shown in Figure 3.8. Once they enter their names and click GO, they’ll be presented with the exact page they requested.

By PHP with No comments

PHP Control Structures Tips


All the examples of PHP code we’ve seen so far have been either simple, onestatement scripts that output a string of text to the Web page, or series of statements that were to be executed one after the other in order. If you’ve ever written programs in other languages (JavaScript, C, or BASIC) you already know that practical programs are rarely so simple. PHP, just like any other programming language, provides facilities that allow us to affect the flow of control in a script. That is, the language contains special statements that permit you to deviate from the one-after-another execution order that has dominated our examples so far. Such statements are called control structures. Don’t get it? Don’t worry! A few examples will illustrate perfectly. The most basic, and most often-used, control structure is the if-else statement.



Here’s what it looks like:
if (condition) {
// Statement(s) to be executed if
// condition is true.
} else {
// (Optional) Statement(s) to be
// executed if condition is false.
}


This control structure lets us tell PHP to execute one set of statements or another, depending on whether some condition is true or false. If you’ll indulge my vanity for a moment, here’s an example that shows a twist on the personalized welcome page example we created earlier:

File: welcome6.php (excerpt)
$name = $_REQUEST['name'];
if ($name == 'Kevin') {
echo 'Welcome, oh glorious leader!';
} else {
echo "Welcome to our Website, $name!";
}


Now, if the name variable passed to the page has a value of Kevin, a special message will be displayed. Otherwise, the normal message will be displayed and will contain the name that the user entered.

As indicated in the code structure above, the else clause (that part of the ifelse statement that says what to do if the condition is false) is optional. Let’s say you wanted to display the special message above only if he appropriate name was entered; otherwise, you didn’t want to display any message. Here’s how the code would look:

$name = $_REQUEST['name'];
if ($name == 'Kevin') {
echo 'Welcome, oh glorious leader!';
}


The == used in the condition above is the PHP equal-to operator that’s used to compare two values to see whether they’re equal.

Conditions can be more complex than a single comparison for equality. Recall that our form examples above would receive a first and last name. If we wanted to display a special message only for a particular person, we’d have to check the values of both names:

File: welcome7.php (excerpt)
$firstname = $_REQUEST['firstname'];
$lastname = $_REQUEST['lastname'];
if ($firstname == 'Kevin' and $lastname == 'Yank') {
echo 'Welcome, oh glorious leader!';
} else {
echo "Welcome to my Website, $firstname $lastname!";
}


This condition will be true if and only if $firstname has a value of Kevin and $lastname has a value of Yank. The word and in the above condition makes the whole condition true only if both of the comparisons evaluate to true. Another such operator is or, which makes the whole condition true if one or both of two simple conditions are true. If you’re more familiar with the JavaScript or C forms of these operators (&& and || for and and or respectively), that’s fine—they work in PHP as well.

We’ll look at more complicated conditions as the need arises. For the time being, a general familiarity with the if-else statement is sufficient. Another often-used PHP control structure is the while loop. Where the if-else statement allowed us to choose whether or not to execute a set of statements depending on some condition, the while loop allows us to use a condition to determine how many times we’ll execute a set of statements repeatedly. Here’s what a while loop looks like:

while (condition) {
// statement(s) to execute over
// and over as long as condition
// remains true
}


The while loop works very similarly to an if-else statement without an else clause. The difference arises when the condition is true and the statement(s) are executed. Instead of continuing the execution with the statement that follows the closing brace (}), the condition is checked again. If the condition is still true, then the statement(s) are executed a second time, and a third, and will continue to be executed as long as the condition remains true. The first time the condition evaluates false (whether it’s the first time it’s checked, or the one-hundred-andfirst), execution jumps immediately to the statement that follows the while loop,
after the closing brace.

Loops like these come in handy whenever you’re working with long lists of things (such as jokes stored in a database… hint, hint!), but for now we’ll illustrate with a trivial example: counting to ten.

File: count10.php (excerpt)
$count = 1;
while ($count <= 10) {
echo "$count ";
++$count;
}
It looks a bit frightening, I know, but let me talk you through it line by line. The first line creates a variable called $count and assigns it a value of 1. The second line is the start of a while loop, the condition for which is that the value of $count is less than or equal (<=) to 10. The third and fourth lines make up the body of the while loop, and will be executed over and over, as long as that condition holds true. The third line simply outputs the value of $count, followed by a space.

The fourth line adds one to the value of $count (++$count is a short cut for $count = $count + 1—both will work).

So here’s what happens when this piece of code is executed. The first time the condition is checked, the value of $count is 1, so the condition is definitely true. The value of $count (1) is output, and $count is given a new value of 2. The condition is still true the second time it is checked, so the value (2) is output and a new value (3) is assigned. This process continues, outputting the values 3, 4,
5, 6, 7, 8, 9, and 10. Finally, $count is given a value of 11, and the condition is false, which ends the loop.

The condition in this example used a new operator: <= (less than or equal). Other numerical comparison operators of this type include >= (greater than or equal), < (less than), > (greater than), and != (not equal). That last one also works when comparing text strings, by the way. Another type of loop that is designed specifically to handle examples like that above, in which we’re counting through a series of values until some condition is met, is called a for loop. Here’s what it looks like:

for (initialize; condition; update) {
// statement(s) to execute over
// and over as long as condition
// remains true after each update
}


The initialize statement is executed once at the start of the loop; the condition statement is checked each time through the loop, before the statements in the body are executed; the update statement is executed each time through the loop, but after the statements in the body. Here’s what the “counting to 10” example looks like when implemented with a for loop:

File: count10–for.php (excerpt)
for ($count = 1; $count <= 10; ++$count) {
echo "$count ";
}


As you can see, the statements that initialize and increment the $count variable join the condition on the first line of the for loop. Although, at first glance, the code seems a little more difficult to read, putting all the code that deals with controlling the loop in the same place actually makes it easier to understand once you’re used to the syntax. Many of the examples in this book will use for loops, so you’ll have plenty of opportunity to practice reading them.

By PHP with No comments

    • Popular
    • Categories
    • Archives