Jump to content

Modifying Categories Footer


Naldinho
 Share

Recommended Posts

*I am very new at this. I used to know how to program but that was 20 years ago.so if this is really simple please forgive me.

 

 

I added multiple categories modules to my shop -- 4 for now but might increase to 5 or 6.

 

I don't want to have 4 columns in the footer for each category.

 

I figured I would be able to edit one of the blockcategories_footer.tpl to have it display all categories and then I would only display that.

 

I have been playing with it and I have a question.

 

1) The list of categories is that generated from the database in blockcategories_footer.tpl or blockcategories.php and then passed as an variable / array to blockcategories_footer.tpl?

 

2) If the latter what is the name of the variable / array?

 

 

I realize that is really noobish but it would help me figure out the code if I knew where the list was generated.

 

Regards

Naldinho

Share this post


Link to post
Share on other sites

in the blockategories.php file you've got functions for handle the hooks:

  1. hookLeftColumn
  2. hookFooter

 

now you can use the same code as you have in the hookLeftColumn, in the hookFooter function.

Just rempace the code

Share this post


Link to post
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
 Share

×
×
  • Create New...

Important Information

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