Jump to content

Suppliers block


Recommended Posts

I have a couple of issues, so I wonder...

  1. Is it working/bug "free"? (For instance my $nbsuppliers is 0 even though I have three suppliers defined.)
  2. What files are involved? (So that I can check against a installation pack)
  3. Where and how can I make variables available to themes/supplier.tpl , e.g. supplier's address
  4. I thought there was something more, but I guess that's it for now

/Mats

Link to comment
Share on other sites

At least, tell me if the header "SUPPLIERS" is a link in your installation. I need to know if this is a bug...

 

I've replaced the module, themes/supplier.tpl+supplier-list.tpl and controllers/front/suppliercontroller.php with the ones from the installation package but still won't work.

 

/Mats

Link to comment
Share on other sites

Using {debug} I found that in the supplier-list view NO supplier-oriented variables are available except for $nbsuppliers that is set to 0.

In the supplier view the address isn't available (expected).

 

So the question again is, is this how it's supposed to be? If not, what files should I check/replace?

 

And where are the variables made accessible to these two views (themes/supplier-list.tpl and supplier.tpl)? suppliercontroller.php? where can I find information about how to do that?

 

/Mats

Link to comment
Share on other sites

Apparently, to get the link working one has to select "Display suppliers and manufacturers", so I guess the bug is that "Display suppliers and manufacturers lists even if corresponding blocks are disabled" is totally misleading.

So now I just have to find out how to make e.g. the addresses available, which shouldn't be too hard, help is always apreciated but I've kind of given up on that

 

/Mats

Link to comment
Share on other sites

×
×
  • Create New...