Need some advice...
If different sub-categories have a different data set what is the best way to approach this. The main category is set to each city, then the sub-categories are jobs, roommates, apartments, etc.
I need the add form and detail page to have different information depending on the category. If they are posting in the apartments section they would input rent and number of bedrooms. If in the job section they would input the type of job, full or part-time, etc
What is the best way to approach this? A template for each sub-category of the city. One for jobs, one for apartments and one for roommates?
Or would it be better to us an <%if > statement on the add template. That way if they are trying to post in the apartment section the appropriate information would be added in.
Any advice is appreciated!
If different sub-categories have a different data set what is the best way to approach this. The main category is set to each city, then the sub-categories are jobs, roommates, apartments, etc.
I need the add form and detail page to have different information depending on the category. If they are posting in the apartments section they would input rent and number of bedrooms. If in the job section they would input the type of job, full or part-time, etc
What is the best way to approach this? A template for each sub-category of the city. One for jobs, one for apartments and one for roommates?
Or would it be better to us an <%if > statement on the add template. That way if they are trying to post in the apartment section the appropriate information would be added in.
Any advice is appreciated!