Okay I hope I explain this correctly....
I want to change how one category is displayed if a user clicks on it...
Here goes:
when a user clicks on the category "garage sales" (111) on my site, I want to bypass the next screen that displays all the sub-cats (where the parent id =111) under it. What I want it is to display all the current listings that fall under garage sales regardless of sub-category...
I only want to do this for one category: GARAGE SALES... I think it would be best to create or copy the current category.php file to be linked to this...
I copied the category.php file and named it listall111.php...
I started by making this change on line 53, I hard coded the parent_id to "111"
PHP Code:
$sSQL = "SELECT id,parent_id,name,description,image,allowads,cKeywords,cPromo FROM ".PREFIX."categories WHERE parent_id = "111" ORDER BY cORDER DESC, name ASC";
Now... I am going through the rest of the code and think I want to bypass a lot of the coding, but i am getting a bit confused...
Basically, I want to display all the GARAGE SALES, bypassing the sub-category step...
Hope this makes sense...
Hope someone can gently move me in the right direction either way... meaning this is a simple change or will take longer than you think....
thanks...