Category breadcrumbs use link instead of querystring paramater

Shmar Hill asked on February 27, 2014 03:50

Hi,

I am using "Web part properties (Category breadcrumbs)".

Currently breadcrumb links show like this: /category.aspx?categoryname=Mugabo-Asisi

I would like ti to show like this: /category/Mugabo-Asisi

How is this p[possible without creating a custom web aprt?

Thanks :)

Recent Answers


Juraj Ondrus answered on February 27, 2014 07:07

Hi,

There is no setting for this - so, at least a customization of existing web part (or cloning it and modifying it) is required: \CMSWebParts\TaggingCategories\CategoryBreadcrumbs.ascx.cs and there is a method that is composing the links with query strings: CreateCategoryPartLink.

Then you may also need to use wildcard URLs on given page to read this "hidden" query string.

Best regards,
Juraj Ondrus

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.