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
IC-TannerIC-Tanner 

incorrect link in 'Ideas' base theme

Hi, I have installed the 'ideas' base theme and everything is working correctly via Force Sites except for that the 'search community' form is calling the visualforce link instead of the sites link. For example, when I click on the magnifying glass image next to the input box, it calls '/apex/ideaSearchResults?s=' instead of the correct '/ideaSearchResults?s='. This appears to be related to the 'ideaSecondary' VF component and the 'IdeaController' class. This class has the following variable: private static final String PAGE_PREFIX = '/apex'.

 

Thanks,

 

Tanner

 

 

Best Answer chosen by Admin (Salesforce Developers) 
EIE50EIE50

I got it by modifying the ideacontroller -- private static final String PAGE_PREFIX = '/xxxxx/apex';

 

On your site detail page,  

 

where xxxxxx -->

 

Default Web address : http://abcdefghijkl.force.com/ 

 

Thanks.

All Answers

EIE50EIE50

Even i have the same issue, let me know if you find a solution.

 

Thanks

EIE50EIE50

Hi there,

 

Were you able to find a solution to the invalid search page redirection problem? Let me know if you found the soultion as i am still having the same issue.

 

Thanks

EIE50EIE50

I got it by modifying the ideacontroller -- private static final String PAGE_PREFIX = '/xxxxx/apex';

 

On your site detail page,  

 

where xxxxxx -->

 

Default Web address : http://abcdefghijkl.force.com/ 

 

Thanks.

This was selected as the best answer