Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / deleting link/changing link names

deleting link/changing link names

Locked

Views: 1,690

Results 1 to 8 of 8
This thread is locked. New replies are disabled.
4 Jun 2007, 10:43 PM
#1
the_von_royale avatar

the_von_royale

New Zenner

Join Date:
Jun 2007
Posts:
7
Plugin Contributions:
0

deleting link/changing link names

I want to remove some of the links in the "information" layout box on the left and either add or change the name of one of them as well. the only way i can figure to remove those links is to just turn off the layout box, but i don't want to go that far. any help would be greatly appreciated.
thanks.

4 Jun 2007, 11:21 PM
#2
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,611
Plugin Contributions:
0

Re: deleting link/changing link names

Specifically which links in that box?

5 Jun 2007, 5:30 PM
#3
the_von_royale avatar

the_von_royale

New Zenner

Join Date:
Jun 2007
Posts:
7
Plugin Contributions:
0

Re: deleting link/changing link names

i definitely want to get rid of "gift certificate faq". if i could find out how to remove that i can remove the other ones. i also want to add a general info link in that box.
thank you!

24 Aug 2007, 4:10 AM
#4
robinstl avatar

robinstl

Zen Follower

Join Date:
Aug 2007
Location:
St. Louis
Posts:
111
Plugin Contributions:
0

Re: deleting link/changing link names

I want to know this too. I've been looking all over in the admin section and don't see any answer...

Thanks

24 Aug 2007, 5:13 AM
#5
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: deleting link/changing link names

The Gift Certificate is controlled by the status of if it is installed or not in the Order Totals ...

To turn it off when Gift Certificates are installed you will need to customize the sidebox:

  // only show GV FAQ when installed
  if (MODULE_ORDER_TOTAL_GV_STATUS == 'true') {
    $information[] = '<a href="' . zen_href_link(FILENAME_GV_FAQ) . '">' . BOX_INFORMATION_GV . '</a>';
  }

and comment out the code:

  // only show GV FAQ when installed
  if (MODULE_ORDER_TOTAL_GV_STATUS == 'true') {
//    $information[] = '<a href="' . zen_href_link(FILENAME_GV_FAQ) . '">' . BOX_INFORMATION_GV . '</a>';
  }
6 Sep 2007, 3:56 PM
#6
natel avatar

natel

New Zenner

Join Date:
Aug 2007
Posts:
47
Plugin Contributions:
0

Re: deleting link/changing link names

I'm unsure where to find the code you've posted.

6 Sep 2007, 9:11 PM
#7
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: deleting link/changing link names

One method to find something you cannot locate is to use the Tools ... Developers Tool kit and enter any text or code that you see ...

This will locate for you the file(s) that contain the code ...

Example, a search on:
// only show GV FAQ when installed

would show:

/shipping/includes/modules/sideboxes/information.php

19 Sep 2007, 9:07 AM
#8
andy_mcg avatar

andy_mcg

New Zenner

Join Date:
Aug 2007
Location:
Turku, Finland
Posts:
51
Plugin Contributions:
0

Re: deleting link/changing link names

Someone posted a great way to get rid of the Gift Cert FAQ from the side box:

***Admin->Configuration->Email Options-> newsletter subscribe link

Admin->Modules->Order Total-> and uninstall Discount Coupons and Gift Certificates***

And it worked really well.

Ajeh, I must be not understanding the Dev Tools in ZC properly because every time I use them it comes up with an error message and can't find anything!