Post by suhanto » Fri Aug 27, 2010 6:32 am

I have a question about the "Home" link, why OpenCart write it as domain.com/index.php?route=common/home? Isn't more appropriate to use domain.com/ only?

Technically speaking, if I open the header.php, at line 88, it is written as:

Code: Select all

$this->data['home'] = HTTP_SERVER . 'index.php?route=common/home';
If I change it to:

Code: Select all

$this->data['home'] = HTTP_SERVER;
In my opinion, it will produce more proper 'Home' link. I can use it of couse, but I think there should be special reason from David why the 'Home' link is written as is?

http://suhanto.net


User avatar
New member

Posts

Joined
Sat Sep 19, 2009 2:57 pm
Location - Jakarta, Indonesia

Post by Maansy » Fri Aug 27, 2010 11:51 am

suhanto wrote:I have a question about the "Home" link, why OpenCart write it as domain.com/index.php?route=common/home? Isn't more appropriate to use domain.com/ only?

Technically speaking, if I open the header.php, at line 88, it is written as:

Code: Select all

$this->data['home'] = HTTP_SERVER . 'index.php?route=common/home';
If I change it to:

Code: Select all

$this->data['home'] = HTTP_SERVER;
In my opinion, it will produce more proper 'Home' link. I can use it of couse, but I think there should be special reason from David why the 'Home' link is written as is?
yesy we need to ask David. wait, who is David? :ponder:

ALL Templates :: 1.5.1+ Templates :: 50%-75% PRICE DROP ONLY at OpencartStuff.com


User avatar
Active Member

Posts

Joined
Thu Jun 24, 2010 6:04 am


Post by suhanto » Fri Aug 27, 2010 12:18 pm

David Kerr, the creator of OpenCart. I think maybe there are many contributors now, but still the governing person should be him...

http://suhanto.net


User avatar
New member

Posts

Joined
Sat Sep 19, 2009 2:57 pm
Location - Jakarta, Indonesia

Post by Qphoria » Fri Aug 27, 2010 12:35 pm

Daniel Kerr

Image
Donate!|OpenCart Basics|GeoZones
Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by suhanto » Fri Aug 27, 2010 1:53 pm

Oh I'm sorry, I mean Daniel... not David... my mistake...

BTW, what about the answer of my question? anyone?

http://suhanto.net


User avatar
New member

Posts

Joined
Sat Sep 19, 2009 2:57 pm
Location - Jakarta, Indonesia
Who is online

Users browsing this forum: No registered users and 41 guests