I am putting Price Tapestry on a addon domain and have a question regarding the index.php page. I think I need to rename that to my own name since it is my understanding you cannot have more than one index page per site. Or am I wrong? Also I will be combining the regular site with the addon domain within the next few months.
Question: How do I set up the config file so that when I hit the "comparison shopping home" button it doesn't go to the page where it lists all my files and folders. I need it to go to my hiking-equipment page.
I tried changing the config_basehref to /hiking-equipment/ and the page comes back all messed up. The default page without css.
Thanks David,
Works Perfectly.
One more question. Is there a limit to how many subcategories you can drill down without affecting performance?
Hi,
You can certainly install the script multiple times to represent sub-categories - performance won't be affected at all as each installation is using it's own database (or tables within the same database). The script itself doesn't support a category hierarchy however...
Cheers,
David.
Next question
When I do multiple categories, do I need to upload my feeds into each category or just put a table prefix on the main feed for each category?
Hi,
Check the following thread for info about creating a category hierarchy using multiple installations...
http://www.pricetapestry.com/node/205
Cheers,
David.
I have all my subcategories installed. Changed my categories.php file to reflect the scat field but cannot get any info. Comes back: No results found.
I changed all instances of category in the categories.php file to scat which is the field in the database.
Any suggestions?
Maybe I overlooked something in node/205
Hi,
It sounds like you're doing something more complex that just what is described in node 205; as there isn't any discussion regarding an scat field, so I'm assuming this a modification that you have coded yourself or had done for you?
If you'd like me to check it out feel free to email me any files that you have changed and i'll take a look - and of course if you could detail what the modification is intending to do that would be great...
Cheers,
David.
Hi,
You can certainly use a different filename to index.php - if you want to rename this file, the only place you would need to modify within Price Tapestry would be html/menu.php, where you will see this code on line 4:
<a href='<?php print $config_baseHREF; ?>'><?php print translate("Home"); ?></a>
If you change index.php to, for example, shopping.php, simply change the above line to:
<a href='<?php print $config_baseHREF; ?>shopping.php'><?php print translate("Home"); ?></a>
If Price Tapestry is still installed in the top level directory of your website you will need to change $config_baseHREF back to "/"; otherwise it should be the name of directory in which Price Tapestry is installed.
Cheers,
David.