View Single Post
  #15  
Old 12-02-2006, 12:55 PM
 
andreas04031 andreas04031 is offline
 

Advanced Member
  
Join Date: Jun 2004
Location: Dallas, TX
Posts: 64
 

Default Re: List all products (only) - PHP Sitemap?

I took the liberty and added something to it to make the links to the items a bit stick out if description is also shown. I'm not sure if the css is perfect but it does what it it supposed to do, maybe some css guru can clean that up

add at the end to skin1/skin1.css

/*sitemap*/

.sitemapList {
COLOR: #330000;
FONT-WEIGHT: bold;
}
.sitemapListDisabled {
COLOR: #909090;
}
A.sitemapList:link {
COLOR: #FF8600;
FONT-WEIGHT: bold;
TEXT-DECORATION: none;
}
A.sitemapList:visited {
COLOR: #330000;
FONT-WEIGHT: bold;
TEXT-DECORATION: none;
}
A.sitemapList:hover {
COLOR: #FF6347;
FONT-WEIGHT: bold;
TEXT-DECORATION: none;
}
A.sitemapList:active {
COLOR: #330000;
FONT-WEIGHT: bold;
TEXT-DECORATION: none;
}

/*sitemap*/

--------------------

add to line 18 in /skin1/customer/sitemap.tpl
class="sitemapList"

it should look like this:
<a href="product.php?productid={$products[$s].productid}" title="{$products[$s].product}" class="sitemapList">{$products[$s].product}</a><br>

----------------------
add link to sitemap in /skin1/help.tpl

<a href="http://{$config.Company.company_website}/shopping-cart/sitemap.php" class="VertMenuItems">{$lng.lbl_sitemap}</a><br />

maybe helpful for someone
__________________
X-Cart version 3.5.9 (online)
X-Cart Version 4.0.19 (online)
X-Cart Version 4.1.3 (in dev)
PHP 4.4.4
MySQL 4.1.21
Reply With Quote