So far I've copied the "For sale" template files and have named them uploadproduct4.tmpl showcat4.tmpl editproduct4.tmpl showproduct4.tmpl as I want to create new templates that are similar to the "For sale" templates.
I've created the relevant ad type with an ID of 4.
When I attempt to upload an advert for the new categorey I go through the upload process, choosing the type of ad, then the category, and then I get a blank page.
Viewing the adverts I have the same problem - I get a blank page when I attempt to view adds in my new category.
What have I missed out or done wrong?
Last edited by criscokid; July 11th, 2004 at 11:11 AM.
Well I am not Michael but I would suggest you relook at your templates and verify they are accurate and no syntax errors. Also check in the database and make sure the new template type is number 4 in the ad types table. A white screen would be caused also by creating a new template set say showproduct4.tmpl and the add type your assigning is 5
I've checked the adtypes table and can confirm the id is 4.
"relook at your templates and verify they are accurate and no syntax errors"
I copied the For Sale templates which are id 0 and renamed them so that they are id 4 as in editproduct4.tmpl, showcat4.tmpl, showproduct4.tmpl & uploadproduct4.tmpl. I haven't started to edit them yet - nothing has changed within the templates yet.
Could the permissions of the files on the server maybe have any effect?
Also something also occured to me. You need to make sure you replicate the language files also for the new templates. There also should be a language file in the language directory for each php script with the 4 on the end containing the changed language strings