function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
NookNook 

Problems with Ideas Base theme search

I've recently been given access to the ideas base theme and I have everything up and runiing despite the fact that we never received any documentation on how to do so.  I'm experienceing one problem that I'm unclear as to how to resolve and thought that I would ask here before doing anything to the underlying code.

 

I'm having a problem with the search functionality.  I believe every other link on the site references:

 

https://oursite.force.com/ideas/thePage

 

My problem is that the search references:

 

https://oursite.force.com/apex/thePage

 

This obviously errors out whereas if I let it error out an manually change the URL in the browser from /apex/ to /ideas/ and hit that page it works great.

 

I see in lines 1 and 2 of the ideaController:

 

public abstract class IdeaController {
    private static final String PAGE_PREFIX = '/apex';

Hesitant to change that as it may cause problems somewhere else.

 

I'm thinking maybe I imissed something not having the docs... Any ideas? 

 

THanks!

EIE50EIE50

Hi,

 

The second line in the idea controller is the culprit. Modify it and your search would work.

 

http://community.salesforce.com/sforce/board/message?board.id=sites&message.id=2309#M2309

 

Thanks.