Forums / Templates, Stylesheets, Page Layout / Sidebox Shopping Cart [more]

Sidebox Shopping Cart [more]

Locked

Views: 1,347

Results 1 to 8 of 8
This thread is locked. New replies are disabled.
1 Oct 2010, 6:21 PM
#1
alterego55 avatar

alterego55

New Zenner

Join Date:
Sep 2010
Posts:
28
Plugin Contributions:
0

Sidebox Shopping Cart [more]

1.3.9f

How do I get rid of the [more] on the sidebox shopping cart.

6 Oct 2010, 9:28 AM
#2
absolute avatar

absolute

Totally Zenned

Join Date:
May 2005
Location:
Bath, Somerset
Posts:
1,054
Plugin Contributions:
2

Re: Sidebox Shopping Cart [more]

The [more] is added to all sidebox heading which are links. So you have two options. One is to remove the link from the header, which can be done in :

includes/modules/YOUR_TEMPLATE/sideboxes/shopping_cart.php

You need to set $title_link to false on around line 36, and then remove the line $title_link = FILENAME_SHOPPING_CART;

Or, if you want to remove the [MORE] from all sidebox headings, but keep the links, then you can edit your languages file, in includes/languages/english.php, and search from [MORE], and set this define to ''.

And the final option is to edit the sideboxes display module found in includes/templates/YOUR_TEMPLATE/common/

Absolute

Back, after a 4 year absence! Did you miss me?
Absolute Web Solutions Ltd
Interested in our work? Take a look at one of our sites - The Tech Store

15 Oct 2010, 12:41 AM
#3
alterego55 avatar

alterego55

New Zenner

Join Date:
Sep 2010
Posts:
28
Plugin Contributions:
0

Re: Sidebox Shopping Cart [more]

Thanks, I removed the [more]

31 Oct 2010, 10:49 PM
#4
tobindonal avatar

tobindonal

New Zenner

Join Date:
Oct 2010
Location:
ireland
Posts:
23
Plugin Contributions:
0

Re: Sidebox Shopping Cart [more]

on 1.3.9h to remove the [MORE]

from specials.php (well the one i copied over to my template)
remove...

  $title_link = FILENAME_SPECIALS;

and
from whats_new.php (again on my own template)
remove...

$title_link = FILENAME_PRODUCTS_NEW;

this removed the links and displayed the relevant category title bars without the [MORE]
:clap:

1 Nov 2010, 1:52 AM
#5
tobindonal avatar

tobindonal

New Zenner

Join Date:
Oct 2010
Location:
ireland
Posts:
23
Plugin Contributions:
0

Re: Sidebox Shopping Cart [more]

although in my elation at figuring out how to remove the [more]. i hadn't completely tested every page...

:censored:

doing some testing on the shopping cart tonight, once i had added products to the cart, i noticed that while in the shopping cart the [more] had re-appeared on the category headings... damn it...

ok off to try and figure out how to remove it from there...

if anyone can kick in to help...i'd be well stoked

1 Nov 2010, 1:56 AM
#6
tobindonal avatar

tobindonal

New Zenner

Join Date:
Oct 2010
Location:
ireland
Posts:
23
Plugin Contributions:
0

Re: Sidebox Shopping Cart [more]

yup...

as per the first post, the shopping_cart.php was the one...

again removed the link thingy....

$title_link = FILENAME_SHOPPING_CART;

in my own template of course...

job done...:clap:

1 Nov 2010, 3:13 AM
#7
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Sidebox Shopping Cart [more]

There is nothing wrong with having the automatically generated links in headings. If you don't want them obvious, you can set the CSS styling to match regular headings, and change the '[more]' definition to '' which eliminates it in all cases without individual file editing.

1 Nov 2010, 9:14 AM
#8
absolute avatar

absolute

Totally Zenned

Join Date:
May 2005
Location:
Bath, Somerset
Posts:
1,054
Plugin Contributions:
2

Re: Sidebox Shopping Cart [more]

Absolute:

Or, if you want to remove the [MORE] from all sidebox headings, but keep the links, then you can edit your languages file, in includes/languages/english.php, and search from [MORE], and set this define to ''.

:cool:

Absolute

Back, after a 4 year absence! Did you miss me?
Absolute Web Solutions Ltd
Interested in our work? Take a look at one of our sites - The Tech Store