too much reusable code for the listings pages
Reported by S. Shehzed | December 7th, 2010 @ 01:08 AM | in v0.1.0
could cause minor mistakes to be hard to track down.
Comments and changes to this ticket
-
S. Shehzed December 7th, 2010 @ 01:15 AM
- State changed from new to resolved
- Milestone set to v0.1.0
- Assigned user set to S. Shehzed
- Milestone order changed from 20 to 0
RESOLVED: created a common listings asp page with most of the code. Then each individual content.asp page that gets scraped by the php only contains the page title variable, the cat and id for the db, and then the include file that's needed. This last part is indeed repetitive code, but it's easier than learning asp syntax and dynamics to code stuff in it.
Finally, there's a content.php page now with whatever unique info is needed on each of the listings page and is called by the routing files just like all other pages.
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
The long over due fixing and updating of the website.
People watching this ticket
Referenced by
- 41 need selling page listings This goes along with ticket #39. Almost no additional wor...