Unanswered topic

Question and answer at once: How to use adjNav within typogento


Author Message
Written on: 14. 12. 2009 [20:38]
trikr
Patrik Remmele
registered since: 30.11.2009
Posts: 9
For all those who want to use the adjNav module (payed module) within typogento here is my quick solution to get it up and running. In this case I use it for multiple choose an attribute in the layered category navigation.

1. Install the module like the install manual describes
2. After the module works in your regular magento installation open this file
app/design/frontend/DEFAULT/DEFAULT/template/adjnav/layer.phtml
"DEFAULT" may differ if you use some other template
3. Insert in the first line
PHP
<?php $category = Mage::getSingleton('catalog/layer')->getCurrentCategory(); ?>

4. Search for the line beginning with
PHP
<input type="hidden" id="adj-nav-ajax"

5. Replace the whole line with this
PHP
<input type="hidden" id="adj-nav-ajax" value="http://WWW.YOURTLD.TLD/MAGENTO/index.php/adjnav/ajax/category/id/<?php echo $category->getId(); ?>/" />

"WWW.YOURTLD.TLD/MAGENTO/" should be changed to fit your installation

hope i will help someone else with this few lines icon_wink.gif



Portal information:

At the moment there are 0 users online, thereof 0 registered users and 0 guests.
Today 0 registered users and 0 guests were already online.

Now online


TypoGento has 228 registered user, 112 topics and 182 answers. On average 0.35 posts are written per day.