mohsart Posted November 28, 2012 Share Posted November 28, 2012 I have a couple of issues, so I wonder... Is it working/bug "free"? (For instance my $nbsuppliers is 0 even though I have three suppliers defined.) What files are involved? (So that I can check against a installation pack) Where and how can I make variables available to themes/supplier.tpl , e.g. supplier's address I thought there was something more, but I guess that's it for now /Mats Link to comment Share on other sites More sharing options...
mohsart Posted November 28, 2012 Author Share Posted November 28, 2012 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 More sharing options...
mohsart Posted November 30, 2012 Author Share Posted November 30, 2012 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 More sharing options...
mohsart Posted December 3, 2012 Author Share Posted December 3, 2012 Since nobody commented I presume that this is a bug so I reported it. /Mats Link to comment Share on other sites More sharing options...
mohsart Posted December 9, 2012 Author Share Posted December 9, 2012 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 More sharing options...
Site Posted December 9, 2012 Share Posted December 9, 2012 Hi, I guess you have this working now? Was it fixed by using "Display suppliers and manufacturers"? Link to comment Share on other sites More sharing options...
mohsart Posted December 9, 2012 Author Share Posted December 9, 2012 Yeah "Display suppliers and manufacturers" fixed the link and list of suppliers. It's working in the sense that I got the address info, but it was due to some ugly coding since I didn't find the correct place. /Mats Link to comment Share on other sites More sharing options...
Recommended Posts