Site maintenance: Tuesday 17 Nov, from 10:00 UTC, about 4–6 hours. Details

This cutover relies on some testing that is still incomplete so may be cancelled at short notice

Forums / Setting Up Categories, Products, Attributes / category image show on sitemap

category image show on sitemap

Started by jerry5763837 on 9 Jun 2012, 1:20 PM · Views: 541

Results 1 to 3 of 3
9 Jun 2012, 1:20 PM
#1
jerry5763837 avatar

jerry5763837

Zen Follower

Join Date:
May 2008
Posts:
261
Plugin Contributions:
0

category image show on sitemap

dear all,
may I ask if anyone knows how to show category on sitemaps?
thanks for all your helps and tips.:P

9 Jun 2012, 2:17 PM
#3
jerry5763837 avatar

jerry5763837

Zen Follower

Join Date:
May 2008
Posts:
261
Plugin Contributions:
0

Re: category image show on sitemap

Hi, Mark,

appreciated for your quick reply.

but sorry for my confusion. i meant how to show category image on /index.php?main_page=site_map
i want to just have a page with all cateoty name&images listed.

what is the query code for the category images? may you please check the following code
to see how to correct? thank you.

        $result .= str_repeat($this->spacer_string, $this->spacer_multiplier * $level) . '<h2><a class="orange" href="' . zen_href_link(FILENAME_DEFAULT, 'cPath=' . $category_link) . '" title="' . $category['name'] . '" target="_blank">'. $category['name']. '</a></h2>';
        // end modification
        $result .= str_repeat($this->spacer_string, $this->spacer_multiplier * $level) . '<h2><a class="orange" href="' . zen_href_link(FILENAME_DEFAULT, 'cPath=' . $category_link) . '" title="' . $category['name'] . '" target="_blank">'. $category['image'] . '</a></h2>';