mohsart Posted November 27, 2012 Share Posted November 27, 2012 I'm not really interested in the suppliers block as is, but before I modify it I'd like it to work... First, the title ("SUPPLIERS") is not a link. If I remove the if statements in blocksupplier.tpl the link works but goes to a page where it says "There are no suppliers". The site with the if statements removed: http://mohsart.se/handkraft/index.php And while I'm at it, how can I show the supplier logo next to the name in the list on the left? Thanks (PS 1.5.2) /Mats Link to comment Share on other sites More sharing options...
mohsart Posted November 27, 2012 Author Share Posted November 27, 2012 I found a tip <img src="{$img_sup_dir}{$supplier.image|escape:'htmlall':'UTF-8'}-medium.jpg" alt="" width="{$mediumSize.width}" height="{$mediumSize.height}" /> but this produces <img src="[url="view-source:http://mohsart.se/handkraft/img/su/-medium.jpg"]http://mohsart.se/handkraft/img/su/-medium.jpg[/url]" alt="" width="" height="" /> I.e. the variable names are wrong, perhaps changed between PS versions. /Mats Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now