Page 1 of 2 12 LastLast
Results 1 to 10 of 17
  1. #1
    Join Date
    Jun 2005
    Location
    Portland, OR
    Posts
    189
    Plugin Contributions
    0

    Default Sidebox header linked with [more]?

    What causes a sidebox header to display a [more] link? My reviews sidebox header does this with a link to the reviews page, however another sidebox (CC_Accept, a customized module) also does this (but links to the 'Reviews' page.)

    How does one turn this '[more]' link off?

    Thanks...

  2. #2
    Join Date
    Apr 2004
    Location
    UK
    Posts
    5,821
    Plugin Contributions
    2

    Default Re: Sidebox header linked with [more]?

    Try
    Remove MORE from Sidebox Headers is in
    /includes/languages/english.php

    //text for sidebox heading links
    define('BOX_HEADING_LINKS', '  [more]');

  3. #3
    Join Date
    Jun 2005
    Location
    Portland, OR
    Posts
    189
    Plugin Contributions
    0

    Re: Sidebox header linked with [more]?

    Well so what triggers this? I'd like to remove this per box, not globally. Also strange that my CC_Accept box's [more] link heads to the reviews page...?

    I can see with the info below that the text will be removed, but what about removing the hyperlink itself?

    thanks for the help...
    Quote Originally Posted by misty
    Try
    Remove MORE from Sidebox Headers is in
    /includes/languages/english.php

    //text for sidebox heading links
    define('BOX_HEADING_LINKS', '  [more]');

  4. #4
    Join Date
    Jun 2006
    Location
    New York City, USA
    Posts
    3
    Plugin Contributions
    0

    Default Re: Sidebox header linked with [more]?

    Quote Originally Posted by bi11i
    Well so what triggers this? I'd like to remove this per box, not globally.
    Edit the includes/modules/sideboxes/cc_accept.php

    add this line into the IF block:
    $title_link = false;

  5. #5
    Join Date
    Jun 2005
    Location
    Portland, OR
    Posts
    189
    Plugin Contributions
    0

    Default Re: Sidebox header linked with [more]?

    thanks! much

  6. #6
    Join Date
    Apr 2006
    Posts
    80
    Plugin Contributions
    0

    Re: Sidebox header linked with [more]?

    This
    add this line into the IF block:
    $title_link = false;
    didn't work for the shopping cart sidebox. Besides this code is already included in the shopping_cart.php sidebox file.

    The text "Shopping Cart [More]" shows up as a link back to the shopping cart. I would like to eliminate the link not the box.

    Shelia

  7. #7
    Join Date
    Jun 2005
    Location
    Portland, OR
    Posts
    189
    Plugin Contributions
    0

    Default Re: Sidebox header linked with [more]?

    Strange as this worked for me. That line already exists in both, as I noticed:
    Code:
      if ($show_shopping_cart_box == true) {
        require($template->get_template_dir('tpl_shopping_cart.php',DIR_WS_TEMPLATE, $current_page_base,'sideboxes'). '/tpl_shopping_cart.php');
        $title =  BOX_HEADING_SHOPPING_CART;
        $left_corner = false;
        $right_corner = false;
        $right_arrow = false;
        $title_link = false;
        $title_link = FILENAME_SHOPPING_CART;
    Quote Originally Posted by Shelia
    This didn't work for the shopping cart sidebox. Besides this code is already included in the shopping_cart.php sidebox file.

    The text "Shopping Cart [More]" shows up as a link back to the shopping cart. I would like to eliminate the link not the box.

    Shelia

  8. #8
    Join Date
    Aug 2007
    Location
    Eugene, OR
    Posts
    162
    Plugin Contributions
    0

    help question Re: Sidebox header linked with [more]?

    A related question so I thought I would post it here:

    In my shopping cart sidebox, the words "now in your cart" appear. I want to get rid of these words, but can not find them anywhere in the related php or language files. Since this is a Template Monster template, I have now learned to assume these words are hardcoded somewhere, but I searched and could not find them anywhere. I even searched my entire zencart hardrive folder for these words, but came up empty.

    Would really appreciate some hints as to where to look. I have already looked in the obvious shopping_cart.php and tpl_shopping_cart.php files. Also the main page file. Also in the default left box files. Also looked in the bottom drawer of my desk, just in case they were hiding in there.... not there either....

    My website in progress is www.westec-beauty.com/shop/

    Thanks!

  9. #9
    Join Date
    Aug 2007
    Location
    Eugene, OR
    Posts
    162
    Plugin Contributions
    0

    Have a Drink Re: Sidebox header linked with [more]?

    Nevermind! I figured it out....

    All this annoying TM stuff is located in a file called tpl_tmfuncs.php inside themes/themeXXXX/common/

    I guess I should not complain...at least it was not hardcoded somewhere. But it would have been nice if Template Monster gave some decent documentation with their templates so that I would not have wasted 6 hours trying to find this.

    (I wonder why my file search did not pick this up? I thought that this type of google desktop file search would actually search the text inside of every file...I guess it did not do what I thought it would do, since it did not find these annoying words for me).

    Anyways, I am happy now...at least until the next thing pops up!


  10. #10
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,145
    Plugin Contributions
    11

    Default Re: Sidebox header linked with [more]?

    I'm surprised that the developers tool kit under tools in admin could not find the file.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Creating NEW [MORE] LINK on sidebox header
    By willie bee in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 5 Dec 2011, 10:25 PM
  2. Use A LINKED/Clickable Image For the Sidebox Header?
    By ampped80 in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 20 Mar 2009, 05:28 PM
  3. Remove [more] link from shopping cart sidebox header
    By kachana in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 22 Oct 2008, 07:31 PM
  4. Adding a linked image in the Shopping Cart sidebox header
    By froyse in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 29 Mar 2007, 10:04 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR