Jump to content
vinoalvino

Blocknavigation (6 blocks in 1) v. [0.5] 0.6

Recommended Posts

Hi,
I was searching for some space in my pages,
so I compacted some modules standard and other that I made:
I made a navigation module compact with:
1) Search (optional autocomplete)
2) Categories structurated from the bo
3) Active manufactures
4) Active supplier
5) Tags
6) Cms documents

In FO all is show with combo-box

In the BO (see picture) you can choose what you can validate in fo.


Note: It's better to remove the original blocks if you activate inside

Version 0.6:
I add options:
Show with products only
Show number of products

Sorry for my english!

4777_cQvWKan5rTr8jmWlpnar_t

4778_GBISSZAP498XT04yaFUJ_t

blocknavigation_06.zip

  • Like 3

Share this post


Link to post
Share on other sites

It is a very good idea. Thank you for sharing...

Share this post


Link to post
Share on other sites

BUG?

If you choose from the option Categorie part of this great module Home and lets say the Laptops you cannot choose Home again because it already went back to home.
So the customer can only choose another part of your category but never Home.
I find this not user friendly and I think it should stay on the one you have choosen.
Any chance on fixing this?

Same goes for Manufacturers, Suppliers etc.

Thanks!

Share this post


Link to post
Share on other sites

in blocknavigation.tpl:

<!-- Navigation: categories -->
   {foreach from=$cat_sel item=sel}
       {assign var=n value=0}
       {foreach from=$sel item=opt}
       {if $n==0}

{$opt.name}
       {assign var=n value=1}
       {else}
{$opt.name}{if $cat_num==1} ({$opt.products}){/if}
       {/if}
       {/foreach}

   {/foreach}
<!-- /Navigation: categories -->



to

<!-- Navigation: categories -->
   {foreach from=$cat_sel item=sel}
       {assign var=n value=0}

       {foreach from=$sel item=opt}
{$opt.name}{if $cat_num==1} ({$opt.products}){/if}
       {/foreach}

   {/foreach}
<!-- /Navigation: categories -->



I not try but ... try it :smirk:

Share this post


Link to post
Share on other sites

Hi Vinoalvino

Thanks for sharing:-)

I´d like to know if the last version of that nice mod is full compatible with Presta 1.2.1 alfa.

Trying to install It on my local test server I have some errors:

Warning: require_once() [function.require-once]: Unable to access F:\OpenSource\prestashop\server2go_a2_psm\distribute_apache2.0\htdocs\multishop\config/../classes/ZipArchive.php in F:\OpenSource\prestashop\server2go_a2_psm\distribute_apache2.0\htdocs\multishop\config\config.inc.php on line 20

Warning: require_once(F:\OpenSource\prestashop\server2go_a2_psm\distribute_apache2.0\htdocs\multishop\config/../classes/ZipArchive.php) [function.require-once]: failed to open stream: Result too large in F:\OpenSource\prestashop\server2go_a2_psm\distribute_apache2.0\htdocs\multishop\config\config.inc.php on line 20

Fatal error: require_once() [function.require]: Failed opening required 'F:\OpenSource\prestashop\server2go_a2_psm\distribute_apache2.0\htdocs\multishop\config/../classes/ZipArchive.php' (include_path='.;F:\OpenSource\prestashop\server2go_a2_psm\distribute_apache2.0\server\php\PEAR') in F:\OpenSource\prestashop\server2go_a2_psm\distribute_apache2.0\htdocs\multishop\config\config.inc.php on line 20


and my blocks tab got broken, I had to uninstall the mod.

Thank you very much.

Share this post


Link to post
Share on other sites

Does anyone confirm that behavior on 1.2.1 alfa???

Thanks

Share this post


Link to post
Share on other sites
Jus a little bump :-)
I am using Prestashop: Version 1.2.0.2 - 0.863s. I just installed this module and it works just fine.

Share this post


Link to post
Share on other sites

thanks for the input.

Wierd indeed..i´ll try to dig a bit more....

Share this post


Link to post
Share on other sites

Very Nice module, Thanxxxxxx !!

Is it possible to have it in horizontal position, in the header ?

Share this post


Link to post
Share on other sites

Hi

2 another questions :

1- Is it possible to have the parent's category name linkable ?
2- Is it possible to have the sum of ALL the products in categories and ALL subcategories ?

<!-- Navigation: categories -->
   {foreach from=$cat_sel item=sel}
       {assign var=n value=0}
       {foreach from=$sel item=opt}
       {if $n==0}


{$opt.name}
----------> linkable to the {$opt.name} category


       {assign var=n value=1}
       {else}

{$opt.name}{if $cat_num==1} ({$opt.products}){/if}
-------------------> sum of all products in category+all subcategories

       {/if}
       {/foreach}

   {/foreach}
<!-- /Navigation: categories -->
   {/if}




Thanks again for your great job !

Share this post


Link to post
Share on other sites

Thanks for de modul.

In the versión 1.3.3 do not search automatic de manufacturer. Please help.

Thanks in advance.

Share this post


Link to post
Share on other sites

Thanks for this very useful module !!

I've install it with PS 1.4.8.2 and it works fine..

 

Thanks again.

Share this post


Link to post
Share on other sites

Hello,

 

I use this very usefull module which solved my problem. Thanks ...

However is there a way to display the items from a category in alphabetical order rather than in ID order ?

 

Thanks for any answer.

 

Regards

Share this post


Link to post
Share on other sites

I wish everybody an Happy new Year !!

... and the best start for me would be to find an help regarding my last query...

 

Regards

Share this post


Link to post
Share on other sites

Nobody can help ? I need really your help to modify the code and display the sub-categories in alphabeticall order ...

 

MANY THANKS.

Share this post


Link to post
Share on other sites

I have installed (works fine) on a site running PS 1.4.8 here: www.encre-imprimante.net

I have not tried with 1.5.?

 

Nice module as i said but it lists categories by their IDs and I need this module which would list the categories in alphabetical order...

Because when you add a category it's listed by the end of the list even if the name should be listed by the beginning of the list.

Share this post


Link to post
Share on other sites

hello,

 

How can I modify the block title from 'Navigation' to something else ?

 

Thanks...

Share this post


Link to post
Share on other sites

Hi !

thanks for this great module - it works perfectly in presta 1541.
it is possible to have the features in the options to display ?

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More