Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Links look funky... take a peek, please.

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 03-20-2008, 09:35 PM
  ScrapProfessor's Avatar 
ScrapProfessor ScrapProfessor is offline
 

Advanced Member
  
Join Date: Mar 2008
Posts: 90
 

Default Links look funky... take a peek, please.

Hi all!

I'm having a weird thing happen to the links in the 'location' navigational system. If you look at the following page on my website, and put your mouse over the 'location' area you'll see what the links do. It's weird. I don't know why it's doing it but I don't like it. Can anyone tell me how to fix it?

http://www.scrapprofessor.com/store/product.php?productid=1001&cat=0&page=1

When I run in 'webmaster mode' I can see that the template for this is the location.tpl.

Here is the code that's in my "location.tpl" file. Is something wrong with it? I've restored to the original version and the problem is still there.

Code:
{* $Id: location.tpl,v 1.14.2.2 2007/06/18 11:42:03 max Exp $ *} {if $location} <font class="NavigationPath"> {strip} {section name=position loop=$location} {if $location[position].1 ne "" }<a href="{$location[position].1|amp}" class="NavigationPath">{/if} {$location[position].0} {if $location[position].1 ne "" }</a>{/if} {if not %position.last%}&nbsp;::&nbsp;{/if} {/section} {/strip} </font> <br /><br /> {/if}
__________________
Joli Kirk,
"Life is not measured by the number of breaths we take, but by the number of moments that take our breath away"

X-Cart PRO 4.3.1 | Linux | PHP 5 | MySQL 5


AlteredCart.com - Download Expander; Product Page Downloads
BCSEngineering.com - On Sale Products; Newest Added Products
Reply With Quote
  #2  
Old 03-21-2008, 12:45 AM
  Yurij's Avatar 
Yurij Yurij is offline
Banned
 

X-Adept
  
Join Date: Jan 2008
Posts: 486
 

Default Re: Links look funky... take a peek, please.

Quote:
Originally Posted by ScrapProfessor
Hi all!

I'm having a weird thing happen to the links in the 'location' navigational system. If you look at the following page on my website, and put your mouse over the 'location' area you'll see what the links do. It's weird. I don't know why it's doing it but I don't like it. Can anyone tell me how to fix it?

http://www.scrapprofessor.com/store/product.php?productid=1001&cat=0&page=1

When I run in 'webmaster mode' I can see that the template for this is the location.tpl.


First, I do not know how you get on, but it's not good (multiple tags <HTML>, <BODY> ...):
PHP Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<
html>
<
head>
<
title>
............
<
html>
<
head>
    <
title></title>
<
meta content="Microsoft FrontPage 4.0" name="GENERATOR">
</
head>
<
body>
<
table cellspacing="0" cellpadding="0" width="100%">
.................
        </
tbody>
    </
table>
</
body>
</
html>
............. 
I think that you are not properly set the description of the categories / products.

Fix it And all work.

PS. Problem in a left banner block delete the following lines and everything will be all right:
PHP Code:
<html>
<
head>
 <
title></title>
<
meta content="Microsoft FrontPage 4.0" name="GENERATOR">
</
head>
<
body>

.....and.....

</
body>
</
html
Reply With Quote
  #3  
Old 03-21-2008, 08:56 AM
  ScrapProfessor's Avatar 
ScrapProfessor ScrapProfessor is offline
 

Advanced Member
  
Join Date: Mar 2008
Posts: 90
 

Question Re: Links look funky... take a peek, please.

Quote:
Originally Posted by Yurij

I think that you are not properly set the description of the categories / products.

Fix it And all work.

Yurij, thanks for your reply, as usual!

What do you mean by "Not properly set teh descriptoin of the categories/products"? How do I fix it?

I removed the additional tags like you instructed. (Told you I was tired in another post! LOL)

Again, thank you for your help!
__________________
Joli Kirk,
"Life is not measured by the number of breaths we take, but by the number of moments that take our breath away"

X-Cart PRO 4.3.1 | Linux | PHP 5 | MySQL 5


AlteredCart.com - Download Expander; Product Page Downloads
BCSEngineering.com - On Sale Products; Newest Added Products
Reply With Quote
  #4  
Old 03-22-2008, 12:56 PM
  ScrapProfessor's Avatar 
ScrapProfessor ScrapProfessor is offline
 

Advanced Member
  
Join Date: Mar 2008
Posts: 90
 

Question Re: Links look funky... take a peek, please.

Yurij,

Can you please tell me what you meant by "I think that you are not properly set the description of the categories / products. Fix it And all work."

Thank you for your time!
__________________
Joli Kirk,
"Life is not measured by the number of breaths we take, but by the number of moments that take our breath away"

X-Cart PRO 4.3.1 | Linux | PHP 5 | MySQL 5


AlteredCart.com - Download Expander; Product Page Downloads
BCSEngineering.com - On Sale Products; Newest Added Products
Reply With Quote
  #5  
Old 03-22-2008, 01:22 PM
  kube's Avatar 
kube kube is offline
 

X-Adept
  
Join Date: Sep 2005
Location: London: a small place East of Wales
Posts: 529
 

Default Re: Links look funky... take a peek, please.

If you're referring to your breadcrumb's location line...

Just comment out the lines...
<font class="NavigationPath">

and also it's closing tag too...
</font>

the CSS is referring to your NavigationPath class twice, both from within the <FONT> and inside the <A> tags... causing a conflict (it's actually working as requested).

Best to rid FONT tags as they're deprecated.

Hope this helps.
Doms
__________________
Doms
kube v4.1.9
Reply With Quote
  #6  
Old 03-22-2008, 01:34 PM
  ScrapProfessor's Avatar 
ScrapProfessor ScrapProfessor is offline
 

Advanced Member
  
Join Date: Mar 2008
Posts: 90
 

Smile Re: Links look funky... take a peek, please.

Quote:
Originally Posted by kube
If you're referring to your breadcrumb's location line...

Just comment out the lines...
<font class="NavigationPath">

and also it's closing tag too...
</font>

the CSS is referring to your NavigationPath class twice, both from within the <FONT> and inside the <A> tags... causing a conflict (it's actually working as requested).

Best to rid FONT tags as they're deprecated.

Hope this helps.
Doms

THANK YOU! That did the trick! I'm going to work on the FONT tags now because I think you're right about them.

I REALLY appreciate your time!!!
__________________
Joli Kirk,
"Life is not measured by the number of breaths we take, but by the number of moments that take our breath away"

X-Cart PRO 4.3.1 | Linux | PHP 5 | MySQL 5


AlteredCart.com - Download Expander; Product Page Downloads
BCSEngineering.com - On Sale Products; Newest Added Products
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 01:57 PM.

   

 
X-Cart forums © 2001-2020