View Full Version : can't get rid of little ticks in category tree
vikAlex217
05-04-06, 10:29 PM
i'm pretty new to Miva, so here goes...by default, the items in my category tree are underlined- as are all the links throughout my pages.. so when i uploaded an image for each of my categories, the underlined text is replaced with the image just fine, but there is a very annoying tick mark that is left to the right of the image - which makes me think there is an underscore somewhere in the code, but i've already looked everywhere and i can't find the source of the problem..
http://www.torsotight.com/mm5/merchant.mvc
can anyone help? :confused: :confused:
Pete McNamara
05-04-06, 11:15 PM
Unless I need new glasses, I see no ticks - just underscores.
Be that as it may, they seem to disappear when the code is written like this:
<a href="http://www.torsotight.com/mm5/merchant.mvc?Screen=CTGY&Store_Code=TS&Category_Code=ML"><img src="machiner.jpg" alt="machinery" border=0></a><br>
<a href="http://www.torsotight.com/mm5/merchant.mvc?Screen=CTGY&Store_Code=TS&Category_Code=AP"><img src="apparel0.jpg" alt="apparel" border=0></a><br></font>
That is, the spaces in your code are eliminated.
See if that works.
Vic - WolfPaw Computers
05-04-06, 11:17 PM
I didnt see any 'ticks' either.
vikAlex217
05-04-06, 11:22 PM
yes- you're right, i guess the proper name for those things would be underscores - sorry for the confusion..
but can you please tell me, where in my store morph directory do i have to go to enter/edit that code- so far i have only found the storefront page code, but i'm guessing that is not the proper place,
thanks
Pete McNamara
05-04-06, 11:39 PM
The Category Tree. You'll need to purchase and install either Weiland's or Sebenza's category tree module (around $30). A category tree module is pretty much essential for any MM5 store in my view.
Pete McNamara
05-04-06, 11:47 PM
By the way, there are some significant coding errors in that page. You haven't closed three tables, by my count.
vikAlex217
05-04-06, 11:49 PM
so you think i need that even though those are the only categories in my store? I will not have any other catergories and maybe a max of 5 products all together-- is there no other way to access the code without these modules?
thanks
vikAlex217
05-04-06, 11:54 PM
will these coding errors interfere with the function of the site? I am very new to HTML and Miva, so I'm kind of in the dark here.. i appreciate all your help
Pete McNamara
05-04-06, 11:54 PM
Yes there is. Just don't use the MM5 category tree and create your own. Replace this:
<mvt:item name="category_tree" />
with your own category html in each Page template.
Pete McNamara
05-04-06, 11:59 PM
will these coding errors interfere with the function of the site?
They may well affect how browsers render your page. Browsers are fairly forgiving but strange displays will probably occur with different browsers.
You should fix your code. Miva's original code was correct (well, at least in respect of closing tables) so you should compare their original code with what you are using now to determine where the errors lie.
vikAlex217
05-05-06, 12:06 AM
thank you-- the strange thing is, when i use miva's original code, my tables are not aligned properly. this is the only way i could get all my images and tables to align. so in place of <mvt:item name="category_tree" /> i need to basically create my own table in html? and if so, i still don't really understand how i go about editing the code for the images in order to get rid of the underscores..
vikAlex217
05-05-06, 12:10 AM
wrong post
Pete McNamara
05-05-06, 12:12 AM
Not closing tables isn't the way to get your tables to display correctly.
Also, if you close all of the tables correctly, then your underscore problem may disappear.
Before making any other changes, I would get your underlying source code correct first (i.e. close all the tables correctly).
Validate your code here: http://validator.w3.org/
vBulletin® v3.7.4, Copyright ©2000-2008, Jelsoft Enterprises Ltd.