Array
(
[0] => stdClass Object
(
[comment_ID] => 899
[comment_post_ID] => 45
[comment_author] => Prakash
[comment_author_email] => maniprakash.c@gmail.com
[comment_author_url] =>
[comment_author_IP] => 115.112.71.110
[comment_date] => 2013-05-06 08:53:39
[comment_date_gmt] => 2013-05-06 08:53:39
[comment_content] => Really fantastic post. this post helped me to solve my issues!!!
[comment_karma] => 0
[comment_approved] => 1
[comment_agent] => Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.64 Safari/537.31
[comment_type] =>
[comment_parent] => 0
[user_id] => 0
)
[1] => stdClass Object
(
[comment_ID] => 890
[comment_post_ID] => 375
[comment_author] => Jami
[comment_author_email] => jamiwaller@web.de
[comment_author_url] =>
[comment_author_IP] => 68.4.214.25
[comment_date] => 2013-05-04 12:10:03
[comment_date_gmt] => 2013-05-04 12:10:03
[comment_content] => I take pleasure in, cause I found exactly what I was looking for.
You have ended my four day lengthy hunt! God Bless you man.
Have a nice day. Bye
[comment_karma] => 0
[comment_approved] => 1
[comment_agent] => Opera/9.80 (Windows NT 6.2; Win64; x64) Presto/2.12.388 Version/12.15
[comment_type] =>
[comment_parent] => 0
[user_id] => 0
)
[2] => stdClass Object
(
[comment_ID] => 888
[comment_post_ID] => 45
[comment_author] => webguy
[comment_author_email] => just4lst@gmail.com
[comment_author_url] =>
[comment_author_IP] => 14.98.81.31
[comment_date] => 2013-05-04 06:14:22
[comment_date_gmt] => 2013-05-04 06:14:22
[comment_content] => I have upload the Product Images... and they were showing on the Front Page... but suddenly all the image got hidden from the front and got replaced by Default Image/ Place Holder Image... but were visible on the Product Admin page.... this happened two times... so i again have to select the images from the Product Admin Page.....???
What to do so in future they don't get hidden or replaced by Default Image/ Place Holder Image... coz it takes a lot time to select the images again and again...
Please Help me out
[comment_karma] => 0
[comment_approved] => 1
[comment_agent] => Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.64 Safari/537.31
[comment_type] =>
[comment_parent] => 0
[user_id] => 0
)
[3] => stdClass Object
(
[comment_ID] => 737
[comment_post_ID] => 21
[comment_author] => amit
[comment_author_email] => amitrana123@gmail.com
[comment_author_url] =>
[comment_author_IP] => 203.55.173.2
[comment_date] => 2013-04-17 05:00:42
[comment_date_gmt] => 2013-04-17 05:00:42
[comment_content] => nice work.
Thanks a lot.
[comment_karma] => 0
[comment_approved] => 1
[comment_agent] => Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.64 Safari/537.31
[comment_type] =>
[comment_parent] => 0
[user_id] => 0
)
[4] => stdClass Object
(
[comment_ID] => 732
[comment_post_ID] => 322
[comment_author] => Devendra Sharma
[comment_author_email] => hyd.devendra@gmail.com
[comment_author_url] =>
[comment_author_IP] => 101.63.4.9
[comment_date] => 2013-04-15 09:17:42
[comment_date_gmt] => 2013-04-15 09:17:42
[comment_content] => The drawback is that it will change all Rs to rupee symbol hence Chargers will be Charge and rupee symbol and so on
[comment_karma] => 0
[comment_approved] => 1
[comment_agent] => Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.64 Safari/537.31
[comment_type] =>
[comment_parent] => 0
[user_id] => 0
)
)
Using target=”_blank” in links while writing HTML is very common. But XHTML Strict validator does not support target attribute in links. So for validating a page with XHTML Strict and still use target=”_blank” we need to do the following with the help of JavaScript –
Under certain circumstances we are left with no other choice but to write our JavaScript code in the XHTML file itself. And after that when we try to validate our site with the XHTML validator we get errors for the JS code. Lets see how we can get these validated properly.
Problem generally arises with the “<” or “>” symbols used in loops or conditions or any HTML used within the JavaScript (for example setting any HTML with innerHTML).
To validate these JavaScript codes wrap them with CDATA.
Now the JavaScript codes in the HTML document will pass the XHTML Strict validation.
For a long time we have been able to specify styles for different media types using CSS ; print and screen being the most recognizable. With CSS3 these media types have been extended to allow additional expressions, also known as media queries, which give us greater control on when specific styles should be applied.
Media queries enable us to target specific features (screen width, orientation and resolution) within CSS itself. We can use them in two ways:
1) inline in a CSS style sheet
OR
2) as the “media” attribute in the link tag, which loads an external style sheet.
We can also write the same media query using the other method, which points to an external style sheet (not recommended):
The last example process is not recommended because it creates an additional HTTP request (bad for performance). Also, in the case of screen orientation, the separate CSS style sheet is not downloaded when the screen is rotated.
Sometimes we may need to know whether or not we’re dealing with a mobile device. Using JavaScript we can get it by parsing the UserAgent string.
For example if you are using Apple iPad the userAgent will return the value -
Mozilla/5.0 (iPad; U; CPU OS 3_2 like Mac OS X; en-us) AppleWebKit/531.21.10 (KHTML, like Gecko) Version/4.0.4 Mobile/7B334b Safari/531.21.10.
Lets see how we can get the userAgent and use it to determine the device.
var uagent = navigator.userAgent.toLowerCase();
var device = '';
if (uagent.search("iphone") > -1)
device = 'iphone';
else if (uagent.search("ipod") > -1)
device = 'ipod';
else if (uagent.search("tablet") > -1)
device = 'tablet';
else if (uagent.search("ipad") > -1)
device = 'ipad';
else if (uagent.search("android") > -1)
device = 'android';
Zen Cart does not allow uploading of multiple images for the same product directly from the admin interface. However it is possible with the help of manually uploading the images via FTP. Let’s see how to do it in details.
1. Create a product and upload the first image for it from the Zen Cart admin. Lets assume name of the image is product_image.jpg and it is uploaded in the “images” folder.
2. Rename the extra images of the same product as product_image_1.jpg , product_image_2.jpg . product_image_3.jpg …. product_image_x.jpg
3. Upload the extra images in the ‘images’ folder (same folder where the main image was upload via the Zen Cart admin) using the FTP.
That’s it. You will be able to see the extra images in the product details page now.