Forums / Templates, Stylesheets, Page Layout / removal of twitter and gc faq

removal of twitter and gc faq

Started by rabbitnutrition on 26 Jan 2012, 7:37 PM · Views: 1,113

Results 1 to 16 of 16
26 Jan 2012, 7:37 PM
#1
rabbitnutrition avatar

rabbitnutrition

New Zenner

Join Date:
Sep 2011
Posts:
81
Plugin Contributions:
0

removal of twitter and gc faq

sorry in advance
yes i know it's been covered - somewhere? please can someone either tell me or post a link.
i'm trying to remove the twitter link from the footer
also i'm trying to remove the gift certificates and discount coupons
i will not be using any of these

26 Jan 2012, 7:59 PM
#2
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,189
Plugin Contributions:
0

Re: removal of twitter and gc faq

rabbitnutrition:

also i'm trying to remove the gift certificates and discount coupons
i will not be using any of these

Try this:
admin panel/ modules/ order totals

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.

Zen Cart Certified hosting at myZenCartHost.com.

26 Jan 2012, 8:16 PM
#3
rabbitnutrition avatar

rabbitnutrition

New Zenner

Join Date:
Sep 2011
Posts:
81
Plugin Contributions:
0

Re: removal of twitter and gc faq

i've been there but the only option i'm getting for ot_coupon and ot_gv is install

26 Jan 2012, 8:43 PM
#4
rescoccc avatar

rescoccc

Totally Zenned

Join Date:
May 2010
Location:
WA State
Posts:
1,700
Plugin Contributions:
2

Re: removal of twitter and gc faq

Are you talking about links in your footer? If so, you would edit the includes/templates/your_template/common/tpl_footer.php file.

The best way to learn is to try stuff. But, back it up first.

26 Jan 2012, 8:59 PM
#5
rabbitnutrition avatar

rabbitnutrition

New Zenner

Join Date:
Sep 2011
Posts:
81
Plugin Contributions:
0

Re: removal of twitter and gc faq

yes sorry i do mean the footer
what do i edit them as?

27 Jan 2012, 1:03 AM
#6
rescoccc avatar

rescoccc

Totally Zenned

Join Date:
May 2010
Location:
WA State
Posts:
1,700
Plugin Contributions:
2

Re: removal of twitter and gc faq

If you want them to go away, you could either delete the code from the file or comment them out.

The best way to learn is to try stuff. But, back it up first.

27 Jan 2012, 9:43 AM
#7
rabbitnutrition avatar

rabbitnutrition

New Zenner

Join Date:
Sep 2011
Posts:
81
Plugin Contributions:
0

Re: removal of twitter and gc faq

ok so this is where i'm at

