
Damon
Staff
/ Moderator

Oct 22, 2009, 3:52 PM
Post #6 of 8
(6577 views)
Shortcut
|
|
Re: [panthony] adding rental section
[In reply to]
|
Can't Post
|
|
Hi, Here are the steps to add rentals: 1. Create a new section in the admin for "Rentals". Add all the fields that you need. Ex. Rent Price, Address, City, etc. 2. Copy the following templates: listings.php listingDetail.php search.php and rename the copied files to rentals.php rentalDetail.php rental_search.php 3. Open all the rental templates in a code editor and replace the code for the listings section with code for the rental section. For the search engine page, this requires adding rent minimum and maximum dropdown with rental prices for searching by rent price range. Also the form action needs to go to rentals.php instead of listings.php and the other search fields, dropdowns may need to be changed depending on what you want to make searchable for rentals. Upload the template to your site 4. Make sure the viewer URLS for rental point to the new pages. Admin > Section Editors > Rentals - Viewer Urls tab. Example: List Page Url: rental.php Detail Page Url: rentalDetail.php 5. Add links on the site to the rental index and rental search engine. Hope that helps. --------------------------------------------------- Cheers Damon Edis interactivetools.com Hire me! Save time by getting our experts to help with your project. http://www.interactivetools.com/consulting/
|