PDA

View Full Version : Warren Engineering Website



drummer392
December 8th, 2009, 07:34 AM
Hey guys,

Working on a new website that runs off of a CMS I made called Heriyah. Please tell me things you like and dislike, and things that you would like to see added or changed.

http://www.warrenengineering.com/index.php?table=pages

Thanks,
Brandon

drummer392
December 9th, 2009, 12:05 PM
WOW!! All these views and no comments?

Templarian
December 9th, 2009, 08:31 PM
Scanlines make it feel a little dated. Other parts of the site are nice.
The index page has no content.
Flash probably could of been skipped since it doesn't really add much.
When changing sections in the site it might be beneficial to have the page jump down since the header is rather large.
Your CMS might want to give an option for clean URL's.

drummer392
December 9th, 2009, 09:34 PM
thank you. I did get rid of scan lines at the top for the dirt, I might as well do the same for the bottom or something different. It does make it feel like it is from like the 90's lol.

The client wanted the flash like that, so I gotta keep that.

I will look into adding the page jump. Good idea.

One question I have. What do you mean by clean URLs?

Templarian
December 9th, 2009, 11:21 PM
index.php?id=26&table=pages&table_id=0
Would be:

pages/26/0

(also your table and table_id probably are not nessary since they can be associated with the id)

drummer392
December 9th, 2009, 11:36 PM
Well, I run everything off of the index.php page and I have 4 different tables in the database.

I call which table I want with the "table" REQUEST.
I call the specific id from the table with "id" REQUEST.

The only thing I don't need is the table_id, so I took it off.

I hope that made sense.
Thanks!

shane-c
December 10th, 2009, 01:07 AM
A better URL system would make it so "http://www.warrenengineering.com/index.php?id=26&table=pages" is instead: "http://www.warrenengineering.com/make_a_payment" or something.

It wouldn't be too hard for you to do. In your "pages" table, in addition to your id field, each row could have a unique 'pagename' field (for instance, the "Make a Payment" page's row's pagename field would be "make_a_payment"). Then use mod_rewrite in your .htaccess file to make "friendly" URL requests rerouted in a way that matches your system (for instance, "http://www.warrenengineering.com/make_a_payment" would be rerouted to "http://www.warrenengineering.com/index.php?pagename=make_a_payment&table=pages"). From there, it would just be a simple change to your php to get everything working correctly.

If you don't have experience with .htaccess or mod_rewrite, it's easy enough to learn about just by googling. If you still have questions, I'm sure the Server-Side section of the forums here will get you set straight.

Good luck :beer:

Templarian
December 10th, 2009, 01:23 AM
^ Thanks Shane for explaining would have above but writing this finals paper atm

drummer392
December 10th, 2009, 07:42 AM
I see what you mean! I will look into that. I like the way that looks.

Thanks for explaining that.