mattprice1
10-10-08, 21:55
Hi all,
I am new to ShopWindow and have been trying to set up site to bolt on the side of a wedding blog I run. Because I am after a limited set of categories I cannot use the standard category template.
It is a real shame that I cannot select more than one category in constants.inc.php in the following code because that would have helped solved my initial problem.
// limit contents to this category
// @define('VERTICAL_CATEGORY_ID', );
So I went about setting up my own static category list. It then occured to me that I could create more specific categories by specifying a q variable after the productlist.php
eg
productlist.php?q=wedding favours
productlist.php?q=wedding confetti
etc
I then thought I would get a bit cleverer still and copy and rename productlist.php to make my categories look like "real" categories.
eg
weddingfavours.php?q=wedding favours
weddingconfetti.php?q= wedding confetti
Then I thought I would get even smarter still but soon realised I am not very clever at all. I wanted to somehow set the q variable in my separate clone "productlist.php" files so that my categories looked as follows.
weddingfavours.php
weddingconfetti.php
As a novice am I biting off more than I can chew or am I missing something simple? My aim was to be able to add a category description at the top of each page in my separate pages.
If anyone could offer any guidance or tell me I am wasting my time I would love to hear.
Thanks
Matt
I am new to ShopWindow and have been trying to set up site to bolt on the side of a wedding blog I run. Because I am after a limited set of categories I cannot use the standard category template.
It is a real shame that I cannot select more than one category in constants.inc.php in the following code because that would have helped solved my initial problem.
// limit contents to this category
// @define('VERTICAL_CATEGORY_ID', );
So I went about setting up my own static category list. It then occured to me that I could create more specific categories by specifying a q variable after the productlist.php
eg
productlist.php?q=wedding favours
productlist.php?q=wedding confetti
etc
I then thought I would get a bit cleverer still and copy and rename productlist.php to make my categories look like "real" categories.
eg
weddingfavours.php?q=wedding favours
weddingconfetti.php?q= wedding confetti
Then I thought I would get even smarter still but soon realised I am not very clever at all. I wanted to somehow set the q variable in my separate clone "productlist.php" files so that my categories looked as follows.
weddingfavours.php
weddingconfetti.php
As a novice am I biting off more than I can chew or am I missing something simple? My aim was to be able to add a category description at the top of each page in my separate pages.
If anyone could offer any guidance or tell me I am wasting my time I would love to hear.
Thanks
Matt