MrBaseball34 Posted August 11, 2010 Share Posted August 11, 2010 PS v1.3.1.1Got a problem with our system.I can place the code below {debug output="html"} in a couple of places. I place it here in category.tpl: {if $products} {include file=$tpl_dir./product-sort.tpl} {debug output="html"} {include file=$tpl_dir./product-list.tpl products=$products} {include file=$tpl_dir./pagination.tpl} I see the debug in the same window.If I place it here in product-sort.tpl: <!-- /Sort products --> {/if} {debug output="html"} I see the debug in the same window.However, when I place it here in product-list.tpl, I get nothing. {debug output="html"} {if isset($products)} <!-- Products list --> For some reason, it isn't opening product-list.tplI have no idea as to why, when I debug in category.tpl, I see that $products is anarray of 10 items.The tpl file exists and I see no reason whatsoever that would make the template not load.The source stops after the product-sort.tpl, too, no footer or anything.Any ideas on how to debug this problem? Link to comment Share on other sites More sharing options...
MrBaseball34 Posted August 11, 2010 Author Share Posted August 11, 2010 DUH!!!I changed this code {$product.description_short|strip_tags:'UTF-8'|truncate:360:'...'} to this: {$product.description_short:'UTF-8'|truncate:360} And it should be: {$product.description_short|truncate:360:'...'} Man, better watch those edits! 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