<?php /** * Common Template - tpl_footer.php * * this file can be copied to /templates/your_template_dir/pagename<br /> * example: to override the privacy page<br /> * make a directory /templates/my_template/privacy<br /> * copy /templates/templates_defaults/common/tpl_footer.php to /templates/my_template/privacy/tpl_footer.php<br /> * to override the global settings and turn off the footer un-comment the following line:<br /> * <br /> * $flag_disable_footer = true;<br /> * * @package templateSystem * @copyright Copyright 2003-2005 Zen Cart Development Team * @copyright Portions Copyright 2003 osCommerce * @license <http://www.zen-cart.com/license/2_0.txt> GNU Public License V2.0 * @version $Id: tpl_footer.php 4821 2006-10-23 10:54:15Z drbyte $ */ require(DIR_WS_MODULES . zen_get_module_directory('footer.php')); ?> <?php if (!isset($flag_disable_footer) || !$flag_disable_footer) { ?> <div id="footer"> <!--bof-navigation display --> <div id="navSuppWrapper"> <!--BOF footer menu display--> <?php require($template->get_template_dir('tpl_footer_menu.php',DIR_WS_TEMPLATE, $current_page_base,'common'). '/tpl_footer_menu.php');?> <!--EOF footer menu display--> </div> <!--eof-navigation display --> <!--bof- site copyright display --> <div id="siteinfoLegal" class="legalCopyright"><?php echo FOOTER_TEXT_BODY; ?></div> <!--eof- site copyright display --> </div> <!--bof-ip address display --> <?php if (SHOW_FOOTER_IP == '1') { ?> <div id="siteinfoIP"><?php echo TEXT_YOUR_IP_ADDRESS . ' ' . $_SERVER['REMOTE_ADDR']; ?></div> <?php } ?> <!--eof-ip address display --> <!--bof-banner #5 display --> <?php if (SHOW_BANNERS_GROUP_SET5 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET5)) { if ($banner->RecordCount() > 0) { ?> <div id="bannerFive" class="banners"><?php echo zen_display_banner('static', $banner); ?></div> <?php } } ?> <!--eof-banner #5 display --> <?php } // flag_disable_footer what in there am i meant to be deleting?
27 Jan 2012, 11:23 AM
#8
keneso avatar

keneso

Totally Zenned

Join Date:
May 2009
Posts:
1,273
Plugin Contributions:
3

Re: removal of twitter and gc faq

Not seeing the actual site it's harder to advise.

Anyhow I believe your links are displayed as ezpages, try in admin/tools/zpages

27 Jan 2012, 11:29 AM
#9
rabbitnutrition avatar

rabbitnutrition

New Zenner

Join Date:
Sep 2011
Posts:
81
Plugin Contributions:
0

Re: removal of twitter and gc faq

nope it's not in there
anyway, i've managed to delete the twitter link
still struggling to get rid of the gift certificate faq and discount coupons.
here is a link to the site
http://www.rabbitnutrition.co.uk/shop/

please excuse the amateur-ness :blush: it's not that far off completion

27 Jan 2012, 11:42 AM
#11
rabbitnutrition avatar

rabbitnutrition

New Zenner

Join Date:
Sep 2011
Posts:
81
Plugin Contributions:
0

Re: removal of twitter and gc faq

these are the 2 lines i need to edit?

Define('GVFAQ','<li><a href="' . zen_href_link(FILENAME_GV_FAQ) . '">' . BOX_INFORMATION_GV . '</a></li>');
Define('COUPON', '<li><a href="' . zen_href_link(FILENAME_DISCOUNT_COUPON) . '">' . BOX_INFORMATION_DISCOUNT_COUPONS . '</a></li>');

please tell me exactly what i need to take out of there/replace with

27 Jan 2012, 11:52 AM
#12
keneso avatar

keneso

Totally Zenned

Join Date:
May 2009
Posts:
1,273
Plugin Contributions:
3

Re: removal of twitter and gc faq

Define('GVFAQ','<li><a href="' . zen_href_link(FILENAME_GV_FAQ) . '">' . BOX_INFORMATION_GV . '</a></li>');
Define('COUPON', '<li><a href="' . zen_href_link(FILENAME_DISCOUNT_COUPON) . '">' . BOX_INFORMATION_DISCOUNT_COUPONS . '</a></li>');

All of it.

To be on the safe side I always make a back-up copy before doing so.

27 Jan 2012, 11:59 AM
#13
rabbitnutrition avatar

rabbitnutrition

New Zenner

Join Date:
Sep 2011
Posts:
81
Plugin Contributions:
0

Re: removal of twitter and gc faq

nearly there
look at the link now
how do i remove that?

27 Jan 2012, 12:20 PM
#14
keneso avatar

keneso

Totally Zenned

Join Date:
May 2009
Posts:
1,273
Plugin Contributions:
3

Re: removal of twitter and gc faq

Sorry, on the same file look for this line

<ul>' . TITLE_TWO . ABOUT . SITEMAP . GVFAQ . COUPON . UNSUBSCRIBE . '</ul></dd>');

and change it to

<ul>' . TITLE_TWO . ABOUT . SITEMAP . UNSUBSCRIBE . '</ul></dd>');
27 Jan 2012, 12:30 PM
#15
rabbitnutrition avatar

rabbitnutrition

New Zenner

Join Date:
Sep 2011
Posts:
81
Plugin Contributions:
0

Re: removal of twitter and gc faq

OMG!!!!! your a gem :clap: you don't know how much lack of sleep that has caused :shocking:
i can't thank you enough - apologies for the headache i must have caused you