Jump to content

Product categories not showing in footer


Recommended Posts

footer category is show by blockcategory and there are two tpl file in that module one show left side and another show footer. you can check your module folder that two file exists. if your module tpl is overwrite from theme than you need to check that from theme folder.

 

Hope you can understand what to do.

Link to comment
Share on other sites

The blockcategories_footer.tpl file shows the following code:

 

<!-- Block categories module -->
<div class="blockcategories_footer">
<p class="title_block">{l s='Categories' mod='blockcategories'}</p>
<div class="category_footer" style="float:left;clear:none;width:{$widthColumn}%">
<div style="float:left" class="list">
 <ul class="tree {if $isDhtml}dhtml{/if}">

 {foreach from=$blockCategTree.children item=child name=blockCategTree}
  {if $smarty.foreach.blockCategTree.last}
   {include file="$branche_tpl_path" node=$child last='true'}
  {else}
   {include file="$branche_tpl_path" node=$child}
  {/if}

  {if ($smarty.foreach.blockCategTree.iteration mod $numberColumn) == 0 AND !$smarty.foreach.blockCategTree.last}
 </ul>
</div>
</div>
<div class="category_footer" style="float:left;clear:none;width:{$widthColumn}%">
 <div style="float:left" class="list">
 <ul class="tree {if $isDhtml}dhtml{/if}">
  {/if}
  {/foreach}
 </ul>
</div>
</div>
<br class="clear"/>
</div>
<!-- /Block categories module -->

 

I have no idea what to do. Can you help me out?

Link to comment
Share on other sites

hello

 

you pasted code from modules/blockcategories/ ?

check also the themes/your_theme/modules/blockcategories directory

if blockcategories module files exist there - they are correct files (prestashop uses those files)

...maybe you've got different code there.

 

btw.

 

what you've got in the "How many footer columns would you like" field in the module configuration page?

h99WrlO.png

  • Like 1
Link to comment
Share on other sites

I compared both codes from the blockcategories module (my theme and modules/blockcategories), they are exactly the same.

 

what you've got in the "How many footer columns would you like" field in the module configuration page?

 

I have 1 over there.

Link to comment
Share on other sites

  • 1 month later...

I got the error log file. It shows the following errors:

 

[sat Aug 03 21:50:12 2013] [error] [client 94.23.20.46] Premature end of script headers: Q7Gr3wvc.gif

[sat Aug 03 21:50:12 2013] [error] [client 94.23.20.46] File does not exist: /var/www/vhosts/7/133414/webspace/siteapps/Prestashop-58205/htdocs/error_docs

[sat Aug 03 21:50:12 2013] [error] [client 94.23.20.46] Premature end of script headers: Q7Gr3wvc.gif

[sat Aug 03 21:50:26 2013] [error] [client 94.23.20.46] File does not exist: /var/www/vhosts/7/133414/webspace/siteapps/Prestashop-58205/htdocs/httpdocs

[sat Aug 03 21:50:26 2013] [error] [client 94.23.20.46] File does not exist: /var/www/vhosts/7/133414/webspace/siteapps/Prestashop-58205/htdocs/error_docs

[sat Aug 03 21:50:26 2013] [error] [client 94.23.20.46] File does not exist: /var/www/vhosts/7/133414/webspace/httpdocs/wijwillenwijn.emptybottles.nl/httpdocs

[sun Aug 04 14:09:47 2013] [error] [client 31.151.236.23] Premature end of script headers: php, referer: http://www.emptybottles.nl/Backoffice/index.php?controller=AdminSelfUpgrade&token=6b1973c2e23bc5a6ee0e2e2be9c73d39

Link to comment
Share on other sites

  • 1 year later...

can you put there:
{$blockCategTree|print_r}
just before the
<!-- Block categories module -->
after that - refresh your front office - check the footer section - any new content appear? 

 

 

s , i got this ....

Array ( [id] => 2 [link] => http://localhost/NAMOCART/en/2-home [name] => Home [desc] => [children] => Array ( [0] => Array ( [id] => 29 [link] => http://localhost/NAMOCART/en/29-namo [name] => Namo [desc] => [children] => Array ( [0] => Array ( [id] => 30 [link] => http://localhost/NAMOCART/en/30-waist [name] => Waist [desc] => [children] => Array ( ) ) [1] => Array ( [id] => 31 [link] => http://localhost/NAMOCART/en/31-kurtha [name] => Kurtha [desc] => [children] => Array ( ) ) ) ) [1] => Array ( [id] => 48 [link] => http://localhost/NAMOCART/en/48-yoga [name] => Yoga [desc] => [children] => Array ( [0] => Array ( [id] => 51 [link] => http://localhost/NAMOCART/en/51-t-shirts [name] => T-Shirts [desc] => [children] => Array ( ) ) [1] => Array ( [id] => 52 [link] => http://localhost/NAMOCART/en/52-pants [name] => Pants [desc] => [children] => Array ( ) ) ) ) [2] => Array ( [id] => 32 [link] => http://localhost/NAMOCART/en/32-guys [name] => Guys [desc] => [children] => Array ( [0] => Array ( [id] => 33 [link] => http://localhost/NAMOCART/en/33-jeans [name] => Jeans [desc] => [children] => Array ( ) ) [1] => Array ( [id] => 34 [link] => http://localhost/NAMOCART/en/34-t-shirts [name] => T-Shirts [desc] => [children] => Array ( ) ) [2] => Array ( [id] => 36 [link] => http://localhost/NAMOCART/en/36-trousers [name] => Trousers [desc] => [children] => Array ( ) ) [3] => Array ( [id] => 37 [link] => http://localhost/NAMOCART/en/37-shirts [name] => Shirts [desc] => [children] => Array ( ) ) ) ) [3] => Array ( [id] => 38 [link] => http://localhost/NAMOCART/en/38-girls [name] => Girls [desc] => [children] => Array ( [0] => Array ( [id] => 39 [link] => http://localhost/NAMOCART/en/39-jeans [name] => Jeans [desc] => [children] => Array ( ) ) [1] => Array ( [id] => 40 [link] => http://localhost/NAMOCART/en/40-t-shirts [name] => T-Shirts [desc] => [children] => Array ( ) ) [2] => Array ( [id] => 41 [link] => http://localhost/NAMOCART/en/41-kurthi [name] => Kurthi [desc] => [children] => Array ( ) ) [3] => Array ( [id] => 42 [link] => http://localhost/NAMOCART/en/42-leggin [name] => Leggin [desc] => [children] => Array ( ) ) [4] => Array ( [id] => 43 [link] => http://localhost/NAMOCART/en/43-chudidhar [name] => Chudidhar [desc] => [children] => Array ( ) ) ) ) [4] => Array ( [id] => 16 [link] => http://localhost/NAMOCART/en/16-mobile-accessories [name] => Mobile Accessories [desc] => [children] => Array ( [0] => Array ( [id] => 44 [link] => http://localhost/NAMOCART/en/44-screen-guard [name] => Screen Guard [desc] => [children] => Array ( ) ) [1] => Array ( [id] => 45 [link] => http://localhost/NAMOCART/en/45-cases-covers [name] => Cases & Covers [desc] => [children] => Array ( ) ) [2] => Array ( [id] => 46 [link] => http://localhost/NAMOCART/en/46-flip-covers [name] => Flip Covers [desc] => [children] => Array ( ) ) [3] => Array ( [id] => 47 [link] => http://localhost/NAMOCART/en/47-other-accessories- [name] => Other Accessories [desc] => [children] => Array ( ) ) ) ) ) ) 1

 

pls help me out in this ....

Edited by Vishwastn2 (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...