Portal Engine Questions on portal engine and web parts.
Version 5.x > Portal Engine > Smart Search, show hide tabs and pathing View modes: 
User avatar
Member
Member
tom-liftcommunications - 1/29/2011 10:22:21 PM
   
Smart Search, show hide tabs and pathing
Hi There,

I was wondering if there was a way to make Smart Search spider the content of the website. I have a product page that has a tab structure as a menu system. I've set up each tab so that that it appends #tab1 #tab2 etc to the end of the url string. My requirement from our client is that the tab content is created from the same entry form as the product page itself and should not cause a page reload so making the tab content individual items in the left tree directory is not an option for me. Anyway, long story short is that it works like a charm with the exception that technically they all live on the same page. When smart search indexes it finds the content on each tab but obviously ignores the appended variables that are added within the page template. It always returns the first tab which is the default for the page.

Any help would be greatly appreciated. Is this possible if I switch to the tabs web part if not?

Again appreciate any guidance.




User avatar
Member
Member
tom-liftcommunications - 1/31/2011 12:29:32 AM
   
RE:Smart Search, show hide tabs and pathing
Ok. So I've come to terms with the fact that I have to use the tab menu web part and have it read actual pages as the content type. I am now having issues with the web part recognizing the TabControlLink class (or any other class for that matter.)

I've reviewed this http://devnet.kentico.com/docs/5_5beta/controls/index.html?cmstabcontrol.htm and have made the necessary changes within my css file but it seems to ignore any change I make to that class. It's reading the default settings for weblinks everytime. Ironically, it is actually letting me change the background image but nothing else.

Again any help would be greatly appreciated.

User avatar
Kentico Consulting
Kentico Consulting
kentico_borisp - 2/2/2011 2:21:29 AM
   
RE:Smart Search, show hide tabs and pathing
Hello,

If you want to generate your own links to the tabs including the anchor, then you will need to create a custom transformation method which would render the links according to your needs. Currently is the method "<%# SearchResultUrl(true) %>" responsible for generating the smart search results in the transformation CMS.Root.SmartSearchResults.

The css issue seems to be caused by some conflicts in your stylesheets. Could you please try to check what styles are applied from which files with firebug for firefox or web developer tools for internet explorer?

Best regards,
Boris Pocatko