Welcome Guest, Not a member yet? Register   Sign In
building a list of categories
#3

[eluser]paulcj2[/eluser]
I found the answer to issue #1. I was missing an apostrophe at the end of href='....

in the view script:
Code:
echo "<h3><a href='/cat_prod/" . SITE_ADDRESS . "/".$prod_cat['>".$prod_cat['name_cat']."</a></h3>";
It is restored as above and now the script is looping fine.

Re #2: I set defined some variables for the header outside the product category loop in the controller script.
Code:
$data['descrip'] = "Product categories of '" . SITE_ID . "' ";
$data['keywords'] = "product categories of '" . SITE_ID . "' ";


Messages In This Thread
building a list of categories - by El Forum - 09-28-2008, 05:43 PM
building a list of categories - by El Forum - 09-28-2008, 06:00 PM
building a list of categories - by El Forum - 09-28-2008, 06:37 PM



Theme © iAndrew 2016 - Forum software by © MyBB