Forums / Templates, Stylesheets, Page Layout / cant get rid of bullet in doc menu

cant get rid of bullet in doc menu

Locked

Views: 997

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
6 May 2008, 8:12 AM
#1
namtaru avatar

namtaru

New Zenner

Join Date:
Mar 2008
Posts:
27
Plugin Contributions:
0

cant get rid of bullet in doc menu

i have applied the "Better CategoriesEzInfo" mod on my site. i would like to remove the white bullet that appears in my documents categories menu on the right side of my site (named stock photos). this adjustment was simple in the other modified sections (like tpl_ezpages.php, which had a link to this bullet image right at the beginning of the file: (line 14) $pointer = zen_image(DIR_WS_TEMPLATE_IMAGES . 'bc_ezpages.gif');

i cant find anything like this in the tpl_document_categories.php file... someone who knows this mod please help!!

http://www.realityshots.org/

6 May 2008, 4:17 PM
#2
tshooters avatar

tshooters

Totally Zenned

Join Date:
Dec 2005
Posts:
1,037
Plugin Contributions:
2

Re: cant get rid of bullet in doc menu

At about line 92 of the includes/templates/your_template/sideboxes/tpl_document_categories.php
there's this:

//picking the appropriate pointer image:
      switch ($categoryType) {
          case "down":
              $pointer = zen_image(DIR_WS_TEMPLATE_IMAGES . 'bc_doc_pointer_down.gif');
               break;
          case "right":
              $pointer = zen_image(DIR_WS_TEMPLATE_IMAGES . 'bc_doc_pointer_right.gif');
              break;
          default:
              $pointer = zen_image(DIR_WS_TEMPLATE_IMAGES . 'bc_doc_no_sub.gif');
      }

    $pointer .= $spacer;

The mod author recommends in the readme.txt file that you replace those
with the 1x1_transparent.gif if you don't want an image.

7 May 2008, 11:13 PM
#3
namtaru avatar

namtaru

New Zenner

Join Date:
Mar 2008
Posts:
27
Plugin Contributions:
0

Re: cant get rid of bullet in doc menu

TShooters:

At about line 92 of the includes/templates/your_template/sideboxes/tpl_document_categories.php
there's this:

//picking the appropriate pointer image:
switch ($categoryType) {
case "down":
$pointer = zen_image(DIR_WS_TEMPLATE_IMAGES . 'bc_doc_pointer_down.gif');
break;
case "right":
$pointer = zen_image(DIR_WS_TEMPLATE_IMAGES . 'bc_doc_pointer_right.gif');
break;
default:
$pointer = zen_image(DIR_WS_TEMPLATE_IMAGES . 'bc_doc_no_sub.gif');
}

$pointer .= $spacer;
> 
> The mod author recommends in the readme.txt file that you replace those
> with the 1x1_transparent.gif if you don't want an image.

that is correct, partially... i am trying to replace an image with the 1x1_transparent.gif, however the three you listed are for the images directly next to the category names, the one for categories with no subs, one for a category with subs non-expanded, and one for when the subcategories are expanded. these all look fine and i am going to keep them. however, there is an extra image, the white square, that i am trying to get rid of.

after more sleuthing i see that the documents box is sharing its image with ezpages... so if i replace the .gif with the 1x1_transparent i will fix my documents category, but lose the image on my ezpages box... not sure why the author linked this particular image when all other pages let you specify which image you want...
7 May 2008, 11:22 PM
#4
namtaru avatar

namtaru

New Zenner

Join Date:
Mar 2008
Posts:
27
Plugin Contributions:
0

Re: cant get rid of bullet in doc menu

well i replaced the bc_ezpages.gif with the transparent (turns out it didn't even work right, i had to make a new 1x1 gif with PS)

so now every box that had that image is now missing it... not just ezpages, but all of them... so i guess this image was referenced a lot, not sure if there is anything i can do since i cant figure out how the heck it appears in the first place.