| FAQ--How to Create Additional Template Set's in Classifieds
Okay this has been asked a few times so I think I will take a few minutes to write down the specifics
1. In the Admin Control Panel of Classifieds under ad types add a new add type. Keep note of the assigned number. It will always be one less than the total number of ad types you have since For Sale uses the id of 0.
2. You need to take an existing template set and modify these files to look the way you want. If all your doing is using the same design as an existing set just save the new files and make the language changes. The files needed are what is below and save them as noted below. The X would be the number of the ad type.
templates/editproductX.tmpl
templates/showcatX.tmpl
templates/showproductX.tmpl
templates/uploadproductX.tmpl
3. Next you need to copy over the same way you did the template files some language files. This is what makes a new template set so easy. If you have one you want to design like For Sale then the only thing you should need to do is copy the exisiting files to the new type and just change these language strings for the new files.
languages/english/editproductX.php
languages/english/showcatX.php
languages/english/showproductX.php
languages/english/uploadproductX.php
4. Thats it go test you new Ad Type!
|