# Arvixe Blog

## Opencart – color mind games

Believe it or not, the color you choose for you website involving backgrounds, fonts, lines, designs, images and other things is super important to keeping customers on your website. Color is not something designers take into consideration nearly enough and as a result, customers are lost because of short page visits. The psychological aspect of colors and how they play on the eyes could determine the exact length of time a user will stay on your website. Sometimes people that end up closing the browser down don’t even know why they did it. I’ve actually studied this and designed enough websites to know that this is valid.

## Remove or edit the crawler block on Textpattern index pages

If you’re using the default Textpattern CMS theme included from 4.5.0 onwards, it’s likely that some of your index pages will not be included in reputable search engine results. That’s not necessarily a reflection of the quality/quantity of your content, it’s more likely to be be the way the template code is constructed. When I refer to index pages, that typically refers to URLs where multiple articles are listed in succession. There’s a school of thought in search engine optimisation (SEO) that dictates you should minimise duplicate content in your website. These reputable search engines – and I’m generalising a little – prefer unique content, and if you have a website with a front page of articles, sections with articles and individual articles, you could have three or more instances of the same article.

To that end, Textpattern’s default theme has directives for search engines to index certain URLs and ignore others. The code in question is:
    
    
    <txp:if_search>
    <meta name="robots" content="none">
    <txp:else />
    <txp:if_category>
    <meta name="robots" content="noindex, follow, noodp, noydir">
    <txp:else />
    <txp:if_author>
    <meta name="robots" content="noindex, follow, noodp, noydir">
    <txp:else />
    <meta name="robots" content="index, follow, noodp, noydir">
    </txp:if_author>
    </txp:if_category>
    </txp:if_search>
    

Let’s figure this out line by line. The opening tag, `<txp:if_search>`, will run its contents if the URL being viewed is search results – the contents in this case being `<meta name=”robots” content=”none”>`, which is a directive for search engines and crawlers (robots, if you like) to neither index or follow the links on the page, essentially ignoring the content and treating it as transient. The `<txp:else />` tag that follows starts a new condition that runs the innards if the URL is not search results. So, essentially, if it’s search results – ignore it, and if it’s not search results then start processing the new tags after the `<txp:else />` part.

This is a great example of tags in tags, or tag nesting if you prefer. There’s no official term for it, so choose whatever works for you. If the URL is not search results, there’s a check to see if the page is a category listing – if it is, then the directive instructs the search engine (robot) to not index the content, but to follow the links elsewhere, opt-out of the Open Directory Project at dmoz.org and opt-out of the Yahoo! Directory. The same goes for the next tag in a tag – if the URL is the result of an author article listing, it does the same thing: no indexing, follow the links, opt-out of Open Directory Project and Yahoo! Directory. The final part of the tag tree is, essentially, if none of the above are true, index the content, follow links, but still opt-out of Open Directory Project and Yahoo! Directory.

Any or all of the above can be flipped, edited or completely removed. If you’d prefer to let the search engine, reputable or otherwise, figure out what’s best for its listings, then deleting the above code from your page template will achieve this result.

## Opencart 2.0 what’s new!

So it’s finally here. Opencart 2.0. There have been some major changes that this article will go over a few of the big changes that I feel you should know about.

## Bootstrap 3 (Twitter Bootstrap)

This is a huge change. This is the ever popular twitter bootstrap now installed in Opencart. Bootstrapping wraps the default theme/CSS with the bootstrap theme and allows for more control over styling. Your store is now sleek, stylish, and more powerful than ever on both desk top devices and all mobile devices.

## OCMOD is integrated (OC2)

You can now make modifications to your website while avoiding having to change core files. No separate installation required. This is very helpful and can avoid costly alterations that may affect the rest of your site.

## Font Awesome

This will make your website look professional and lively with this CSS font collection. All of the 439 icons are retina ready as well as customizable and scalable. Font Awesome gives you scalable vector icons that can instantly be customized — size, color, drop shadow, and anything that can be done with the power of CSS.

## Extension Installer

A very nice theme/extension installer for the front end and the back end. No more over-writing files via FTP. This leads to a faster and more accurate installation process.

## Event Added

Event notification system.Example: send an email to admin when there is a new registered user.

## API Integrated

This addition allows you to integrate your website with 3rd party API Platforms. Create an iOS and Android application.

## Intuitive Dashboard

The new dash board helps you really focus on what is really important like sales, statistics etc. The previous horizontal menu is replaces with a vertical menu and is more intuitive.

## UPGRADING WARNING

If you are upgrading you need to make a complete back up of your entire website because some people’s websites are breaking depending upon which extensions you have installed.