Magento Themes and Magento Extensions

Magento – Layered Navigation Custom

Share
Posted on September 27th, 2011 | Posted by admin

Magento – Layered Navigation Custom

If you want you layered navigation to be customized like the image above follow me…

We need to edit 3 files..

  • styles.css
  • template/catalog/layer/filter.phtml
  • template/catalog/layer/view.phtml

filter.phtml

<select onchange=”setLocation(this.value)”>
<option value=”” selected=”true”>

<?php if($GLOBALS['filtername'] == “Category”): ?>
<span>Kunstenaars</span>
<?php else: ?>
<?php echo $GLOBALS['filtername']; ?>
<?php endif; ?>
</option>

<?php foreach ($this->getItems() as $_item): ?>
<?php if ($_item->getCount() > 0): ?>
<option value=”<?php echo $this->urlEscape($_item->getUrl()) ?>”><?php echo $_item->getLabel() ?>&nbsp;(<?php echo $_item->getCount() ?>)</option>
<!–<a href=”<?php echo $this->urlEscape($_item->getUrl()) ?>”><?php echo $_item->getLabel() ?></a>–>
<?php else: echo $_item->getLabel() ?>
<?php endif; ?>

<?php endforeach ?>
</select>

Magento: Adding breadcrumbs to Homepage

Share
Posted on September 27th, 2011 | Posted by admin

1.  Register the new module (we will call the module CMS and give the development company the name Acme):

In your “magento\app\etc\modules” directory create a file named Acme_All.xml with the following content:-


<?xml version="1.0"?>
<config>
<modules>
<Acme_Cms>
<active>true</active>
<codePool>local</codePool>
</Acme_Cms>
</modules>
</config>

2.  Register the module (which will be implemented in the class
Acme_Cms_Block_Page) as being responsible for rewrite-ing the cms/page
block
In a “magento\app\code\local\Acme\Cms\etc “directory (you will need to
create it) create a config.xml file with the following content:-

Glasses Fashion Magento Theme

Share
Posted on September 27th, 2011 | Posted by admin
  • Quickstart package with Latest Magento version + Full MA extesion + Sample database same as in live demo site
  • MA Easy Banner1 ( Slideshow Image)
  • MA Featured Product Slider module
  • MA New Product module
  • MA Bestseller Product vertical scroller ( Show top seller product)
  • Template is fully compatible with magento verion: 1.4.x.x, 1.5.x.x, 1.6
  • PSDs file supplied, easy to edit
  • 100% Tableless design. 100% HTML/CSS/DIV compliance.
  • Valid XHTML and CSS markup
  • Tutorial and detailed User guide for installation and using.
  • Cross Browser Support (IE 7+, Safari, Mozilla Firefox, Chrome, Opera 9+)
  • The extensions used is provided by our own( Plazathemes.com)

Magento ERROR: unable to unpack

Share
Posted on September 23rd, 2011 | Posted by admin

Current issue with PEAR repositories affects upgrade from Magento 1.4.1.1 to Magento 1.4.2.0 via Magento Connect Manager and installation of some Magento extensions. The following error (or similar one) is shown in Magento Connect Manager on installation/upgrade:

ERROR: unable to unpack downloader/pearlib/download/AW_Blog-1.0.21.tgz

To solve the issue it is needed to forcibedly upgrade PEAR package to the latest version using the following CLI command:

./pear install -f PEAR

For new Magenting installations this command is included in the post-install script. If you notice this issue with your old Magento installation, please notify the Support Team to get this fixed.

How do I change the Magento Base URL?

Share
Posted on September 23rd, 2011 | Posted by admin

The Magento Base URL is the URL used to access Store pages. It can be set on a per Store basis, so every Store could have its own Base URL.

Before starting the changes please make sure that the domain you wish to use as Base URL is already resolved to the IP-address of your Store (so either domain’s DNS servers or IP-address were set to Magenting’s servers). To verify that DNS changes are done, you can just open the domain name in browser. If DNS is set correctly it will redirect you to current Base URL (in .magenting.com subdomain).

To change the Magento Base URL you need to switch to Magento Admin Area and modify the Base URL at System > Configuration > Web > Unsecure > Base URL and System > Configuration > Web > Secure > Base URL.

Page 1 of 41234»