Jump to content

Homepage path problem


Guest

Recommended Posts

Sorry, I dont find the answer, what I want is not to move the whole shopping cart to the root, I just wanna when someone click "homepage" on the cart, the index.htm which is my default file would be display. Sorry for my poor english.

is what I said clear?

Link to comment
Share on other sites

Guest falsoft

Hi,

Something that I discovered when I asked a similar question is that you can set up a re-direct in your Control Panel on your website, perhaps this might help?

Chris

Link to comment
Share on other sites

Go to skins/classic (or whatever skin)/styleTemplates/boxes/categories.tpl. You will see this code at the top...(code might vary depending on what skin).

<!-- BEGIN: categories -->

<div class="boxTitleLeft">{LANG_CATEGORY_TITLE}</div>

<div class="boxContentLeft">

<ul>

<li class="bullet"><a href="index.php" class="txtDefault">{LANG_HOME}</a></li>

Replace "index.php" with "http://www.serivista.com".

Jenny

Link to comment
Share on other sites

Guest falsoft

Hi Jenny,

Just tried your suggestion a my Legend skin but nothing seemed to change?

And thank you once again Roban for another very informative link :P

Chris

Link to comment
Share on other sites

Oh...oops! I was looking at Hunter's post, thus his website...sorry.

It still should've worked though...of course you would put your own url in there instead of Hunter's though.

Link to comment
Share on other sites

Go to skins/classic (or whatever skin)/styleTemplates/boxes/categories.tpl. You will see this code at the top...(code might vary depending on what skin).

<!-- BEGIN: categories -->

<div class="boxTitleLeft">{LANG_CATEGORY_TITLE}</div>

<div class="boxContentLeft">

<ul>

<li class="bullet"><a href="index.php" class="txtDefault">{LANG_HOME}</a></li>

Replace "index.php" with "http://www.serivista.com".

Jenny

This is what I am looking for :D , thank you very much, and I'll try later. ;)

Link to comment
Share on other sites

Thank you, Jbeyler. yes, it works very well, but new problem appeared..If i changed homepage path, I lost the CubeCart homepage, that means there is no any tab to link to the CubeCart homepage...So I think i should add a new tab beside homepage tab.

I attached a screen picture to show what I want to do. Anyone knows how?

Link to comment
Share on other sites

I have to say I am very confused by your problem and what you actually want. The 'HomePage' tab IS your CC home page. What url did you link as your home page. My 'Home Page' tab used to link to http://www.vitaminlink.net/cart/index.php. It now links to http://www.vitaminlink.net which has a 301 redirect to http://www.vitaminlink.net/cart. So in effect it links to http://www.vitaminlink.net/cart.

Is it the index.php part you want to get rid of? If so, you have been given the correct syntax.

Link to comment
Share on other sites

Yeah, to add another tab you would do it in the same folder, add this code and replace the blue areas with your own info.

<td class="topCatsTabLeft">&nbsp;</td>

<td class="topCatsTabMid"><a href="index.php" (your link address)class="txtCat">{LANG_HOME} (text you want on the tab)</a></td>

It might get confusing with a "home" and a "homepage" tab...maybe name one "cart home" and the other "your shop home" or something.

Link to comment
Share on other sites

Yeah, to add another tab you would do it in the same folder, add this code and replace the blue areas with your own info.

<td class="topCatsTabLeft">&nbsp;</td>

<td class="topCatsTabMid"><a href="index.php" (your link address)class="txtCat">{LANG_HOME} (text you want on the tab)</a></td>

It might get confusing with a "home" and a "homepage" tab...maybe name one "cart home" and the other "your shop home" or something.

You are great, thank you. I add a tap beside homepage follow your direction, but the tab text is same. how can I change the tab text?

I attached another screen image to show the problem.

Thanks for everyone's reply... ;)

Link to comment
Share on other sites

Guest falsoft

Hello Again Roban,

Just wanted to say that the redirect works a treat, one other point - I set my store up as cubecart, is it going to be a real pain to change this now to say cart or store?

Thanks

Chris

Link to comment
Share on other sites

Hunter, Just delete {LANG_HOME} and put in whatever you want to call it (no brackets).

Yes, it's cool!!! B) You are great! I really want to thank you. hehe, you see, how stupid I am.. ;)

Link to comment
Share on other sites

Hello Again Roban,

Just wanted to say that the redirect works a treat, one other point - I set my store up as cubecart, is it going to be a real pain to change this now to say cart or store?

Thanks

Chris

You're going to have to change your paths and everything that points to 'cubecart' to 'cart'. Hopefully you can do this on your host's control panel. Everything in your db that points to 'cubecart' will have to be changed as well.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...